From: Neil Brown <neilb@cse.unsw.edu.au>
To: Scott Walter <walter@cognigencorp.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raidstop /dev/md0 won't work
Date: Fri, 3 May 2002 15:00:58 +1000 (EST) [thread overview]
Message-ID: <15570.6538.877456.348186@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from Scott Walter on Thursday May 2
On Thursday May 2, walter@cognigencorp.com wrote:
> this is probably a very dumb question.. however I am not able to
> raidstop my raid-array using, which i need to do before running
> raidreconf.
>
> %> raidstop /dev/md0
> /dev/md0: Device or resource busy.
> %>
>
> any suggestions... i have already tried unmounting the device.
This is a bug in raidstop. If you strace you will notice that it
opens it twice and before trying to ioctl(STOP...) it.
Upgrade raidtools or use mdadm.
And a quick and dirty:
mv /dev/md0 /dev/mdx
mv /dev/md1 /dev/md0
mv /dev/mdx /dev/md0
raidstop /dev/md1
mv /dev/md0 /dev/mdx
mv /dev/md1 /dev/md0
mv /dev/mdx /dev/md0
should work.
NeilBrown
>
> thanks.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2002-05-03 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-02 21:26 Raidstop /dev/md0 won't work Scott Walter
2002-05-02 21:52 ` Derek Vadala
2002-05-03 5:00 ` Neil Brown [this message]
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=15570.6538.877456.348186@notabene.cse.unsw.edu.au \
--to=neilb@cse.unsw.edu.au \
--cc=linux-raid@vger.kernel.org \
--cc=walter@cognigencorp.com \
/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).