This is an old revision of the document!


SW RAID Quick reference

Create a RAID 1 volume from two drives.

mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdc /dev/sde

To add RAID device 'md0' to /etc/mdadm.conf so that it is recognized the next time you boot.

mdadm -Es | grep '''md0'''  >>/etc/mdadm.conf

View the status of a multi disk array.

mdadm --detail /dev/md0

View the status of all multi disk arrays.

cat /proc/mdstat

Note: add raid1 to /etc/initramfs-tools/modules and rebuild initrd

Grow sw raid

Situation: Raid 5, with 6 disks

Final: Raid 5, with 8 disks

  # mdadm --add /dev/md127 /dev/sdh1 
  mdadm: added /dev/sdh1
  # mdadm --add /dev/md127 /dev/sdj1 
  mdadm: added /dev/sdj1
  # mdadm --grow --raid-devices=8 /dev/md127 
  mdadm: Need to backup 1344K of critical section..
  mdadm: ... critical section passed.
  #

3ware Utility

3ware smart

smartctl -d 3ware,1 -a /dev/twa0
smartctl -d 3ware,8 -a /dev/twa0 -T permissive

IBM ServeRAID Utility

ibm_utl_aacraid_9.10_linux_32-64.zip

HP Smart Array

HP DL360 G6 P410i * http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3902575&prodTypeId=329290&prodSeriesId=3902574&swLang=8&taskId=135&swEnvOID=4004

At Debian you need to

 apt-get install ia32-libs

and hpacucli-8.75-12.0.noarch.rpm. Example:

  controller all show config
  ctrl slot=0 create type=ld drives=1I:1:3 raid=0
 
 
linux/raid.1363363116.txt.gz · Last modified: 2013/03/15 16:58 by admin