> Regarding partitions, I have the following on my main workstation:
>
> /dev/hdb2 swap swap defaults 0 0
> /dev/hda1 / ext2 defaults 1 1
> /dev/hdb1 /usr ext2 defaults 1 2
> /dev/hda2 /opt ext2 defaults 1 2
> /dev/hdc2 /tmp ext2 defaults 1 2
> /dev/hda3 /DOS vfat user,rw,uid=1000,gid=100
> /dev/hda4 /home/data reiserfs user,noauto,rw,exec
> /dev/hdc1 /home/shared vfat user,rw,uid=1000,gid=100
> beast:/usr/local /usr/local nfs defaults 0 0
>
> ...plus /proc, /dev/pts, /floppy, /cdrom, et al.
>
> A quick run-down of the above;
> ...a shared /usr/local for my whole network
> ...Linux/Win95 shared document space on /home/shared
> ...a "suck-it-and-see" reiserfs partition on /home/data which is not
> automounted due to reiserfs support being compiled as a module :-(
> .../usr, /tmp, /opt, all on different partitions from / and they are
> also on different physical drives so they can be fsck'd in parallel (hence
the
> 2's at the end of each line). Saves some time after a crash!
>
> Pro's and Con's, anybody?
One possible con I've spotted is that having / and /usr on different disks
makes you more vulnerable to disk failure. On some UNIX systems /lib stuff
is really in /usr/lib, and /usr contents are generally pretty useful, so it
may make recovery harder. Linux distros are generally less vulnerable than
this, and you can use recovery / rescue systems. There's not much to be
gained from seperating / from /usr, performance wise. This kind of
reasoning means for servers, putting /var & /tmp on a different disk, was
more favoured than splitting / & /usr across 2 disks. /var and /tmp are
very easy to recover from backup, and a side benefit is with /tmp & /var
seperate, filling up / causes no serious problems to a running system.
For a home or work station system, the benefits of partitioning are often
out weighed by the simplicity and convenience of a small number of large
partitions.
Rob
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
This archive was generated by hypermail 2.1.3 : Thu 22 Nov 2001 - 13:10:45 GMT