Re: Raid 1, can't get the second disk added back in.

2008-01-09 Thread dean gaudet
On Tue, 8 Jan 2008, Bill Davidsen wrote: Neil Brown wrote: On Monday January 7, [EMAIL PROTECTED] wrote: Problem is not raid, or at least not obviously raid related. The problem is that the whole disk, /dev/hdb is unavailable. Maybe check /sys/block/hdb/holders ? lsof

Re: Raid 1, can't get the second disk added back in.

2008-01-08 Thread Bill Davidsen
Neil Brown wrote: On Monday January 7, [EMAIL PROTECTED] wrote: Problem is not raid, or at least not obviously raid related. The problem is that the whole disk, /dev/hdb is unavailable. Maybe check /sys/block/hdb/holders ? lsof /dev/hdb ? good luck :-) losetup -a may help,

Re: Raid 1, can't get the second disk added back in.

2008-01-07 Thread Jim
Neil Brown wrote: On Saturday January 5, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~# mdadm /dev/md0 --add /dev/hdb5 mdadm: Cannot open /dev/hdb5: Device or resource busy All the solutions I've been able to google fail with the busy. There is nothing that I can find that might be using

Re: Raid 1, can't get the second disk added back in.

2008-01-07 Thread Jim
Neil Brown wrote: On Saturday January 5, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~# mdadm /dev/md0 --add /dev/hdb5 mdadm: Cannot open /dev/hdb5: Device or resource busy All the solutions I've been able to google fail with the busy. There is nothing that I can find that might be using

Re: Raid 1, can't get the second disk added back in.

2008-01-07 Thread Neil Brown
On Monday January 7, [EMAIL PROTECTED] wrote: Problem is not raid, or at least not obviously raid related. The problem is that the whole disk, /dev/hdb is unavailable. Maybe check /sys/block/hdb/holders ? lsof /dev/hdb ? good luck :-) NeilBrown - To unsubscribe from this list: send the

Re: Raid 1, can't get the second disk added back in.

2008-01-06 Thread Jim
Nagilum wrote: Since /dev/hdb5 has been part of this array before you should use --re-add instead of --add. Kind regards, Alex. OK [EMAIL PROTECTED]:~# mdadm /dev/md0 --re-add /dev/hdb5 mdadm: Cannot open /dev/hdb5: Device or resource busy Jim - To unsubscribe from this list: send the

Re: Raid 1, can't get the second disk added back in.

2008-01-06 Thread Nagilum
- Message from [EMAIL PROTECTED] - Date: Sun, 06 Jan 2008 06:13:06 -0500 From: Jim [EMAIL PROTECTED] [EMAIL PROTECTED]:~# mdadm /dev/md0 --re-add /dev/hdb5 mdadm: Cannot open /dev/hdb5: Device or resource busy Have you tried stopping (-S) /dev/md0 and then re-assemble the

Re: Raid 1, can't get the second disk added back in.

2008-01-06 Thread Jim
Nagilum wrote: - Message from [EMAIL PROTECTED] - Date: Sun, 06 Jan 2008 06:13:06 -0500 From: Jim [EMAIL PROTECTED] [EMAIL PROTECTED]:~# mdadm /dev/md0 --re-add /dev/hdb5 mdadm: Cannot open /dev/hdb5: Device or resource busy Have you tried stopping (-S) /dev/md0 and then

Re: Raid 1, can't get the second disk added back in.

2008-01-06 Thread Neil Brown
On Saturday January 5, [EMAIL PROTECTED] wrote: Since /dev/hdb5 has been part of this array before you should use --re-add instead of --add. Kind regards, Alex. That is not correct. --re-add is only needed for arrays without metadata, for which you use --build to start them. NeilBrown -

Re: Raid 1, can't get the second disk added back in.

2008-01-06 Thread Neil Brown
On Saturday January 5, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~# mdadm /dev/md0 --add /dev/hdb5 mdadm: Cannot open /dev/hdb5: Device or resource busy All the solutions I've been able to google fail with the busy. There is nothing that I can find that might be using /dev/hdb5 except

Re: Raid 1, can't get the second disk added back in.

2008-01-05 Thread Nagilum
- Message from [EMAIL PROTECTED] - Date: Sat, 05 Jan 2008 11:05:00 -0500 From: Jim [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: Raid 1, can't get the second disk added back in. To: linux-raid@vger.kernel.org Sometime in the distant past, I lost a member