Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a 10.10 server running samba. I shut down the server to install a hard drive for backups. After I rebooted, I remounted the drives and restarted the shares. Now about 10 very important files are missing. The rest of the share works perfectly fine. Any ideas or help would be a life saver.

share|improve this question
After a bit of digging i found two of the files but the are hidden and have .~lock before the file name? What does this mean? – nick brochu Apr 20 '11 at 16:06
up vote 0 down vote accepted

How are you looking for the missing files? Are you using graphical windows like Windows explorer, or are you at the ubuntu command line? You should be at the command line if you want a good search. A couple of options are the find command, and the locate command.

Something like this:

cd /
find . -name '*myfilename*' -print

Will search / and everything under it. Or cd into the folder where the files should be first.

locate myfilename

Is worth a shot, too. But, you may need to do an updatedb first as root, though, which could take a while.

share|improve this answer
WE found them thank you guys! – nick brochu Apr 21 '11 at 14:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.