Linux Software Raid: Difference between revisions

From DWIKI
Line 3: Line 3:
*[http://tldp.org/HOWTO/Software-RAID-HOWTO.html Software RAID Howto]
*[http://tldp.org/HOWTO/Software-RAID-HOWTO.html Software RAID Howto]
*[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID A better guide]
*[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID A better guide]
*[http://www.linux.com/base/ldp/howto/Software-RAID-0.4x-HOWTO.html#toc4 Another raid howto]
*http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
*http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
*[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)]

Revision as of 14:17, 3 October 2012

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