home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Current thoughts on filesystem partitioning?

  • Subject: Re: [OCLUG-Tech] Current thoughts on filesystem partitioning?
  • From: Bart Trojanowski <bart [ at ] jukie [ dot ] net>
  • Date: Sun, 7 Aug 2005 01:10:03 -0400
* Brett Delmage <Brett [ dot ] Delmage [ at ] twobikes [ dot ] ottawa [ dot ] on [ dot ] ca> [050806 21:01]:
> What is the "best practice" for filesystem partitioning these days?

Brett,

sounds like you missed the LVM talk on Tuesday.  The slides are here:

http://www.techwiz.ca/~peters/presentations/lvm/

The advantage of LVM is that you can change your mind later and change
partition sizes w/o loss of data (easier for some filesystems, see
slides).

In general, I would say... 

 /      for all your OS, so ~5G
 /home  for user data, depends, 5-10G
 /var   for server data and logs, 5-10G
 /tmp   mount a tmpfs drive
 swap   as much as you need for swap + /tmp

... put /home and /var on LVM so you can change your mind later about
the size.

/tmp on tmpfs is a cool hack that a friend told me to try.  I have not
actually tested it yet, so I don't have first hand experience.  Anyway,
/tmp will eat up RAM as long as it's used actively.  Once files are
stale it will get swaped out.  This of course means that files don't
persist over reboots.

You mentioned software RAID... don't use RAID5.  Spend the $50 to get
another 40G drive and do RAID1 (mirror).

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/

Attachment: signature.asc
Description: Digital signature