Saturday, 09 March 2013 10:03

Creating a RAID 1 mirror for a data drive in linux

Assuming sdb and sdc are the drives for the mirror
mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdb /dev/sdc
Check the resync status in /proc/mdstat. When complete save the config:-
mdadm --detail --scan >> /etc/mdadm.conf
Partition / format the new /dev/md0 device
Last modified on Saturday, 09 March 2013 10:08

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.