Re: RAID5 drive failure, please verify my commands

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

 





Mike Hardy wrote:

At that point, do a dd if=/dev/zero of=/dev/sda bs=4096 skip=(sector address divided by 8) count=1

I messed this command up, if you didn't catch it. You use skip to skip on the input, you use that for reading in. When you're writing the zeros out, you use "seek=..." to seek into the output to the right spot.


Its all in the bad block howto though - that's the definitive guide

-Mike
-
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