RE: force raid reassembly
From: Bryan Hepworth <hidden>
Date: 2017-08-25 08:03:42
-----Original Message----- From: Anthony Youngman [mailto:antlists@youngman.org.uk] Sent: 12 August 2017 18:44 To: Joe Landman; Bryan Hepworth; linux-raid@vger.kernel.org Subject: Re: force raid reassembly Only thing is, sdb1 says "AAA.AA", which is a bit weird, unless sdb1 is the very last one, which is the last dot in AAA.A. of all the others. If five drives all have almost identical event counts, I'd be inclined to ddrescue the dodgy one (probably sdb1) and hope it all works out. The alternative is to ddrescue both dodgy drives, and write the program that marks blocks as dodgy. Then you can hope that a scan can rebuild everything. Cheers, Wol
Hi Anthony
I've got another quick question, hope you can see what you reckon...
The disks are in an md1200 storage shelf and all seem to have settled down now. Could you take a quick look at the output and see if you think the same advice stands.
Thanks so much.
Bryan
[root@inscribe4 ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md125 : active (auto-read-only) raid5 sdh1[4] sdg1[6] sdi1[3] sdk1[1] sdl1[0] sdj1[7]
9767552000 blocks super 1.2 level 5, 512k chunk, algorithm 2 [6/6] [UUUUUU]
bitmap: 0/15 pages [0KB], 65536KB chunk
md126 : inactive sdb1[4] sde1[7] sdc1[0] sdf1[1] sdd1[8](S)
9766904645 blocks super 1.2
md127 : active (auto-read-only) raid6 sdo[2] sdq[4] sdm[0] sdw[10] sdt[12] sds[6] sdn[1] sdr[5] sdu[8] sdp[3] sdx[11] sdv[9]
19535129600 blocks super 1.2 level 6, 512k chunk, algorithm 2 [12/12] [UUUUUUUUUUUU]
bitmap: 0/15 pages [0KB], 65536KB chunk
unused devices: <none>
[root@inscribe4 ~]# mdadm --examine /dev/sda1
/dev/sda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ace00fb5:8771d55a:cf36728b:ddc3ce89
Name : intermediate0
Creation Time : Tue Oct 15 21:03:50 2013
Raid Level : raid5
Raid Devices : 6
Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
Array Size : 9766901760 (9314.44 GiB 10001.31 GB)
Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=1154 sectors
State : clean
Device UUID : a84263cd:75ce20b9:a3a72a1c:b18b2457
Internal Bitmap : 8 sectors from superblock
Update Time : Mon Jul 31 22:50:37 2017
Checksum : 74d320d6 - correct
Events : 119879
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 5
Array State : AAA.AA ('A' == active, '.' == missing, 'R' == replacing)
[root@inscribe4 ~]# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ace00fb5:8771d55a:cf36728b:ddc3ce89
Name : intermediate0
Creation Time : Tue Oct 15 21:03:50 2013
Raid Level : raid5
Raid Devices : 6
Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
Array Size : 9766901760 (9314.44 GiB 10001.31 GB)
Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=1154 sectors
State : clean
Device UUID : be5ec20e:249645e5:22aeca25:a60c7599
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Aug 8 14:16:53 2017
Checksum : 2e529fae - correct
Events : 119894
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 4
Array State : AAA.A. ('A' == active, '.' == missing, 'R' == replacing)
[root@inscribe4 ~]# mdadm --examine /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ace00fb5:8771d55a:cf36728b:ddc3ce89
Name : intermediate0
Creation Time : Tue Oct 15 21:03:50 2013
Raid Level : raid5
Raid Devices : 6
Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
Array Size : 9766901760 (9314.44 GiB 10001.31 GB)
Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=1154 sectors
State : clean
Device UUID : 1732f121:f6f0df09:fafd2411:7c78ce00
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Aug 8 14:16:53 2017
Checksum : b8cf8981 - correct
Events : 119894
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAA.A. ('A' == active, '.' == missing, 'R' == replacing)
[root@inscribe4 ~]# mdadm --examine /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ace00fb5:8771d55a:cf36728b:ddc3ce89
Name : intermediate0
Creation Time : Tue Oct 15 21:03:50 2013
Raid Level : raid5
Raid Devices : 6
Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
Array Size : 9766901760 (9314.44 GiB 10001.31 GB)
Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=1154 sectors
State : clean
Device UUID : 8d0b6c8e:0c526265:6ec0a71b:52a636ba
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Aug 8 14:16:53 2017
Checksum : 44b7b461 - correct
Events : 119894
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : AAA.A. ('A' == active, '.' == missing, 'R' == replacing)
[root@inscribe4 ~]# mdadm --examine /dev/sde1
/dev/sde1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ace00fb5:8771d55a:cf36728b:ddc3ce89
Name : intermediate0
Creation Time : Tue Oct 15 21:03:50 2013
Raid Level : raid5
Raid Devices : 6
Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
Array Size : 9766901760 (9314.44 GiB 10001.31 GB)
Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=1154 sectors
State : clean
Device UUID : 3d414ad2:4310c1f9:98f50214:3e9b1e33
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Aug 8 14:16:53 2017
Checksum : 8e37d25d - correct
Events : 119894
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : AAA.A. ('A' == active, '.' == missing, 'R' == replacing)
[root@inscribe4 ~]# mdadm --examine /dev/sdf1
/dev/sdf1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ace00fb5:8771d55a:cf36728b:ddc3ce89
Name : intermediate0
Creation Time : Tue Oct 15 21:03:50 2013
Raid Level : raid5
Raid Devices : 6
Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
Array Size : 9766901760 (9314.44 GiB 10001.31 GB)
Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=1154 sectors
State : clean
Device UUID : e238e74b:d40efc43:d34d876d:ca0700b0
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Aug 8 14:16:53 2017
Checksum : 28758d54 - correct
Events : 119894
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : AAA.A. ('A' == active, '.' == missing, 'R' == replacing)
[root@inscribe4 ~]#