Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had a tar file which was of size 3.5gb which held all my programming code.
I was working with git trying to learn the repositories, so I created this file as a backup, so I could work my code directory and if anything were to go wrong I could just delete and extract it.

I did this a few times and it worked great, then I restarted and remounted my drive and the tar file was not 10kb instead of 3,5gb and all its contents were gone.

What could have happened?

share|improve this question
    
what was the tar command that you used? –  Alan H Nov 18 '09 at 6:19
    
to extract? tar -xf name.tar –  Recursion Nov 18 '09 at 7:19
    
I've stumbled upon an article written quite recently: translate.google.com/… . Should be useful :) –  kolypto Dec 9 '09 at 0:22
add comment

1 Answer

up vote 0 down vote accepted

What filesystem do you use? It can be a FS failure. Try fsck on that partition.

And learn how to press the "accept answer" button, or you'll never get any responces.

share|improve this answer
    
data was lost on a ext3 –  Recursion Nov 21 '09 at 20:43
    
As far as i know, there are no recovery options for ext* filesystems :( fsck and backups is the only thing to try. –  kolypto Nov 22 '09 at 16:26
add comment

Your Answer

 
discard

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.