From: Bill Davidsen <davidsen@tmr.com>
To: exe@agava.com
Cc: linux-raid@vger.kernel.org
Subject: Re: bug in --manage mode
Date: Wed, 29 Aug 2007 09:39:05 -0400 [thread overview]
Message-ID: <46D576F9.2090205@tmr.com> (raw)
In-Reply-To: <op.txcknfdohy6b49@exelap>
exe@agava.com wrote:
> Hello, I hit a bug in mdadm.
>
> According to "--manage --help" this must work, but it doesn't:
>
> -bash-3.2# mdadm --manage -a /dev/md2 /dev/sda3
> mdadm: /dev/sda3 does not appear to be an md device
I think that the "-a" is being parsed as "--auto" rather than "--add" in
this case. I rarely use --manage, so I want to go look at the 2.6.3
code, this is just a speculation at this point, but it does fit the
behavior. Don't know why the "/dev/md2" doesn't generate an error if
it's being parsed as something else, though.
>
> But this works fine:
> -bash-3.2# mdadm --manage --add /dev/md2 /dev/sda3
> mdadm: re-added /dev/sda3
>
>
> The version is:
> LFS:root@~:mdadm --version
> mdadm - v2.6.2 - 21st May 2007
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
prev parent reply other threads:[~2007-08-29 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 7:34 bug in --manage mode exe
2007-08-29 13:39 ` Bill Davidsen [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=46D576F9.2090205@tmr.com \
--to=davidsen@tmr.com \
--cc=exe@agava.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).