I wonder what the bad blocks were storing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After dd_rescuing a device that belongs to a degraded raid-5 array I got
a summary like this:

Summary for /dev/sdb1 -> /dev/sdg1:
dd_rescue: (info):
ipos: 976760001.0k,
opos: 976760001.0k,
xferd: 976760001.0k,
errs: 48,
errxfer: 24.0k,
succxfer: 976759977.0k

Since it's a degraded array I'm guessing there is gonna be 24 KiB worth
of damage to the filesystem. But I do have fairly recent full filesystem 
level backups, it would be nice if I could figure out what those 48 bad 
sectors contained, so I could restore just those things from my backups.

So basically I would need to figure out which blocks are the 48 damaged
ones on /dev/md0 and then ask my filesystems debugging tools to tell me
what those blocks should contain.

And to make it a bit more fun there is a luks crypto layer between the
md and filesystem, but that should be a simple luks header sized offset.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux