On Linux soft RAIDs can be created using MDADM.
Commands
#RAID number
raiddevno=112
biz=/dev/md/${raiddevno}
#RAID Level
raid=10 # for example
Number of devices to join in a RAID
nodes=4 #example
#Files of the devices to be raided
files=/dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 #example
###############
sudo echo yes | sudo mdadm --create ${biz} --name ${raiddevno} -f --level=$raid --raid-devices=$nodes $files && elog="`printf \" $( sudo mdadm -D ${biz} ) \" ` "
|