Skip to contentSkip to conversation

Software Raid Problem - Device or resource busy.

DISCUSSION Basheer Noorgat 1 participant 1 message Aug 1, 2007 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

Re: Software Raid Problem
----------------------------------------

Background
------------------------------------------
OS= Opensuse 10.2
2 X 250gb Sata drives

Drive 1
----------
/dev/sda1 = swap
/dev/sda2 = linux raid (os & data is here)
/dev/sda3 = linux raid

Drive 2
----------
/dev/sdb1 = swap
/dev/sdb2 = linux resiser
/dev/sdb3 = linux reiser
---------------------------------------------------------------

Using mdadm I managed to create /dev/md0 in raid 1 (mirror). /dev/sda3 & /dev/sdb3 where added to this set.

Good so far....now for the problem....

Problems Area
-----------------------
Using mdadm I failed to create /dev/md1 in raid 1 (mirror). /dev/sda2 & /dev/sdb2 where part of this set.
I get this error: mdadm: cannot open device /dev/sda2: Device or resource busy.

I booted from rescue CD, and ran the mdam command to create /dev/md1 ... and it worked! I let the raid sync.

When I reboot, I get this error:

mdadm: cannot open device /dev/sda2: Device or resource busy.
mdadm: /dev/sda2 has no superblock - assembly aborted

How to do I solve this?

Your help will be appreciated.

Regards

Basheer Noorgat
NMC EXQUISITE
23 Bauhinia Rd., Stanger, 4450, South Africa
P.O.Box 2449, Stanger, 4450, South Africa
Ph: (032) 551 3300 Fax: (032) 551 4414
Cell: 082 5510 227 Int. Code: +27 (32)
Web: http://www.nmcexquisite.com
Skype: noorgat.b