Setup Nvme Raid0 on Existing ubuntu 18.04

Posted July 2, 2018 10.6k views

I am an experienced Windows User of Many years.
My Current PC Build ( Built Myself ) is ASUS H370M-Plus.
Two Samsung 750 Evo NvMe M.2 Drives, 16gb Ram
In Windows 10 I have these Setup in Raid0 , in the Bios.
And The Speed is Amazing 2700mb/s.
I have ubuntu on One M.2 and the Other one is not used.
Now I have installed Ubuntu 18.04, Configured the Bios back to Non Raid.
Because in Ubuntu it is very difficult , if not impossible to Install on Existing Raid0.
Maybe if you used Ubuntu Server, which is very hard for a User that is not accustomed to Linux.
So Here I am in Ubuntu with two Very Fast M.2 SSD’s that I can’t get full use of.
Can Some Kind Person provide me with some Easy to Follow Instructions to Set Up My Installed Ubuntu and Make Use of The Two Drives in Raid0.
I have Tried to Use MDADM but I seem to get a lot of problems , like, command not found, root access required etc.
Why can’t Raid Setup be Easy and Automated like it is in the Bios or In Windows.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey there,

You may have to run “sudo apt-get install mdadm” to install the software. Keep in mind that doing this on an existing installation may result in data loss if any error is made. There will likely be no “one size fits all” tutorial for your exact situation here, but I can offer you a tutorial that may help point you in the right direction. Be sure to keep backups of all your data before attempting anything.
(I know this is Ubuntu 16 and meant for a server installation, but this is the most closely relevant tutorial I can think of)

Kind Regards,

by Justin Ellingwood
Linux's mdadm utility can be used to turn a group of underlying storage devices into different types of RAID arrays. This provides various advantages depending on which RAID level is used. This guide will cover how to set up devices in the most common RAID configurations: RAID 0, 1, 5, 6, and 10.