Linux System Administration
Filesystems (Continued)
RAID Configuration - Managing Arrays
Using Manage mode you can add and remove disks to a running array.
This is useful for removing failed disks, adding spare disks, or adding replacement disks.
Manage mode can also be used to mark a member disk as failed.
For example, to add a disk to an active array:
$ mdadm /dev/md0 --add /dev/sdc1
To remove /dev/sdc1 from /dev/md0 :
$ mdadm /dev/md0 --fail /dev/sdc1 --remove /dev/sdc1
You can combine commands on one line as above.
Make sure the order of the commands makes sense.
For instance, you have to fail a disk before removing it.
Prev
Page 21
Next