* Can't add or delete a device from raid 1
@ 2004-05-26 4:56 me
2004-05-26 12:54 ` mk423
0 siblings, 1 reply; 3+ messages in thread
From: me @ 2004-05-26 4:56 UTC (permalink / raw)
To: linux-raid
Hi,
I'm trying to add a partition to a raid 1 set that I built with a "missing"
partition. But mdadm won't let me add it to md0, or remove it
platinum:~# cd /
platinum:/# mdadm /dev/md0 -r /dev/hda1
mdadm: hot remove failed for /dev/hda1: No such device or address
platinum:/# mdadm /dev/md0 -a /dev/hda1
mdadm: hot add failed for /dev/hda1: Invalid argument
I don't get this. I had it all working, then I tried to update my kernel to
2.6.5, then the machine wouldn't boot without my interaction. So now when
I boot to the old (working) kernel. I'm missing on partiion on
/dev/md0.
I'm running on debian
Thanks
Jay
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't add or delete a device from raid 1
2004-05-26 4:56 Can't add or delete a device from raid 1 me
@ 2004-05-26 12:54 ` mk423
2004-05-26 13:33 ` me
0 siblings, 1 reply; 3+ messages in thread
From: mk423 @ 2004-05-26 12:54 UTC (permalink / raw)
To: linux-raid; +Cc: me
Hi!
On Tue, 25 May 2004 me@heyjay.com wrote:
> I'm trying to add a partition to a raid 1 set that I built with a "missing"
> partition. But mdadm won't let me add it to md0, or remove it
>
> platinum:~# cd /
> platinum:/# mdadm /dev/md0 -r /dev/hda1
> mdadm: hot remove failed for /dev/hda1: No such device or address
> platinum:/# mdadm /dev/md0 -a /dev/hda1
> mdadm: hot add failed for /dev/hda1: Invalid argument
What do "mdadm --detail /dev/md0" and "mdadm --examine /dev/hda1"
report?
Regards,
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't add or delete a device from raid 1
2004-05-26 12:54 ` mk423
@ 2004-05-26 13:33 ` me
0 siblings, 0 replies; 3+ messages in thread
From: me @ 2004-05-26 13:33 UTC (permalink / raw)
To: mk423, linux-raid
>
> What do "mdadm --detail /dev/md0" and "mdadm --examine /dev/hda1"
> report?
>
> Regards,
> Martin
When I did --detail it showed the array having 2 devices, the first of which
was faulty (the bottom of the screen). Unfortunately, I can't do
the --examine. This morning I got frustrated and:
dd if=/dev/zero of=/dev/hda &
dd if=/dev/zero of=/dev/hdc &
I'm going to start over with clean drives
Thanks
Jay
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-26 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-26 4:56 Can't add or delete a device from raid 1 me
2004-05-26 12:54 ` mk423
2004-05-26 13:33 ` me
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).