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.
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Sounds as tho during the original restoration, a /med directory in the root filesystem was created, into which the files were written, not into a mounted /med, which is where they belonged. That could also explain why he seemingly ran out of space in the first restoration attempt -- he overflowed the root filesystem.
Next, when the system went multiuser and the /med filesystem was mounted, it obscured the /med subdir in the root filesystem, making it appear as though the files in /med were gone.
Tony, I didn't peek for the answer. Honest!
--BigDumbDinosaur
:-)
Well, anyone else who doesn't want to peek can see if they agree with you..
Actually, I was in such a rush to get to lunch I didn't realize what it had to be till later, while munching a bagel. So I sent him email later. Hope he got it!
--TonyLawrence
Bagels are good for your thought processes, at least according to my wife.
--BigDumbDinosaur
No, your wife is right. Not from any nutritional benefits, it's just that looking through the hole gives you a unique perspective. You cannot look through an Oreo, even if you separate it (as you should - eating without separating at least one is an abomination).
BTW, isn't the plural Oreae ?
--TonyLawrence
Oh, and I was late, and even more so because when I got out to the car, it was almost out of gas, so I had to stop to fill up. My sister was wondering if I was dead because I'm one of those folks who is ALWAYS early for everything no matter what.
And no one reading this should assume they are going to get free help in general.. whenever I get "caught" like this, I'm grumpy and nasty about it for weeks after. There are ways you can get inexpensive assistance; see my web page but please DO NOT CALL me - especially on a Sunday! You might end up getting free help anyway, but that has to be my choice, not yours.
I'm much more happy with people that arrange for help ahead of time and less inclined to deal with your problem that just came up now.. I know that all sounds so nasty and unfriendly, but sheesh - I have to pay my bills too!
--TonyLawrence
--TonyLawrence
Sounds as tho during the original restoration, a /med directory in the root filesystem was created, into which the files were written, not into a mounted /med, which is where they belonged. That could also explain why he seemingly ran out of space in the first restoration attempt -- he overflowed the root filesystem.
Next, when the system went multiuser and the /med filesystem was mounted, it obscured the /med subdir in the root filesystem, making it appear as though the files in /med were gone.
Tony, I didn't peek for the answer. Honest!
--BigDumbDinosaur
:-)
Well, anyone else who doesn't want to peek can see if they agree with you..
Actually, I was in such a rush to get to lunch I didn't realize what it had to be till later, while munching a bagel. So I sent him email later. Hope he got it!
--TonyLawrence
Bagels are good for your thought processes, at least according to my wife.
--BigDumbDinosaur
No, your wife is right. Not from any nutritional benefits, it's just that looking through the hole gives you a unique perspective. You cannot look through an Oreo, even if you separate it (as you should - eating without separating at least one is an abomination).
BTW, isn't the plural Oreae ?
--TonyLawrence
Oh, and I was late, and even more so because when I got out to the car, it was almost out of gas, so I had to stop to fill up. My sister was wondering if I was dead because I'm one of those folks who is ALWAYS early for everything no matter what.
And no one reading this should assume they are going to get free help in general.. whenever I get "caught" like this, I'm grumpy and nasty about it for weeks after. There are ways you can get inexpensive assistance; see my web page but please DO NOT CALL me if you are not already a client - especially on a Sunday! You might end up getting free help anyway, but that has to be my choice, not yours.
I'm much more happy with people that arrange for help ahead of time and less inclined to deal with your problem that just came up now.. I know that all sounds so nasty and unfriendly, but sheesh - I have to pay my bills too!
If you want to BECOME a client, of course call or email anytime - or check the Consultants page here and find someone less grumpy!
--TonyLawrence
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar