This is the answer to Missing data files
I told him to umount /med. His "missing files" would appear. We'd need to do a little more to fix this up permanently, but the files were there.
Here's what happened. He created the /med filesystem, but did not have it mounted while restoring. That's why he ran out of space on the first restore. I don't know how he did that (the CTAR recovery menus should have mounted the /med filesystem), but it doesn't matter.
When he used the second hard drive, he increased the size of the root filesystem, so now everything was able to fit, but he still didn't have /med mounted. So his /med files just ended up on the root filesystem, which was fine, but when he rebooted, the empty /med filesystem was just mounted on top of the /med directory and it made his files "disappear".
Fixing this is simple - you can either leave it as is and just not mount /med, or mount it temporarily somewhere else and copy the data files to it.
Got something to add? Send me email.
More Articles by Tony Lawrence © 2011-04-30 Tony Lawrence
Anyone who puts a small gloss on a fundamental technology, calls it proprietary, and then tries to keep others from building on it, is a thief. (Tim O'Reilly)