Re: Partitioning
On Mon, 2003-12-01 at 04:41, Marco Cecconi wrote:
> Hello, I've been having this question on my mind for a bit now: what is
> the best practice to partition a hard drive under Unix, and in
> particular under Linux? At work I try to separate different
> functionalities as much as possible (eg. /boot, /, /var, /home all on
> different partitions). This makes sense since the machines are servers.
> What is your experience regarding workstations? Is there any advantage
> or disadvantage in using a simpler partitioning (eg. only /boot and /)?
The whole subject is less critical now, but here's how I do it:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 7874560 150520 7324024 3% /
/dev/hda2 46668 2871 41388 7% /boot
/dev/hda5 7874528 1770332 5704180 24% /usr
/dev/hda6 7874528 708628 6765884 10% /var
/dev/hda7 7874528 668568 6805944 9% /home
/dev/hda8 86573816 862620 81313404 2% /data
I could (and probably should) have combined / and /usr, but this
way, /tmp has almost 8GB to play with.
The *most*critical* things, IMO, though, is to put /home and /data
on their own partitions, so that if you do have to reinstall, you
won't wipe out your data.
You know, I wonder if it wouldn't be useful to put /etc in it's own
partition, too? With Gnome 2.4 & CUPS, my /etc is 25MB, so a 50MB
partition, like I did for /boot, would be all you'd need, I think.
--
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA
Great Inventors of our time:
Al Gore -> Internet
Sun Microsystems -> Clusters
Reply to: