# Build RAID0 in Ubuntu
I got an Ubuntu 20.04.4 LTS VM on VMware.
The following steps will show how to create a RAID0 on it.
1. Add 2 new virtual disks by the VMware(Virtualbox) setting.
2. Check if the virtual disks are successfully added by checking the message form `lsblk`

Now the devices will be added into `/dev`
3. Connect 2 virtual disks to be RAID0 by `mdadm` command:
`sudo mdadm --create --verbose --level=0 --metadata=1.2 --raid-devices=2 /dev/mymd /dev/sdb /dev/sdc`
4. Use `lsblk | grep mymd` to check if the RAID is added
5. Write config into **/etc/mdadm/mdadm.conf**:
`sudo mdadm --detail --scan --verbose | sudo tee -a /etc/mdadm/mdadm.conf`
6. Update the config
`sudo update-initramfs -u`
7. Format the RAID0 to **ext4** file system and mount
`sudo mkfs.ext4 /dev/mymd`
`sudo mount /dev/mymd /mnt`
8. Finally check if the mount is succeeded
`df -h | grep mnt`
You will see your `mymd` information on the terminal
Nicely done. (: