I need to install a software raid-0 array on a Ubuntu 12.04 server with mdadm through commandline (SSH).
The drive setup is as follows:
- SDA = OS SSD
- SDB = HDD for raid 0
- SDC = HDD for raid 0
Why you don't use LVM (Logical Volume Management) to do this :
1-Create a physical volume on the first hard drive, and another physical volume on the second hard drive.
2-Create a new volume group, assigning both physical volumes to it.
3-Create a new logical volume in that volume group.
You can setup RAID 0 array from this tutorial
how ever the chunk size while telling mdadm is not provided in the tutorial and will use from the default setting from your config file but you can do it yourself just by adding