[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disk partitioning - recommended sizes



On Thu, 9 Jan 1997, Matt Kracht wrote:

> You might want something like the following:
> 
>   50MB /
>  100MB /var
>  250MB /var/spool
>  250MB /tmp
>  500MB /usr
>  750MB /usr/local
>  100MB swap

My $0.02: you're not going to win any _performance_ wars by making more
partitions, particularly if you don't have many separate drives to put
them on.  A few things should factor into your decisions:

/ should be small, for best reliability.  (YMMV, mine is 
/dev/hda1              19485   10257     8222     56%   /)
You'll only get this small if /usr, /var, and /home are anywhere else
(even if they're all in one partition).

Your apps (/usr) may want to write to their logfiles (/var) while they
read your files (/home).  If they're in different partitions (particularly
if you also split /usr/local and /var/spool), your poor disk arm is going
to earn its keep.  

My suggestion?  

20M 		/
500M		/usr
100M		/var
(the rest)	/local (or whatever)

Make the following symlinks:

/tmp 	->	/local/tmp (unless you might share this drive via NFS)
/home	->	/local/home
/usr/local ->	/local/usr
/var/spool ->	/local/spool (again, if using NFS, you should break this
	down - talk to me individually)

Here's my server:

% df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda1              19485   10257     8222     56%   /
/dev/hda2             223494  146905    65048     69%   /usr
/dev/hdc3             198123   12324   175568      7%   /var
/dev/hdc4             288354    3809   269652      1%   /tmp
/dev/hda3             560060    8107   523024      2%   /nfs
/dev/hdb1            2990073 1559445  1276003     55%   /server
%

I'm still learning myself.  I rarely see /tmp in use at all.  /nfs for me
is /local as listed above, and /server is my 3.1G for my debian mirror and
a few other services that I provide.

  --Pete
_______________________________________________________________
Peter J. Templin, Jr.                   Client Services Analyst
Computer & Communication Services       tel: (717) 524-1590
Bucknell University			templin@bucknell.edu


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: