Trying to create a raid1 on a live system following this article: http://guylabs.ch/2013/09/17/create-a-software-raid1-with-mdadm-on-an-active-ubuntu-13-04-hard-drive/comment-page-1/
uname =a
3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I created /dev/md0 using /dev/sdb3 and booted off of it fine. When trying to add /dev/sda3 to /dev/md0, it keeps saying Device or resource busy. I have removed dmraid. dmsetup status does list /dev/sda3 being used but I have removed it using dmsetup remove. Any suggestions I can try?
My mdadm.conf file:
DEVICE /dev/sda* /dev/sdb*
ARRAY /dev/md0 metadata=0.90 UUID=dbbbc270:ad7a07d4:989a1506:09fffe2d
dmsetup status:
qwerty--vg-swap_1: 0 7766016 linear
The swap file is mounted as /dev/sda2