As an alternative to the Software RAID on Linux, another supercharged tool might come in place.
LVM - Logic Volume Management, a useful device mapper with a snapshot functionality and a flexible way to expend / decrease your Storage space.
How it works:
Let's say you have multiple Hard Drives you would like to use as a flexible Storage facility.
First you need to pre-format the devices, make Physical Volumes from them, add Physical Volumes to a Volume Group, and then create Logical Volumes that later will be mounted and used as your Storage:
In order to avoid typing sudo with every command:
Format your devices with the fdisk command. Eg.:
As an output, we end up having a /dev/sdb1 partition for example:
Create Physical Volumes:
Create Volume Group:
vgcreate -s 16M vg /dev/sdb1
vgextend vg /dev/sdc1
Create a Logical Volume:
lvcreate -L 1T -n mylvm vg
Format the Logical Volume:
Create a Mounting Point:
Mount your volume:
mount /dev/vg/mylvm /myvideo
Final Step - edit the /etc/fstab file to allow your volume to be auto-mounted upon the startup by adding the line below to the end of the file:
/dev/vg/mylvm /myvideo ext4 defaults 0 0
/myvideo can now be used as your Storage of preference, which can be later modified based on your requirements.
Important: All the arguments used for demo purposes only. Used the man 8 command via Linux CLI to find more information about available options.