On 23/09/2010 22:54, Neil Brown wrote:
On Thu, 23 Sep 2010 14:16:19 +0100
John Robinson<john.robinson@xxxxxxxxxxxxxxxx> wrote:
On 23/09/2010 08:30, Benjamin Schieder wrote:
[...]
But now I can't remove the sda partitions from the RAID:
kblhbe101:~ # mdadm /dev/md0 -r /dev/sda5
mdadm: cannot find /dev/sda5: No such file or directory
kblhbe101:~ # mdadm /dev/md0 -r sda5
mdadm: cannot find sda5: No such file or directory
What am I doing wrong here?
kblhbe101:~ # mdadm --version
mdadm - v2.6 - 21 December 2006
Try `mdadm /dev/md0 -r missing`.
Close. "missing" is only meaningful with --re-add.
You really want "-r faileded" or "-r detached"
Bah. I knew it was something like that.
Cheers,
John.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html