Linux Software Raid: Difference between revisions

From DWIKI
mNo edit summary
Line 6: Line 6:
*[http://www.snia.org/tech_activities/standards/curr_standards/ddf/ COMMON RAID DISK DATA FORMAT (DDF)]
*[http://www.snia.org/tech_activities/standards/curr_standards/ddf/ COMMON RAID DISK DATA FORMAT (DDF)]
*[http://www.mepis.org/docs/en/index.php/Software_RAID_mirror Switching to mirroring]
*[http://www.mepis.org/docs/en/index.php/Software_RAID_mirror Switching to mirroring]
*http://www.sanitarium.net/golug/Linux_Software_RAID.html


=What the howto and man mdadm don't tell=
=What the howto and man mdadm don't tell=

Revision as of 20:26, 7 January 2009

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 back to idle:

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

Looking at your raid units

cat /proc/mdstat
mdadm --detail /dev/md0

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

Hotswapping (scsi) disks

eject -s /dev/sda