drive failed - attempting recovery
So, my hard drive failed yesterday. I managed to use ddrescue to salvage it, but there were 8 errors (totaling in at about 30gB) at the end of the process.
I copied each partition and the MBR seperately. I /boot, swap, and the MBR were saved. I'm having problems with root, however. The filesystem is XFS. When I initially ran xfs_check on the file, it reported that the log needed to be written with a mount, or removed with xfs_repair -L. I tried to mount it, but get "mount: /dev/loop0: can't read superblock" (using either mount -o loop on the file, or using losetup manually). So, I ran xfs_repair -L and it did a LOT of stuff. I reran xfs_repair (without -L) and yet more changes were made. At this point, it is 'clean' however I still get "mount: /dev/loop0: can't read superblock". xfs_check prints no information. xfs_repair prints this info: Code:
pandora:/home/pbransford/fail-recovery # blkid /dev/loop0 Note this isn't an emergency. There is nothing irreplaceable on the drive - I know enough to keep backups of critical information ;) EDIT: More information. This is from dmesg when I try to mount it: Code:
[39727.296253] attempt to access beyond end of device |
HD Recovery
I've never had dd rescue or any other program really be able to do anything other than just ignore the bad blocks on a dying hard drive, except for norton ghost. I've watched dd rescue fail miserably, and then follow with an attempt using norton, and have a full, flawless recovery. I don't know if ghost technically "supports" any linux file systems, but you should be able to do it with a sector-by-sector copy. Good luck.
|
Strangely, this is the first time I've not been able to use ddrescue to save it. Indeed, xfs_check and xfs_repair can read the filesystem just fine. Only 'mount' seems to be having an issue.
|
Quote:
-- http://rzr.online.Fr/q/recover |
It's been over a year since this occurred.
|
All times are GMT -5. The time now is 09:06 PM. |