Re: array went wonky

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

 



Force assembles call out missing superblocks... I think my best hope appears to be a ddrescue to a new disk...

Sent from my phone

On Apr 13, 2013, at 8:46 AM, Robin Hill <robin@xxxxxxxxxxxxxxx> wrote:

> On Sat Apr 13, 2013 at 02:20:50 +0000, Sam Bingner wrote:
> 
>> On Apr 12, 2013, at 7:41 PM, Gimpbully <gimpbully@xxxxxxxxx> wrote:
>> 
>>> Good Evening Folks,
>>>    Alright, I have a 5 disk raid5, it's worked for years.  Today a
>>>    disk went "click click" and I dropped the cold spare I had in
>>>    and started a rebuild.  Everything was great until I checked
>>>    around 35% rebuild and everything was in the toilet.  Here is
>>>    the current -E info.  Any advise would be *amazingly*
>>>    appreciated.  (I can't believe I didn't just put the spare in
>>>    and just go RAID5...).
>>> 
>>> /dev/sda1:
>>>        Events : 25952
>>> this     4       8        1        4      active sync   /dev/sda1
>>>  0     0       8       33        0      active sync   /dev/sdc1
>>>  2     2       8       65        2      active sync   /dev/sde1
>>>  4     4       8        1        4      active sync   /dev/sda1
>>>  5     5       8       81        5      spare   /dev/sdf1
>>> /dev/sdb1:
>>>        Events : 25944
>>> this     1       8       17        1      active sync   /dev/sdb1
>>>  0     0       8       33        0      active sync   /dev/sdc1
>>>  1     1       8       17        1      active sync   /dev/sdb1
>>>  2     2       8       65        2      active sync   /dev/sde1
>>>  4     4       8        1        4      active sync   /dev/sda1
>>>  5     5       8       81        5      spare   /dev/sdf1
>>> /dev/sdc1:
>>>        Events : 25952
>>> this     0       8       33        0      active sync   /dev/sdc1
>>>  0     0       8       33        0      active sync   /dev/sdc1
>>>  2     2       8       65        2      active sync   /dev/sde1
>>>  4     4       8        1        4      active sync   /dev/sda1
>>>  5     5       8       81        5      spare   /dev/sdf1
>>> /dev/sde1:
>>>        Events : 25952
>>> this     2       8       65        2      active sync   /dev/sde1
>>>  0     0       8       33        0      active sync   /dev/sdc1
>>>  2     2       8       65        2      active sync   /dev/sde1
>>>  4     4       8        1        4      active sync   /dev/sda1
>>>  5     5       8       81        5      spare   /dev/sdf1
>>> /dev/sdf1:
>>>        Events : 25952
>>> this     5       8       81        5      spare   /dev/sdf1
>>>  0     0       8       33        0      active sync   /dev/sdc1
>>>  2     2       8       65        2      active sync   /dev/sde1
>>>  4     4       8        1        4      active sync   /dev/sda1
>>>  5     5       8       81        5      spare   /dev/sdf1
>>> 
>>> -- 
>>> 
>> 
>> I suspect that your sdb drive is also bad... you should try to copy it
>> to a new drive.  I would suggest GNU ddrescue (don't forget to use the
>> logfile feature).  At this point I would actually suggest making a
>> copy of all the drives (except the spare)... 
>> 
> Yes, looks like a read error on sdb - this may be just a transient
> issue, or could be a sign of pending failure. Once you've got it copied,
> you can do a more thorough check (SMART tests, badblocks, etc).
> 
>> After that you can try to recreate the array with the proper order
>> (sdc1, sdb1, sde1, missing, sda1) and copy data off or add the spare
>> in again depending on if you were able to recover all the data wih GNU
>> ddrescue.
>> 
> No! Definitely DO NOT recreate the array. A force assemble should get
> the array back up, without any risk of differing data offsets, metadata
> formats, etc.
> 
> Cheers,
>    Robin
> -- 
>     ___        
>    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
>   / / )      | Little Jim says ....                            |
>  // !!       |      "He fallen in de water !!"                 |
--
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