http://www.linuxjournal.com/article/8874
http://cns-service.blogspot.com/2007/11/adding-or-deleting-local-storage.html
# mdadm --create /dev/md1 --level=raid5 --raid-devices=3 --chunk=4 /dev/sd{b,c,d}
# mdadm --detail -scan >> /etc/mdadm.conf
# cat /proc/mdstat
# xe sr-create content-type="localSR" type=lvm device-config-device=/dev/md1 shared=false name-label="RAID 5 Storage Group"
to restore/reactive disk arrays on a new server:
# mdadm --detail -scan >> /etc/mdadm.conf
# mdadm -A -s
沒有留言:
張貼留言