Re: Problem rebuild raid 1 replacement disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Feb 2012 19:45:24 +1030 "RANSOM, Tony"
<tony.ransom@xxxxxxxxxxxxxx> wrote:

> Neil,
> 
> >Yes.
> >Somehow both sdb and sdb3 have a superblock for the same array.  Must have
> >been a typo somewhere I suspect.
> >You should remove the one you don't want:
> 
> >  mdadm --zero-superblock /dev/sdb
> 
> >then it should all work nicely again.
> 
> 
> Unfortunately, the above command gave the following error :
> 
> root@server2:~# mdadm --zero-superblock /dev/sdb
> mdadm: Couldn't open /dev/sdb for write - not zeroing
> 
> Do you know how to work around?

Presumably this is because sdb3 is active in the array.  This keeps sdb busy.
If this is the current situation then adding --force to the command should
make it work.

Otherwise you might need to remove sdb from the array first.

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux