linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Basheer <subs@nmcexquisite.com>
To: linux-raid@vger.kernel.org
Subject: Problem creating software raid - Device or resource busy.
Date: Thu, 2 Aug 2007 23:51:49 -0700 (PDT)	[thread overview]
Message-ID: <11978339.post@talk.nabble.com> (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



-- 
View this message in context: http://www.nabble.com/Problem-creating-software-raid---Device-or-resource-busy.-tf4210914.html#a11978339
Sent from the linux-raid mailing list archive at Nabble.com.


             reply	other threads:[~2007-08-03  6:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03  6:51 Basheer [this message]
2007-08-03  8:54 ` Problem creating software raid - Device or resource busy David Greaves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11978339.post@talk.nabble.com \
    --to=subs@nmcexquisite.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).