Unable to create RAID device in RHEL, error - /dev/sdxx is busy
Issue
Unable to create RAID device on a host.
After issuing following command
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdd1 /dev/sde1
it says that /dev/sdd1 is busy
cat /proc/mdstat
Personalities :
md0 : inactive sdd1[0](S)
292928154 blocks super 1.2
unused devices: <none>
- I installed 2 Fusion IO ssd drives. I can see both drives and am able to create/delete partition with fdisk. But, mdadm failed to create raid device with following error messages:
# mdadm --create /dev/md0 --level=0 --chunk=256 --raid-devices=2 /dev/fioa /dev/fiob
mdadm: cannot open /dev/fioa: Device or resource busy
- mdadm fail to create software raid device with
Device or resource busyerror message.
Environment
- Red Hat Enterprise Linux 6.2
- RAID
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
