Failed RAID 6 array advice

I've just had a 3rd drive fail on one of my RAID 6 arrays, and I'm look=
ing for
some advice on how to get it back enough that I can=A0recover the data,=
and then
replacing the other failed drives.


mdadm -V
mdadm - v3.0.3 - 22nd October 2009


Not the most up to date release, but it seems to be the latest one avai=
lable on
=46C12



The /etc/mdadm.conf file is

ARRAY /dev/md0 uuid=3D1470c671:4236b155:67287625:899db153


Which explains why I didn't get emailed about the drive failures. This =
isn't my
standard file, and I don't know how it was changed, but that's another =
issue for
another day.



mdadm --detail /dev/md0
/dev/md0:
=A0=A0=A0=A0=A0=A0=A0 Version : 1.2
=A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
=A0=A0=A0=A0 Raid Level : raid6
=A0 Used Dev Size : 488383488 (465.76 GiB 500.10 GB)
=A0=A0 Raid Devices : 15
=A0 Total Devices : 12
=A0=A0=A0 Persistence : Superblock is persistent
=A0=A0=A0 Update Time : Tue Mar=A0 1 22:17:41 2011
=A0=A0=A0=A0=A0=A0=A0=A0=A0 State : active, degraded, Not Started
=A0Active Devices : 12
Working Devices : 12
=A0Failed Devices : 0
=A0 Spare Devices : 0
=A0=A0=A0=A0 Chunk Size : 512K
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 (l=
ocal to host
file00bert.woodlea.org.uk)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 UUID : 1470c671:4236b155:67287625:899db1=
53
=A0=A0=A0=A0=A0=A0=A0=A0 Events : 254890
=A0=A0=A0 Number=A0=A0 Major=A0=A0 Minor=A0=A0 RaidDevice State
=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0 113=A0=A0=A0=A0=
=A0=A0=A0 0=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdh1
=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0 17=A0=A0=A0=A0=
=A0=A0=A0 1=A0=A0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
=A0=A0 10=A0=A0=A0=A0=A0 removed
=A0=A0=A0=A0=A0 11=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0 225=A0=A0=A0=A0=A0=
=A0 11=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdo1
=A0=A0=A0=A0=A0 12=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0 81=A0=A0=A0=A0=
=A0=A0 12=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdf1
=A0=A0=A0=A0=A0 13=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0 241=A0=A0=A0=A0=A0=
=A0 13=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdp1
=A0=A0=A0=A0=A0 14=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=
=A0=A0 14=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sda1



The output from the=A0failed drives are as follows.


mdadm --examine /dev/sde1
/dev/sde1:
=A0=A0=A0=A0=A0=A0=A0=A0=A0 Magic : a92b4efc
=A0=A0=A0=A0=A0=A0=A0 Version : 1.2
=A0=A0=A0 Feature Map : 0x1
=A0=A0=A0=A0 Array UUID : 1470c671:4236b155:67287625:899db153
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 (l=
ocal to host
file00bert.woodlea.org.uk)
=A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
=A0=A0=A0=A0 Raid Level : raid6
=A0=A0 Raid Devices : 15
=A0Avail Dev Size : 976767730 (465.76 GiB 500.11 GB)
=A0=A0=A0=A0 Array Size : 12697970688 (6054.86 GiB 6501.36 GB)
=A0 Used Dev Size : 976766976 (465.76 GiB 500.10 GB)
=A0=A0=A0 Data Offset : 272 sectors
=A0=A0 Super Offset : 8 sectors
=A0=A0=A0=A0=A0=A0=A0=A0=A0 State : clean
=A0=A0=A0 Device UUID : 3e284f2e:d939fb97:0b74eb88:326e879c
Internal Bitmap : 2 sectors from superblock
=A0=A0=A0 Update Time : Tue Mar=A0 1 21:53:31 2011
=A0=A0=A0=A0=A0=A0 Checksum : 768f0f34 - correct
=A0=A0=A0=A0=A0=A0=A0=A0 Events : 254591
=A0=A0=A0=A0 Chunk Size : 512K
=A0=A0 Device Role : Active device 10
=A0=A0 Array State : AAA.AA.AAAAAAAA ('A' =3D=3D active, '.' =3D=3D mis=
sing)


The above=A0is the drive that failed tonight, and the one I would like =
to re add
back into the array. There have been no writes to the filesystem on the=
array in
the last couple of days (other than what ext4 would do on it's own).


=A0mdadm --examine /dev/sdi1
/dev/sdi1:
=A0=A0=A0=A0=A0=A0=A0=A0=A0 Magic : a92b4efc
=A0=A0=A0=A0=A0=A0=A0 Version : 1.2
=A0=A0=A0 Feature Map : 0x1
=A0=A0=A0=A0 Array UUID : 1470c671:4236b155:67287625:899db153
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 (l=
ocal to host
file00bert.woodlea.org.uk)
=A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
=A0=A0=A0=A0 Raid Level : raid6
=A0=A0 Raid Devices : 15
=A0Avail Dev Size : 976767730 (465.76 GiB 500.11 GB)
=A0=A0=A0=A0 Array Size : 12697970688 (6054.86 GiB 6501.36 GB)
=A0 Used Dev Size : 976766976 (465.76 GiB 500.10 GB)
=A0=A0=A0 Data Offset : 272 sectors
=A0=A0 Super Offset : 8 sectors
=A0=A0=A0=A0=A0=A0=A0=A0=A0 State : active
=A0=A0=A0 Device UUID : 8e668e39:06d8281b:b79aa3ab:a1d55fb5
Internal Bitmap : 2 sectors from superblock
=A0=A0=A0 Update Time : Thu Feb 10 18:20:54 2011
=A0=A0=A0=A0=A0=A0 Checksum : 4078396b - correct
=A0=A0=A0=A0=A0=A0=A0=A0 Events : 254075
=A0=A0=A0=A0 Chunk Size : 512K
=A0=A0 Device Role : Active device 3
=A0=A0 Array State : AAAAAA.AAAAAAAA ('A' =3D=3D active, '.' =3D=3D mis=
sing)


mdadm --examine /dev/sdj1
/dev/sdj1:
=A0=A0=A0=A0=A0=A0=A0=A0=A0 Magic : a92b4efc
=A0=A0=A0=A0=A0=A0=A0 Version : 1.2
=A0=A0=A0 Feature Map : 0x1
=A0=A0=A0=A0 Array UUID : 1470c671:4236b155:67287625:899db153
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 (l=
ocal to host
file00bert.woodlea.org.uk)
=A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
=A0=A0=A0=A0 Raid Level : raid6
=A0=A0 Raid Devices : 15
=A0Avail Dev Size : 976767730 (465.76 GiB 500.11 GB)
=A0=A0=A0=A0 Array Size : 12697970688 (6054.86 GiB 6501.36 GB)
=A0 Used Dev Size : 976766976 (465.76 GiB 500.10 GB)
=A0=A0=A0 Data Offset : 272 sectors
=A0=A0 Super Offset : 8 sectors
=A0=A0=A0=A0=A0=A0=A0=A0=A0 State : active
=A0=A0=A0 Device UUID : 37d422cc:8436960a:c3c4d11c:81a8e4fa
Internal Bitmap : 2 sectors from superblock
=A0=A0=A0 Update Time : Thu Oct 21 23:45:06 2010
=A0=A0=A0=A0=A0=A0 Checksum : 78950bb5 - correct
=A0=A0=A0=A0=A0=A0=A0=A0 Events : 21435
=A0=A0=A0=A0 Chunk Size : 512K
=A0=A0 Device Role : Active device 6
=A0=A0 Array State : AAAAAAAAAAAAAAA ('A' =3D=3D active, '.' =3D=3D mis=
sing)


Looks like sdj1 failed waaay back in Oct last year (sigh). As I said, I=
am not
to bothered about adding these last 2 drives back into the array, since=
they
failed so long ago. I have a couple of spare drives sitting here, and I=
will
replace these 2 drives with them (once I have completed a badblocks on =
them).
Looking at the output of dmesg, there are no other errors showing for t=
he 3
drives, other than them being kicked out of the array for being non fre=
sh.

I guess I have a couple of questions.

What's the correct process for adding the failed /dev/sde1 back into th=
e array
so I can start it. I don't want to rush into this and make things worse=
=2E

What's the correct process for replacing the 2 other drives?
I am presuming that I need to --fail, then --remove then --add the driv=
es (one
at a time?), but I want to make sure.


Thanks for your help.


Graham.



--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
jahammonds prost [ Mi, 02 März 2011 06:05 ] [ ID #2056025 ]

Re: Failed RAID 6 array advice

On Tue, 1 Mar 2011, jahammonds prost wrote:

> What's the correct process for adding the failed /dev/sde1 back into the
> array so I can start it. I don't want to rush into this and make things
> worse.

There are a lot of discussions about this in the archives, but basically I
recommend the following:

Make sure you're running the latest mdadm, right now it's 3.1.4. Compile
it yourself if you have to. After that you stop the array and use
--assemble --force to get the array up and running again with the drives
you know are good (make sure you don't use the drives that was offlined a
long time ago).

> What's the correct process for replacing the 2 other drives?
> I am presuming that I need to --fail, then --remove then --add the drives (one
> at a time?), but I want to make sure.

Yes, when you have a working degraded array you just add them and a
re-sync should happen and then everything should be ok if the resync
succeeds.

--
Mikael Abrahamsson email: swmike [at] swm.pp.se
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Mikael Abrahamsson [ Mi, 02 März 2011 06:26 ] [ ID #2056026 ]

Re: Failed RAID 6 array advice

On Tue, 1 Mar 2011 21:05:33 -0800 (PST) jahammonds prost <gmitch64 [at] yaho=
o.com>
wrote:

> I've just had a 3rd drive fail on one of my RAID 6 arrays, and I'm lo=
oking for
> some advice on how to get it back enough that I can=A0recover the dat=
a, and then
> replacing the other failed drives.
>
>
> mdadm -V
> mdadm - v3.0.3 - 22nd October 2009
>
>
> Not the most up to date release, but it seems to be the latest one av=
ailable on
> FC12
>
>
>
> The /etc/mdadm.conf file is
>
> ARRAY /dev/md0 uuid=3D1470c671:4236b155:67287625:899db153
>
>
> Which explains why I didn't get emailed about the drive failures. Thi=
s isn't my
> standard file, and I don't know how it was changed, but that's anothe=
r issue for
> another day.
>
>
>
> mdadm --detail /dev/md0
> /dev/md0:
> =A0=A0=A0=A0=A0=A0=A0 Version : 1.2
> =A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
> =A0=A0=A0=A0 Raid Level : raid6
> =A0 Used Dev Size : 488383488 (465.76 GiB 500.10 GB)
> =A0=A0 Raid Devices : 15
> =A0 Total Devices : 12
> =A0=A0=A0 Persistence : Superblock is persistent
> =A0=A0=A0 Update Time : Tue Mar=A0 1 22:17:41 2011
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 State : active, degraded, Not Started
> =A0Active Devices : 12
> Working Devices : 12
> =A0Failed Devices : 0
> =A0 Spare Devices : 0
> =A0=A0=A0=A0 Chunk Size : 512K
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 =
(local to host
> file00bert.woodlea.org.uk)
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 UUID : 1470c671:4236b155:67287625:899d=
b153
> =A0=A0=A0=A0=A0=A0=A0=A0 Events : 254890
> =A0=A0=A0 Number=A0=A0 Major=A0=A0 Minor=A0=A0 RaidDevice State
> =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0 113=A0=A0=A0=A0=
=A0=A0=A0 0=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdh1
> =A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0 17=A0=A0=A0=
=A0=A0=A0=A0 1=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdb1
> =A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0 177=A0=A0=A0=A0=
=A0=A0=A0 2=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdl1
> =A0=A0=A0=A0=A0=A0 3=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=
=A0=A0=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0 12=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdf1
> =A0=A0=A0=A0=A0 13=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0 241=A0=A0=A0=A0=
=A0=A0 13=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sdp1
> =A0=A0=A0=A0=A0 14=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=
=A0=A0=A0 14=A0=A0=A0=A0=A0 active sync=A0=A0 /dev/sda1
>
>
>
> The output from the=A0failed drives are as follows.
>
>
> mdadm --examine /dev/sde1
> /dev/sde1:
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Magic : a92b4efc
> =A0=A0=A0=A0=A0=A0=A0 Version : 1.2
> =A0=A0=A0 Feature Map : 0x1
> =A0=A0=A0=A0 Array UUID : 1470c671:4236b155:67287625:899db153
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 =
(local to host
> file00bert.woodlea.org.uk)
> =A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
> =A0=A0=A0=A0 Raid Level : raid6
> =A0=A0 Raid Devices : 15
> =A0Avail Dev Size : 976767730 (465.76 GiB 500.11 GB)
> =A0=A0=A0=A0 Array Size : 12697970688 (6054.86 GiB 6501.36 GB)
> =A0 Used Dev Size : 976766976 (465.76 GiB 500.10 GB)
> =A0=A0=A0 Data Offset : 272 sectors
> =A0=A0 Super Offset : 8 sectors
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 State : clean
> =A0=A0=A0 Device UUID : 3e284f2e:d939fb97:0b74eb88:326e879c
> Internal Bitmap : 2 sectors from superblock
> =A0=A0=A0 Update Time : Tue Mar=A0 1 21:53:31 2011
> =A0=A0=A0=A0=A0=A0 Checksum : 768f0f34 - correct
> =A0=A0=A0=A0=A0=A0=A0=A0 Events : 254591
> =A0=A0=A0=A0 Chunk Size : 512K
> =A0=A0 Device Role : Active device 10
> =A0=A0 Array State : AAA.AA.AAAAAAAA ('A' =3D=3D active, '.' =3D=3D m=
issing)
>
>
> The above=A0is the drive that failed tonight, and the one I would lik=
e to re add
> back into the array. There have been no writes to the filesystem on t=
he array in
> the last couple of days (other than what ext4 would do on it's own).
>
>
> =A0mdadm --examine /dev/sdi1
> /dev/sdi1:
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Magic : a92b4efc
> =A0=A0=A0=A0=A0=A0=A0 Version : 1.2
> =A0=A0=A0 Feature Map : 0x1
> =A0=A0=A0=A0 Array UUID : 1470c671:4236b155:67287625:899db153
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 =
(local to host
> file00bert.woodlea.org.uk)
> =A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
> =A0=A0=A0=A0 Raid Level : raid6
> =A0=A0 Raid Devices : 15
> =A0Avail Dev Size : 976767730 (465.76 GiB 500.11 GB)
> =A0=A0=A0=A0 Array Size : 12697970688 (6054.86 GiB 6501.36 GB)
> =A0 Used Dev Size : 976766976 (465.76 GiB 500.10 GB)
> =A0=A0=A0 Data Offset : 272 sectors
> =A0=A0 Super Offset : 8 sectors
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 State : active
> =A0=A0=A0 Device UUID : 8e668e39:06d8281b:b79aa3ab:a1d55fb5
> Internal Bitmap : 2 sectors from superblock
> =A0=A0=A0 Update Time : Thu Feb 10 18:20:54 2011
> =A0=A0=A0=A0=A0=A0 Checksum : 4078396b - correct
> =A0=A0=A0=A0=A0=A0=A0=A0 Events : 254075
> =A0=A0=A0=A0 Chunk Size : 512K
> =A0=A0 Device Role : Active device 3
> =A0=A0 Array State : AAAAAA.AAAAAAAA ('A' =3D=3D active, '.' =3D=3D m=
issing)
>
>
> mdadm --examine /dev/sdj1
> /dev/sdj1:
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 Magic : a92b4efc
> =A0=A0=A0=A0=A0=A0=A0 Version : 1.2
> =A0=A0=A0 Feature Map : 0x1
> =A0=A0=A0=A0 Array UUID : 1470c671:4236b155:67287625:899db153
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Name : file00bert.woodlea.org.uk:0=A0 =
(local to host
> file00bert.woodlea.org.uk)
> =A0 Creation Time : Sat Jun=A0 5 10:38:11 2010
> =A0=A0=A0=A0 Raid Level : raid6
> =A0=A0 Raid Devices : 15
> =A0Avail Dev Size : 976767730 (465.76 GiB 500.11 GB)
> =A0=A0=A0=A0 Array Size : 12697970688 (6054.86 GiB 6501.36 GB)
> =A0 Used Dev Size : 976766976 (465.76 GiB 500.10 GB)
> =A0=A0=A0 Data Offset : 272 sectors
> =A0=A0 Super Offset : 8 sectors
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 State : active
> =A0=A0=A0 Device UUID : 37d422cc:8436960a:c3c4d11c:81a8e4fa
> Internal Bitmap : 2 sectors from superblock
> =A0=A0=A0 Update Time : Thu Oct 21 23:45:06 2010
> =A0=A0=A0=A0=A0=A0 Checksum : 78950bb5 - correct
> =A0=A0=A0=A0=A0=A0=A0=A0 Events : 21435
> =A0=A0=A0=A0 Chunk Size : 512K
> =A0=A0 Device Role : Active device 6
> =A0=A0 Array State : AAAAAAAAAAAAAAA ('A' =3D=3D active, '.' =3D=3D m=
issing)
>
>
> Looks like sdj1 failed waaay back in Oct last year (sigh). As I said,=
I am not
> to bothered about adding these last 2 drives back into the array, sin=
ce they
> failed so long ago. I have a couple of spare drives sitting here, and=
I will
> replace these 2 drives with them (once I have completed a badblocks o=
n them).
> Looking at the output of dmesg, there are no other errors showing for=
the 3
> drives, other than them being kicked out of the array for being non f=
resh.
>
> I guess I have a couple of questions.
>
> What's the correct process for adding the failed /dev/sde1 back into =
the array
> so I can start it. I don't want to rush into this and make things wor=
se.

If you think that the drives really are working and that it was a cabli=
ng
problem then stop the array (if it isn't stopped already) and assemble =
with
--force:

mdadm --assemble --force /dev/md0 /dev....list of devices

Then find the devices that it chose not to include and add them individ=
ually
mdadm /dev/md0 --add /dev/something

However if any device has a bad block that cannot be read, then this wo=
n't
work.
In that case you need to get a new device, partition it to have a parti=
tion
EXACTLY the same size, use
dd_rescue
to copy all the good data from the bad drive to the new drive, remove t=
he bad
drive from the system, and use the "--assemble --force" command using t=
he new
drive, not the old drive.


>
> What's the correct process for replacing the 2 other drives?
> I am presuming that I need to --fail, then --remove then --add the dr=
ives (one
> at a time?), but I want to make sure.

There are already failed and removed so there is no point in trying to =
do
that again

Good luck.

NeilBrown


>
>
> Thanks for your help.
>
>
> Graham.
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid"=
in
> the body of a message to majordomo [at] vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
NeilBrown [ Mi, 02 März 2011 06:26 ] [ ID #2056027 ]
Linux » gmane.linux.raid » Failed RAID 6 array advice

Vorheriges Thema: [PATCH 0/7] Grow_continue, use in assembly (cont.)
Nächstes Thema: [PATCH 0/3] Continue expansion after reboot