|
|
@ -12,5 +12,7 @@ parted /dev/sdb mklabel msdos
|
|
|
|
parted /dev/sdb mkpart primary 1 440GiB
|
|
|
|
parted /dev/sdb mkpart primary 1 440GiB
|
|
|
|
parted /dev/sdb mkpart primary 440GiB 442GiB
|
|
|
|
parted /dev/sdb mkpart primary 440GiB 442GiB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
|
|
|
|
echo 'yes' | mdadm -C /dev/md0 -l1 -n2 /dev/sd[ab]1
|
|
|
|
echo 'yes' | mdadm -C /dev/md0 -l1 -n2 /dev/sd[ab]1
|
|
|
|
echo 'yes' | mdadm -C /dev/md1 -l1 -n2 /dev/sd[ab]2
|
|
|
|
echo 'yes' | mdadm -C /dev/md1 -l1 -n2 /dev/sd[ab]2
|
|
|
|