Re: badblocking an md device?

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

 



On Sat, 19 Oct 2002, John Sutton wrote:

> e2fsck -f -n -l bblist /dev/md0
>
> Finally, add the disk back into the array:
>
> raidhotadd /dev/md0 /dev/sda5
>
> I can't see why that shouldn't work (but OTOH I'm a newbie with raid ;-)
> and the filesystem has not even been unmounted.  Of course, if a badblock
> has been detected which lies beyond the filesystem i.e. in the raid
> superblock, then you've had it.  (This will be obvious because the block
> will be rejected by the e2fsck as being out of range.)

This should work with RAID-1.

> BTW, I've seen mention on this list of a low level scsi formatting utility
> (scsiformat) for remapping bad blocks but I don't seem to have it on my
> RH7.1 system.  Can anyone tell me where I can find it (preferably the
> source)?

ftp://ftp.fokus.gmd.de/pub/unix/sformat/



   D.


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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