http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/s390-multi-install-guide/s1-s390info-raid.html
A description of mdadm
at http://www.networknewz.com/2003/0113.html
eg
to view the partitions on linux
- Code: Select all
# fdisk -l
adding a disk to an active array
- Code: Select all
# mdadm /dev/md0 --add /dev/sdb5
status of an array
- Code: Select all
# mdadm --detail /dev/md0
The mdadm command to create a RAID 1 array:
- Code: Select all
# mdadm -C /dev/md1 --level=raid1 --raid-devices=2 /dev/sda3 /dev/sdb3
Continue creating array? yes
mdadm: array /dev/md1 started.
Start an Array with Assemble mode is used to start an array that already exists. To use the /etc/mdadm.conf use the following command:
- Code: Select all
# mdadm -As /dev/md0