APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

© April 2004 Tony Lawrence

Missing data files

More Articles

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.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> Missing data files

Inexpensive and informative Apple related e-books:

Are Your Bits Flipped?

Take Control of the Mac Command Line with Terminal, Second Edition

Take Control of High Sierra

Take Control of IOS 11

El Capitan: A Take Control Crash Course

More Articles by © Tony Lawrence

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!



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!


Bagels are good for your thought processes, at least according to my wife. <Grin> I personally find Oreo cookies to be more effective.


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 ?


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!


Printer Friendly Version

Have you tried Searching this site?

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.

Contact us

Printer Friendly Version

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)

Linux posts

Troubleshooting posts

This post tagged:


Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode

SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)