Linux Software Raid: Difference between revisions

From DWIKI
Line 8: Line 8:
From man md:
From man md:
  echo check > /sys/block/md0/md/sync_action
  echo check > /sys/block/md0/md/sync_action
check /proc/mdstat for status, and then set bad to idle:
echo idle > /sys/block/md0/md/sync_action
==Looking at your raid units==
cat /proc/mdstat
(also shows what's going on when checking/resynching)


==Hotswapping (scsi) disks==
==Hotswapping (scsi) disks==
  eject -s /dev/sda
  eject -s /dev/sda

Revision as of 22:14, 7 October 2007

Links

What the howto and man mdadm don't tell

Checking the raid units

From man md:

echo check > /sys/block/md0/md/sync_action

check /proc/mdstat for status, and then set bad to idle:

echo idle > /sys/block/md0/md/sync_action

Looking at your raid units

cat /proc/mdstat

(also shows what's going on when checking/resynching)


Hotswapping (scsi) disks

eject -s /dev/sda