RichardF
Verified User
I was given a fujitsu rx100 s5 server. It's a 1u server, two sata disks. And probably not a real raid controller.
After installing CentOS mapper\ghjkljopoiuyt67890-poihgt678i wasn't found recognized whatever, so I read something here and there and realized maybe this is not a real raid card.
so I reconfigured the raid card not to use raid.
So now I am trying to create a softraid from within Centos.
mdadm is installed, but what is the best way to do this?
I added those lines to mdadm.conf
DEVICE /dev/sda1 /dev/sdb1
ARRAY /dev/md0 devices=/dev/sda1,/dev/sdb1
with this command
mdadm -C /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb2
I get this message:
mdadm: Cannot open /dev/sda1: Device or resource busy
mdadm: create aborted
with this command
mdadm --verboxe C /dev/md0 -level=1 --raid-devices=2 /devsda1 /dev/sdb2
I get this message
mdadm: An option must be given to set the mode before a second device is listed
What am I doing wrong?
After installing CentOS mapper\ghjkljopoiuyt67890-poihgt678i wasn't found recognized whatever, so I read something here and there and realized maybe this is not a real raid card.
so I reconfigured the raid card not to use raid.
So now I am trying to create a softraid from within Centos.
mdadm is installed, but what is the best way to do this?
I added those lines to mdadm.conf
DEVICE /dev/sda1 /dev/sdb1
ARRAY /dev/md0 devices=/dev/sda1,/dev/sdb1
with this command
mdadm -C /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb2
I get this message:
mdadm: Cannot open /dev/sda1: Device or resource busy
mdadm: create aborted
with this command
mdadm --verboxe C /dev/md0 -level=1 --raid-devices=2 /devsda1 /dev/sdb2
I get this message
mdadm: An option must be given to set the mode before a second device is listed
What am I doing wrong?