I just set up a storage-manager server that I connect via iscsi to my main system and am trying to set up a mirrored volume. The resultant volume would be a mirror of /dev/sda1 and /dev/sdd4, however I noticed that there are no raid devices set up. (here is the output of cat /proc/mdstat)
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
Due to this I set up an LVM but this combines the 2 disks which is not what I wanted... so back to raid1... but how... mdadm?
Tried it: the output of the following command simply says "mdadm: no raid-devices specified"
sudo mdadm --create --verbose /dev/md0 --level=raid1 /dev/sdd4 /dev/sda1
I'm assuming this is because the device /dev/md0 doesn't exist.
So my question is how/could I make /dev/md0 a raid device to work with the raid1 setup and mdadm (without reinstalling my system)? If this proves impossible, how would I set up a mirrored LVM on Ubuntu 16.04?
Any insight is appreciated. Thanks!