I have been working for a while to setup RAID 1 on my fedora server. I have one installed with Fedora, 1 blank but partitioned. The one with fedora is
/dev/sda and the blank one is
I tried to install by doing
mdadm --create /dev/md0 --raid-devices=2 --level=1 /dev/sda2 /dev/sdb1, which it responded with the "cannot open /dev/sda: device or resource busy error."
I tried doing implementing the solution from a previous thread, where I used
sudo yum remove dmraid libdmraid1.0.0.rc15 and restarted, but there was still a device busy on
I tried to force it by using
mdadm --assemble --run --force /dev/md0 /dev/sda2 /dev/sdb1, but it said "/dev/sda2 has no superblock – assembly aborted".
When I tried to do the zero-superblock command,
mdadm --zero-superblock /dev/sda1, it returned with "couldn't open /dev/sda for write – not zeroing".
So, then I installed smartmontoools to see if it was a problem with the drive. They both passed the test when I used
smartctl -d ata -a dev/sd[a1,b1,a2,b2].
I'm pretty new to Linux and Fedora in general, so maybe the solution is really easy and its slipping over my head? I'm just really confused and frustrated at this point, and I would like to seek some outside help. I have no idea where to go from here.