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 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:… . Should be useful :) – kolypto Dec 9 '09 at 0:22
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

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.