[LUGSB] checking a software RAID partition for consistency

Nicholas Lopez nlopez at ic.sunysb.edu
Mon May 5 00:27:38 EDT 2008


On Mon, May 5, 2008 at 12:25 AM, Nicholas Lopez <nlopez at ic.sunysb.edu> wrote:
> On Mon, May 5, 2008 at 12:08 AM, Mikhail Bautin <mbautin at gmail.com> wrote:
>  > but is there something like fsck for RAID that actually goes and checks the
>  > disks?
>
>  You can do a consistency / bad blocks check using:
>
>  echo check >> /sys/block/md4/md0/sync_action

Typo. This should be:
echo check >> /sys/block/mdX/md/sync_action

where mdX is your raid device.


More information about the lugsb mailing list