Quote:
Originally Posted by siawash
I have three partitions....
Linux seems to have a hierarchical file system. So if root becomes corrupt and linux needs reinstalling /home partition is doomed. Or at least that's my very limited understanding.
|
I sympathize, because I remember when I first got into unix, that was an issue that took a little while to get my head around.
The root file system indeed provides the hierarchical directory structure within which everything is accessed. However, in the root partition, /home is just a directory which serves as a mount point. Your partition for /home is a real partition, and it gets mounted on that mount point. This actually makes the directory structure in unix/linux easier to navigate, because you can have very complex collections of partitions, and, once mounted, they can be easily naviagated beginning at root.
One of my Sun servers has something like 30 drives broken out into maybe 120 partitions, and that's probably not large in terms of enterprise systems. The drives are all configured with the format command, and the mounting of the partitions into the directory structure is all defined in /etc/vfstab. Linux systems may be slightly different but will be conceptually the same -- check `man mount` and follow from there.
Backup -- one word (from jailbait) intended to point you at a fork in the road. There is a huge amount of material on this, but you could start by browsing through
http://www.linuxquestions.org/bookmarks/tags/backup