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.

what's the recommended hard disk repair tool if the RAID array on my Linux server is corrupted (I/O errors when listing directories)? Are such I/O issues recoverable?

share|improve this question

migrated from stackoverflow.com Oct 7 '11 at 17:35

This question came from our site for professional and enthusiast programmers.

    
is it is raid (unless you mean striping) you just replace the one disk and rebuild the array. If it is the FS that is corrupted, you need to name the bloddy fs. We are not psychic –  sehe Oct 7 '11 at 17:37
    
Please post a sample of the error messages. It is important to determine if they are signs of filesystem corruption or disk failure. Also, please describe your RAID setup. –  sciurus Oct 7 '11 at 17:44

2 Answers 2

Actually, I would recommend ddrescue or dd_rescue (two different utilities that do similar things) for pulling off all the data you can possibly get from the HD. The wiki I pointed to may contain other useful information as well.

You can basically use these tools to get a disk image of your RAID partition, then fsck a backup of that image in case some of what was lost was important meta-data. They will try very hard to get as much data as they can from the drive.

share|improve this answer

Hardware errors can't be repaired with software, sadly.

If you want to recover the data (or just dump it for backup), try TestDisk or just plain ol' dd.

share|improve this answer

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.