Assembling RAID 5 array with missing superblock
Assembling RAID 5 array with missing superblock
am 23.02.2011 15:05:32 von Lasse Jensen
I just keep having bad luck with my RAID 5 array. One drive (out of 4
WD15EARS drives) was dropped from the array due to powerfailure and
rebuild failed because of bad sectors on another drive. I have been
spending the last few days with ddrescue, copying the data from the
drive with bad sectors to the dropped one. The problem is now that the
drive has bad sectors have spread where the md superblock used to be
on the faulty drive (the very last sectors of the drive, right?), so
how do i force it to assemble without it and with one drive missing?
What drives are by the way the best consumer grade drives to use for
RAID operation?
I really, really hope this is the last time i need to ask you guys for help.
--
Lasse Jensen (fafler at gmail dot com)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Assembling RAID 5 array with missing superblock
am 23.02.2011 21:55:56 von Jaap Crezee
This is a cryptographically signed message in MIME format.
--------------ms020300050408080107020807
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
On 02/23/11 15:05, Lasse Jensen wrote:
> I really, really hope this is the last time i need to ask you guys for =
help.
Well, just a little bit off-topic, but...:
For me, and probably others as well, it does not harm in any way to keep =
asking=20
questions. I find it interesting and insightful reading some of the answe=
rs to=20
these questions.
So please do ask.
Regards,
Jaap Crezee
--------------ms020300050408080107020807
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIK2jCC
BWkwggNRoAMCAQICAwnAGTANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdS b290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENl cnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcn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CBkwYLKoZIhvcNAQkQ AgsxgYOggYAw
eTEQMA4GA1UEChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNl cnQub3JnMSIw
IAYDVQQDExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcN AQkBFhJzdXBw
b3J0QGNhY2VydC5vcmcCAwnAGTANBgkqhkiG9w0BAQEFAASCAQAvk7LTl4Sx FfogVbBByVPR
WeFUudKh1lCpAE8Ufnm81l8tkXBEo9bQKqnDh7HJDN6DMah83dMzQdFgcuMt YpP3QX3tVuHC
efKhA9wF2gNqZNYnJ6C10h6RkhUllzTApcpfgXiMK3n6MBbbrfsR/lQzKQnV jRbTea0XlGwk
7X0CN0j/01V4bYxwIfLKAOcL+N0Ha3DBnBsIwnxxn9+vqKTlEHfj1z5d+Lvt 1Ou62MRD0CvU
Q4iOHtqHX5/ILosANYTSUJXhlunPuhMMibM7i3xQ2IldU+KifceXc8pcYt5g 4judKqKxXuKt
BrBp6KhENWbkkFR2G4XDyqrVIbFwaymXAAAAAAAA
--------------ms020300050408080107020807--
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Assembling RAID 5 array with missing superblock
am 24.02.2011 09:17:56 von Lasse Jensen
On Thu, Feb 24, 2011 at 5:45 AM, wrote:
> On Wed, Feb 23, 2011 at 9:05 PM, Lasse Jensen wrote:
>> What drives are by the way the best consumer grade drives to use for
>> RAID operation?
>
> I've had good luck with Hitachi (used to be IBM) and Samsung lately,
> more so than WD. Hitachi's 5-year warranty (everyone else here being
> only 3) is also an indicator. . .
I used IBM back when they made the infamous DeathStar drives. Havent
brought a IBM/Hitachi drive since. I guess i'm going to feel the same
way about WD drives now. Maybe i should just mix'n'match manufactures.
They can't all be that bad,
> I know Google uses consumer-grade drives (with massive redundancy and
> automated hyper-vigilant sysadmin processes) - anyone know whose?
>
>
>> I just keep having bad luck with my RAID 5 array. One drive (out of 4
>> WD15EARS drives) was dropped from the array due to powerfailure and
>> rebuild failed because of bad sectors on another drive. I have been
>
> Sorry I can't help more but with any such large drives I'd suggest
> sticking with RAID6, plus hot spares if you think you might not notice
> and/or be able to quickly replace a failing member.
That was my plan, but without the hotspare. I have 2 drives i need to
get replaced, and after i hopefully regain access to my data, i'm
going for a 5 drive RAID 6 array.
--
Lasse Jensen (fafler at gmail dot com)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Assembling RAID 5 array with missing superblock
am 24.02.2011 17:10:33 von Iordan Iordanov
Hey,
> I used IBM back when they made the infamous DeathStar drives. Havent
> brought a IBM/Hitachi drive since. I guess i'm going to feel the same
> way about WD drives now. Maybe i should just mix'n'match manufactures.
> They can't all be that bad,
Mixing and matching drive manufacturers seems like an excellent idea,
since it makes it less likely that drives will die in droves at the same
time, which makes for a generally saver RAID. On this mailing list we
know that drives fail and expect it, that's why we are on it :)
Cheers,
Iordan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Assembling RAID 5 array with missing superblock
am 24.02.2011 18:27:41 von John Robinson
On 24/02/2011 16:10, Iordan Iordanov wrote:
> Hey,
>
>> I used IBM back when they made the infamous DeathStar drives. Havent
>> brought a IBM/Hitachi drive since. I guess i'm going to feel the same
>> way about WD drives now. Maybe i should just mix'n'match manufactures.
>> They can't all be that bad,
>
> Mixing and matching drive manufacturers seems like an excellent idea,
> since it makes it less likely that drives will die in droves at the same
> time, which makes for a generally saver RAID. On this mailing list we
> know that drives fail and expect it, that's why we are on it :)
Indeed. I started my home server off with a 3-drive RAID-5, with 3
identical drives with consecutive serial numbers. One started giving
building pending sectors within a month, another after 9 months. By now
I have 6 drives in RAID-6 from 3 manufacturers with varying
power-on-hours and no two from the same batch.
Cheers,
John.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Assembling RAID 5 array with missing superblock
am 03.03.2011 07:50:26 von Lasse Jensen
So should I just bite it and build a new array? All the really
important stuff is backed up elsewhere, the rest is, well, just crap i
got of the Internet, you know...
One last thing, I've been thinking about. What copying the superblock
from one of the working drives to the defect one and using a hew
editor to change the drive number and alignment? Is there much device
specific data in the superblock?
On Wed, Feb 23, 2011 at 3:05 PM, Lasse Jensen wrote:
> I just keep having bad luck with my RAID 5 array. One drive (out of 4
> WD15EARS drives) was dropped from the array due to powerfailure and
> rebuild failed because of bad sectors on another drive. I have been
> spending the last few days with ddrescue, copying the data from the
> drive with bad sectors to the dropped one. The problem is now that the
> drive has bad sectors have spread where the md superblock used to be
> on the faulty drive (the very last sectors of the drive, right?), so
> how do i force it to assemble without it and with one drive missing?
>
> What drives are by the way the best consumer grade drives to use for
> RAID operation?
>
> I really, really hope this is the last time i need to ask you guys for help.
>
> --
> Lasse Jensen (fafler at gmail dot com)
>
--
Lasse Jensen (fafler at gmail dot com)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html