Skip to contentSkip to conversation

mdadm: superblock on /dev/sdr1 doesn't match others - assembly aborted

DISCUSSION [email protected] 3 participants 4 messages Jan 24, 2006 – Jan 27, 2006 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

I am using a 8 disc scsi raid5 array on a fedora 3 system.

after a system crash, while the array was rebuilding a missing hd, i am now unable to get this array running again.

thats all i get (/dev/sdr1 is not the one which was rebuild):

# mdadm -R /dev/md4
mdadm: failed to run array /dev/md4: Invalid argument   
# mdadm -A /dev/md4 -
v /dev/sdk1 /dev/sdl1 /dev/sdm1 /dev/sdn1 /dev/sdo1 /dev/sdp1 /dev/sdq1 /dev/sdr
1
looking for devices for /dev/md4
/dev/sdk1 is identified as a member of /dev/md4, slot 0.
/dev/sdl1 is identified as a member of /dev/md4, slot 1.
/dev/sdm1 is identified as a member of /dev/md4, slot 2.
/dev/sdn1 is identified as a member of /dev/md4, slot 8.
/dev/sdo1 is identified as a member of /dev/md4, slot 4.
/dev/sdp1 is identified as a member of /dev/md4, slot 5.
/dev/sdq1 is identified as a member of /dev/md4, slot 6.
mdadm: superblock on /dev/sdr1 doesn't match others - assembly aborted    
# mdadm --examine /dev/sdk1
/dev/sdk1:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 232635af:1afe6aa5:e06f8828:99966325
  Creation Time : Mon Jul  4 17:30:26 2005
     Raid Level : raid5
    Device Size : 195358336 (186.31 GiB 200.05 GB)
   Raid Devices : 8
  Total Devices : 7
Preferred Minor : 4

Update Time : Tue Jan 24 00:04:48 2006
State : active
Active Devices : 7
Working Devices : 7
Failed Devices : 0
Spare Devices : 0
Checksum : f3b7aef6 - correct
Events : 0.986172

Layout : left-symmetric
Chunk Size : 4K

Number Major Minor RaidDevice State
this 0 8 161 0 active sync /dev/sdk1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8      177        1      active sync   /dev/sdl1
   2     2       8      193        2      active sync   /dev/sdm1
   3     3       0        0        3      faulty removed
   4     4       8      225        4      active sync   /dev/sdo1
   5     5       8      241        5      active sync   /dev/sdp1
   6     6      65        1        6      active sync   /dev/sdq1
   7     7      65       17        7      active sync   /dev/sdr1
# mdadm --examine /dev/sdr1
/dev/sdr1:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 232605af:1afe6aa5:e06f8828:99966325
  Creation Time : Mon Jul  4 17:30:26 2005
     Raid Level : raid5
    Device Size : 195358336 (186.31 GiB 200.05 GB)
   Raid Devices : 8
  Total Devices : 7
Preferred Minor : 4

Update Time : Tue Jan 24 00:05:03 2006
State : active
Active Devices : 7
Working Devices : 7
Failed Devices : 1
Spare Devices : 0
Checksum : f3a87282 - correct
Events : 0.986172

Layout : left-symmetric
Chunk Size : 4K

Number Major Minor RaidDevice State
this 7 65 17 7 active sync /dev/sdr1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8      177        1      active sync   /dev/sdl1
   2     2       8      193        2      active sync   /dev/sdm1
   3     3       0        0        3      faulty removed
   4     4       8      225        4      active sync   /dev/sdo1
   5     5       8      241        5      active sync   /dev/sdp1
   6     6      65        1        6      active sync   /dev/sdq1
   7     7      65       17        7      active sync   /dev/sdr1
# mdadm --version
mdadm - v2.2 - 5 December 2005

Thx

Thomas

----------------------------------------------------------------------
This mail sent through L&R NetCon webmail Client

#1 lore raw
Quoted 30 lines · On Wednesday January 25, [email protected] wrote:

Hi,

I am using a 8 disc scsi raid5 array on a fedora 3 system.

after a system crash, while the array was rebuilding a missing hd, i am now unable to get this array running again.

thats all i get (/dev/sdr1 is not the one which was rebuild):

# mdadm -R /dev/md4
mdadm: failed to run array /dev/md4: Invalid argument   
# mdadm -A /dev/md4 -
v /dev/sdk1 /dev/sdl1 /dev/sdm1 /dev/sdn1 /dev/sdo1 /dev/sdp1 /dev/sdq1 /dev/sdr
1
looking for devices for /dev/md4
/dev/sdk1 is identified as a member of /dev/md4, slot 0.
/dev/sdl1 is identified as a member of /dev/md4, slot 1.
/dev/sdm1 is identified as a member of /dev/md4, slot 2.
/dev/sdn1 is identified as a member of /dev/md4, slot 8.
/dev/sdo1 is identified as a member of /dev/md4, slot 4.
/dev/sdp1 is identified as a member of /dev/md4, slot 5.
/dev/sdq1 is identified as a member of /dev/md4, slot 6.
mdadm: superblock on /dev/sdr1 doesn't match others - assembly aborted    
# mdadm --examine /dev/sdk1
/dev/sdk1:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 232635af:1afe6aa5:e06f8828:99966325

snip

Quoted 8 lines


# mdadm --examine /dev/sdr1
/dev/sdr1:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 232605af:1afe6aa5:e06f8828:99966325

Putting those UUIDs right next to each other:

Quoted 2 lines
           UUID : 232635af:1afe6aa5:e06f8828:99966325
           UUID : 232605af:1afe6aa5:e06f8828:99966325
                        ^
                        |

We have 2 bits of difference. This suggests a bad drive, bad RAM, bad cabling or.... something.

You could be able to recreate the array:

 mdadm -C /dev/md4 -l5 -n8 -c4 -pls /dev/sdk1 /dev/sdl1 /dev/sdm1 \
         missing /dev/sdo1 /dev/sdp1 /dev/sdq1 /dev/sdr1

(double check all of that before you actually run it, I think I have the order right...)
but be warned that you have some dodgey hardware somewhere, and data corruption is a real possibility.... What caused the system crash?

NeilBrown

#2 lore raw

Hi

Thanks a lot, this helped me to get the raid up again. Now I am trying to copy anything to another place.
ATM I am still not sure about what caused the crash, maybe you are right and there is a hw problem. I assume it is the memory.

thx
thomas

Zitat von Neil Brown <[email protected]>:

Quoted 56 lines · On Wednesday January 25, [email protected] wrote:
Quoted 7 lines

Hi,

I am using a 8 disc scsi raid5 array on a fedora 3 system.

after a system crash, while the array was rebuilding a missing hd, i am now unable to get this array running again.

Quoted 6 lines

thats all i get (/dev/sdr1 is not the one which was rebuild):

# mdadm -R /dev/md4
mdadm: failed to run array /dev/md4: Invalid argument   
# mdadm -A /dev/md4 -
v /dev/sdk1 /dev/sdl1 /dev/sdm1 /dev/sdn1 /dev/sdo1 /dev/sdp1 /dev/sdq1

/dev/sdr

Quoted 17 lines

1
looking for devices for /dev/md4
/dev/sdk1 is identified as a member of /dev/md4, slot 0. /dev/sdl1 is identified as a member of /dev/md4, slot 1. /dev/sdm1 is identified as a member of /dev/md4, slot 2. /dev/sdn1 is identified as a member of /dev/md4, slot 8. /dev/sdo1 is identified as a member of /dev/md4, slot 4. /dev/sdp1 is identified as a member of /dev/md4, slot 5. /dev/sdq1 is identified as a member of /dev/md4, slot 6.
mdadm: superblock on /dev/sdr1 doesn't match others - assembly aborted

# mdadm --examine /dev/sdk1
/dev/sdk1:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 232635af:1afe6aa5:e06f8828:99966325

snip

Quoted 8 lines


# mdadm --examine /dev/sdr1
/dev/sdr1:
          Magic : a92b4efc
        Version : 00.90.01
           UUID : 232605af:1afe6aa5:e06f8828:99966325

Putting those UUIDs right next to each other:

Quoted 2 lines
           UUID : 232635af:1afe6aa5:e06f8828:99966325
           UUID : 232605af:1afe6aa5:e06f8828:99966325
                        ^
                        |

We have 2 bits of difference. This suggests a bad drive, bad RAM, bad cabling or.... something.

You could be able to recreate the array:

 mdadm -C /dev/md4 -l5 -n8 -c4 -pls /dev/sdk1 /dev/sdl1 /dev/sdm1 \
         missing /dev/sdo1 /dev/sdp1 /dev/sdq1 /dev/sdr1
Quoted 7 lines

(double check all of that before you actually run it, I think I have the order right...)
but be warned that you have some dodgey hardware somewhere, and data corruption is a real possibility.... What caused the system crash?

NeilBrown

----------------------------------------------------------------------
This mail sent through L&R NetCon webmail Client

#3 lore raw
Quoted 2 lines · mdadm

ATM I am still not sure about what caused the crash, maybe you are right and there is a hw problem. I assume it is the memory.

Personally I would, if I saw such an error, immediately stop the system, run memtest86+ on it, and either replace the faulty RAM or, if no problem is found, do the reconstruction on a different mainboard.

Bit errors scare me. The idea that the problem will propagate to some unknown area of a presumed-good array scares me even more. (I speak from painful experience here.)

Signature · 6 lines
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [email protected]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
The price of seeking to force our beliefs on others is that someday
they might force their beliefs on us.
		-- Mario Cuomo