Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have a root server with a mdadm two-disk raid 0 on Ubuntu. One HDD failed and I continued to work on the second. The server hoster somehow repaired the defect HDD and after a server restart it was reintegrated into the raid.

Sadly, I can only access the old files! The new state of the raid got overwritten by the old HDD. Is there some way to rescue the new files?

share|improve this question
up vote 4 down vote accepted

Unfortunately, no. Rememeber, RAID is not backup, it's redundancy. With Ubuntu (and other *nix File Systems), removing the file removes the inode to the file. The data may physically be there, but you'd need to go in and find the start/end of each file, assign it a file name, hope it's the right version of the file, etc.

share|improve this answer
So basically, I'm f*cked. – buschtoens Oct 20 '12 at 23:49
The data is not physically there. When the RAID array was rebuilt, it was returned to the state it was in when the drive left the array. Any changes after that are totally lost, since the array has been rebuilt. (Assuming the OP meant 2-disk RAID 0.) – David Schwartz Oct 21 '12 at 0:52
@silvinci I'm afraid so.... – Canadian Luke Oct 21 '12 at 3: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.