Disk partitioning...

Giorgos Keramidas keramida at ceid.upatras.gr
Tue May 16 14:58:33 EEST 2000


> Kserw pws to 8ema trabaei pollh syzhthsh,
>  alla me apasxolei edw kai poly kairo...

Trabaei ontws polu koubenta.  Genika omws uparxei
mia logiki, oxi tuflosourths eutuxos.. etsi mporeis panta
na paikseis me ta akribh mege8n twv partitions.

Gia paradeigma, eite se linux, eite se BSD, den exo
xreiastei pote pano apo 100 Mb sto / partition, kai sinithos
to kano mount readonly, etsi giati eimai mazoxa kai mou
aresei na apotugxanei to vi(1) otan den exo kanei to TMP
sto periballon na deixnei sto /usr/tmp :-)

Ta proteinomena partitions einai sinithos:

        /              - 100 Mb
        /var         - des parakato
        /home    - des parakato
        /usr         - oti perisepsei sinithos

An einai mail server to mhxanima, opote tha theleis arketo
xwro stin oura tou mail server pou einai kato apo to /var tote
kalo einai na baleis arketo xoro sto /var.

An exeis BSD kai theleis na kratas kai crash dumps tou
kernel sto /var tote:

        a) prepei na exeis swap toulaxiston 2 fores oso einai
            n physical mvnmn tou sustnmatos, oste ana pasa
            stigmi sto swap na xorane kai mia fora swapped out
            oli sou i physical mvnmn kai to crash dump tns.

         b) prepei to /var sou na xoraei kana-duo crash dumps,
              etsi gia tin fash tou pragmatos.

remember, sto /var kratiountai kai ta logs.

gia medium mail servers, xoris crash dumps kai alles tetoies
xlides, ftanei sinithos to ejofreniko poso twn 300 Mb (ektos ki
an oi xrhstes tou mail server mathoun word kai arxisoun na tou
xonoun multi-megabyte attachments sta autia).

tora to /home ... analoga.
an exeis pollous xrhstes, min eisai mizeros kai feidwlos.. panta
xrhsimos einai ligo extra xoros.  se home setup tora, opws sto
box tou spitiou mou, ego toulaxiston eimai kateuxaristhmenos me
to 1 Gb pou tou exo dosei.  twra esu, logw mikrou diskou (1.2 Gb)
isos protimhseis tin lusi "den ftiaxno /home apla ta bazo ola
sto /usr/home kai kano to /usr oti perissepsei."

> As shmeiw8ei pws exw 32 MB physical RAM kai de xrhsimopoiw
> X Windows, ara de xreiazomai kai poly swap. Kai ta 20 MB poy
> afierwnw einai gia na mhn kseftylisw to 8ema =).

no, min skeftesai etsi.
analoga me to pos ulopoieitai to virtual memory tou leitourgikou,
se merika leitourgika panta einai xrhsimo to swap space.
Se auta, perilambanetai kai to linux kai to bsd (kala, isos gia to linux
na exei allaksei kati apo tote pou to eixa psaksei).
An to leitourgiko petaei diergasies sto swap, mono kai mono epeidi
einai idle polu ora kai tsampa pianoun physical memory, tote
tha sou glitosei ligo mvnmn to na uparxei swap :-)

> Akomh, to /usr den epi8ymw na einai read-only mounted.

den tha eprepe.  den empisteuesai ton monadiko user tou
susthmatos sou (esena)?
sobara twra, pera apo to na duskoleuteis kathe fora pou thes
na kaneis opoiadnpote allagi sto /usr, den blepo kapoio logo na
ginei kati tetoio.  skepsou to ejhs:

      % man ls
      man: could not open file for writing: /usr/share/man/cat1/ls.1

Ciao,
Giorgos.

--
My death waits to allow my friends
A few good times before it ends
So let's drink to that and the passing time. [David Bowie]


--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list