Find the answer to your Linux question:
Results 1 to 2 of 2
I'm running a personal debian file server, and the other night I was experimenting with getting one of the shared directories to mount on my ubuntu machine using an sshfs. ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    Files disappearing on file server

    I'm running a personal debian file server, and the other night I was experimenting with getting one of the shared directories to mount on my ubuntu machine using an sshfs. While I was working on getting the sshfs to mount properly, I noticed that the majority of the files in my file server's shared folder seem to have disappeared. There doesn't seem to be any pattern to the files that disappeared. For example, I have a backup of the original Star Wars trilogy, and Episodes IV and V are gone but Episode VI is still there.

    Most of what was being stored were just backup ISOs of DVDs I own so it's not a total loss since I can just re-backup the discs, it would just take a long time to do and I'd rather get the files back if there were a way.

    I've tried listing the hidden files in the directory, I've tried the share through samba on several Windows PCs, and SSH on Windows and Linux, and I've restarted the server hoping that would help. I've also logged in as root hoping that root could see something that my normal account could not which didn't help.

    If anyone has any ideas on what could have possibly happened and/or how I could recover my data it would be really appreciated. It just doesn't make any sense that some files would disappear from a directory but not others...

    My original guess was that all of my mistakes when trying to mount an sshfs made too many connections to the server and it just was having problems, but even after a restart the files are still gone.

  2. #2
    Just Joined! Scratch_'s Avatar
    Join Date
    Oct 2006
    Location
    In your closet.
    Posts
    28
    Look for Lost+Found directories:
    find / -name "lost+found"

    fsck your hard drive:
    fsck /dev/<your_device>

    Buy a new hard drive:
    Newegg.com - Computer Parts, PC Components, Laptop Computers, Digital Cameras and more!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •