Re: RAID5 recovery trouble, bd_claim failed?

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

 



On Saturday April 15, nate@xxxxxxxxx wrote:
> Hi All,
> 	Recently I lost a disk in my raid5 SW array. It seems that it took a
> second disk with it. The other disk appears to still be funtional (from
> an fdisk perspective...). I am trying to get the array to work in
> degraded mode via failed-disk in raidtab, but am always getting the
> following error:
> 
> md: could not bd_claim hde.
> md: autostart failed!
> 
> When I try to raidstart the array. Is it the case tha I had been running
> in degraded mode before the disk failure, and then lost the other disk?
> if so, how can I tell. 

raidstart is deprecated.  It doesn't work reliably.  Don't use it.

> 
> I have been messing about with mkraid -R and I have tried to
> add /dev/hdf (a new disk) back to the array. However, I am fairly
> confident that I have not kicked off the recovery process, so I am
> imagining that once I get the superblocks in order, I should be able to
> recover to the new disk?
> 
> My system and raid config are:
> Kernel 2.6.13.1
> Slack 10.2
> RAID 5 which originally looked like:
> /dev/hde
> /dev/hdg
> /dev/hdi
> /dev/hdk
> 
> but when I moved the disks to another box with fewer IDE controllers
> /dev/hde
> /dev/hdf
> /dev/hdg
> /dev/hdh
> 
> How should I approach this?

mdadm --assemble /dev/md0 --uuid=38081921:59a998f9:64c1a001:ec534ef2 /dev/hd*

If that doesn't work, add "--force" but be cautious of the data - do
an fsck atleast.

NeilBrown
-
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

[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