partition size

George Daflidis-Kotsis gdk at demon.net
Mon Sep 24 15:02:01 EEST 2001


On Sun, Sep 23, 2001 at 06:03:35PM +0300, Alexandros Papadopoulos wrote:

> Apo kapou eixa kseshkwsei thn idea na exw partition gia to /var allo apo to 
> root partition, epeidh an tiggarei to systhma sta logs klp mporei na ftasei 
> se standstill olo to mhxanhma logw elleipshs diskou.
> 
> Eixa kanei loipon mia egkatastash se ena home pc me to /var se ena diko tou 
> partition twn 100MB kai ola ta alla se ena monolithic root partition twn 2GB. 
> Twra ksafnika xreiazomai perissotero xwro sto /var, pou exei ftasei sto 98% 
> capacity.
> 
> Yparxoun rules of thumb gia to poio pososto tou filesystem prepei na 
> katalambanei to ka8e top level directory? Nomiza oti 100MB 8a htan yperarketa 
> gia to /var enos home pc, alla astoxhsa oiktrws...
> 
> Shmeiwsh, to mhxanhma trexei named, squid, Apache.

8a kaneis ena du -sk /var/* | sort -n. Auto 8a sou bgalei me th seira
poia directories pianoun to ligotero ews ton perissotero xwro, 3ekinontas
apo panw me ton ligotero.

Gi' auta pou sou pianoun ton perissotero, ftia3e ta antistoixa partitions
sto / kai ftia3e symlinks sto /var pou na deixnoun se auta.

P.x.

Estw oti to /var/squid sou pianei ton perissotero xwro. Afou skotwseis to
squid kaneis:

mv /var/squid /squid && ln -s /squid /var/squid

3ana3ekina to squid.

Filika.

-- 
[george daflidis-kotsis - systems admin,web/e-commerce - gdk at demon.net]
["I grow old always learning" - "I know one thing that I know nothing"]



More information about the Linux-greek-users mailing list