G'day Bob/others, Not sure where the brain was as /home would be mounted under /root.
Let's test that when I started /home was under /root, I just mounted /home on md0, when I rebooted it was empty! Why? ... because there was no /home on md0 in the first place so mount must have created a new /home therefore it's empty, yes? If there was a /home with data on md0 then mount would not have had to create it, yes? hmmm. OK, let's try it, df, /home is mounted on /dev/md0. Check contents of /home then umount /home, check /home directory, empty as expected. Reboot ..., hmmm, /home is NOT! empty, why? .. df, home is mounted on /dev/md0. So fstab is remounting /home, so should hda disc fail, & I put an image of it back and reboot there's nothing to do, right? What if the disk is not the same size/shape/colour would that change things? Well I answered my own questions hopefully, lol, just the last one, any ideas? tia Lindsay | Lindsay | | What confused me was that you said: | | > My question is: If hda fails and I replace it, reinstall | debian then umount | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | > /home from / then mount /home on md0 the system will be | restored and I'll | > have access to my old /home directory, right/wrong? | | After you reinstalled debian you would not have anything to unmount. | You will have a clean installation. At that time you can mount your | new volume on top of the empty /home directory and you should be | fine. | | Me thinking now that perhaps you were going to create a disk partition | during the debian install for /home and put some disk space there, | then unmount that later. That is the only way I could see to have | disk space to unmount later. But then that space would be wasted. No | need to do that. | | > I have an aversion (from experience) to locating OS's and data | on the same | > drive. | | Sure, it is fine to have OS and data on separate disks. A common | configuration. | | But because of that choice I see that you come from a background where | when you need to reinstall the os it means scrape the disk clean and | start fresh. Therefore put your data on a separate disk. HP-UX, | Redhat, others are certainly that way. There is no way to upgrade. | You must scrape clean and install the new version fresh. But with | Debian I have never needed to do that. I have always been able to | keep the system up to date with a continous update forward. It is one | of the reasons I like using debian. | | In any case, hope the discussion helps. | | Bob | --- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]