Setting up software based raid

This is a very quick and dirty collection of notes to just get you up and running

View existing drives

lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT

Create raid array

sudo mdadm –create –verbose /dev/md0 –level=6 –raid-devices=4 /dev/sda /dev/sdb /dev/sde /dev/sdd

 

Observe process of building

watch -n 3 -d cat /proc/mdstat