How I split up my workstation's disk space
There's a lot of different ways to partition disks and split out filesystems. Mine isn't necessarily the best one, it's just what I use, partly because I am cautious and conservative.
My workstation has two disks, partitioned identically and generally mirrored. I split the filesystems up like so:
/bootis a separate and non-mirrored filesystem. I have a
/boot2on the second disk which I synchronize by hand every so often (usually not, to be honest, which is a bad habit).
- there are two swap partitions, one on each disk. I don't bother
mirroring swap; it's too much work for what I get out of it.
/varare each in separate mirrored partitions. (I still make them separate filesystems, which may be pointless these days.)
- all the rest of the disk space is in a single mirrored partition, which is used for a single LVM logical volume.
- all other filesystems are in that logical volume (and are thus sitting on LVM over RAID-1, which seems to perform well enough).
If I was doing this today, I would have two mirrored partitions for
/var, with the goal of using the second set to
make operating system upgrades less alarming by always having a fully
bootable and functional version of the old system sitting around. I
figure that on modern disks, 40 to 50 GB is a cheap price to pay for
such an insurance policy and well worth it.
(Of course, I don't know if this works in practice or if it would horribly confuse Fedora's install/upgrade stuff, although since there is a disk upgrade and a Fedora upgrade in my near future, I'm probably going to get to find out. And in credit where credit is due department, this was inspired by what little I know of Sun's 'live upgrade' stuff.)
My only current observation on filesystem sizes is that
to be much bigger than I thought it would be. My next
/var will be
at least 10 GB and may go all the way to 20 GB. (Disk space is cheap
and running out is painful, which is one drawback to not having system
filesystems in LVM.)