Re: Problem recovering failed Intel Rapid Storage raid5 volume

Started by Khurram Hassan on Jul 23, 2012 · 3 messages from 2 authors · Last reply Jul 24, 2012

open the first message on its own page

Message details and related content
raid.status contents:

/dev/sdb:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.2.02
    Orig Family : 00000000
         Family : 6eb404da
     Generation : 002308e9
     Attributes : All supported
           UUID : 51c75501:a307676f:d2d6e547:dfcb2476
       Checksum : 06cf5ff9 correct
    MPB Sectors : 2
          Disks : 3
   RAID Devices : 1

  Disk01 Serial : 5VMLEGC6
          State : active
             Id : 00030000
    Usable Size : 976768264 (465.76 GiB 500.11 GB)

[VolumeData500:1]:
           UUID : a0865f28:57b7246b:ff43fa76:5531f5ca
     RAID Level : 5
        Members : 3
          Slots : [___]
    Failed disk : 1
      This Slot : 1 (out-of-sync)
     Array Size : 1953536000 (931.52 GiB 1000.21 GB)
   Per Dev Size : 976768264 (465.76 GiB 500.11 GB)
  Sector Offset : 0
    Num Stripes : 3815500
     Chunk Size : 128 KiB
       Reserved : 0
  Migrate State : idle
      Map State : failed
    Dirty State : clean

  Disk00 Serial : 9VM1GGJK:1
          State : active failed
             Id : ffffffff

59 more lines

raid.status contents:

/dev/sdb:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.2.02
    Orig Family : 00000000
         Family : 6eb404da
     Generation : 002308e9
     Attributes : All supported
           UUID : 51c75501:a307676f:d2d6e547:dfcb2476
       Checksum : 06cf5ff9 correct
    MPB Sectors : 2
          Disks : 3
   RAID Devices : 1

  Disk01 Serial : 5VMLEGC6
          State : active
             Id : 00030000
    Usable Size : 976768264 (465.76 GiB 500.11 GB)

[VolumeData500:1]:
           UUID : a0865f28:57b7246b:ff43fa76:5531f5ca
     RAID Level : 5
        Members : 3
          Slots : [___]
    Failed disk : 1
      This Slot : 1 (out-of-sync)
     Array Size : 1953536000 (931.52 GiB 1000.21 GB)
   Per Dev Size : 976768264 (465.76 GiB 500.11 GB)
  Sector Offset : 0
    Num Stripes : 3815500
     Chunk Size : 128 KiB
       Reserved : 0
  Migrate State : idle
      Map State : failed
    Dirty State : clean

  Disk00 Serial : 9VM1GGJK:1
          State : active failed
             Id : ffffffff

128 more quoted lines

Message details and related content
On Mon, 23 Jul 2012 21:54:24 +0500 Khurram Hassan [off-list ref] wrote:
raid.status contents:

/dev/sdb:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.2.02
    Orig Family : 00000000
         Family : 6eb404da
     Generation : 002308e9
     Attributes : All supported
           UUID : 51c75501:a307676f:d2d6e547:dfcb2476
       Checksum : 06cf5ff9 correct
    MPB Sectors : 2
          Disks : 3
   RAID Devices : 1

  Disk01 Serial : 5VMLEGC6
          State : active
             Id : 00030000
    Usable Size : 976768264 (465.76 GiB 500.11 GB)

[VolumeData500:1]:
           UUID : a0865f28:57b7246b:ff43fa76:5531f5ca
     RAID Level : 5
        Members : 3
          Slots : [___]
    Failed disk : 1
      This Slot : 1 (out-of-sync)
     Array Size : 1953536000 (931.52 GiB 1000.21 GB)
   Per Dev Size : 976768264 (465.76 GiB 500.11 GB)
  Sector Offset : 0
    Num Stripes : 3815500
     Chunk Size : 128 KiB
       Reserved : 0
  Migrate State : idle
      Map State : failed
    Dirty State : clean

  Disk00 Serial : 9VM1GGJK:1
          State : active failed
             Id : ffffffff

6 more quoted lines

You'll need to start out with 

   echo 1 > /sys/module/md_mod/parameters/start_dirty_degraded 

otherwise creating the degraded raid5 won't work - I need to fix that.
Then

 mdadm -C /dev/md/imsm -e imsm -n 2 /dev/sdb /dev/sdc
 mdadm -C /dev/md0 -l5 -n3 -c 128 missing /dev/sdb /dev/sdc

so you create an IMSM container, then create the RAID5 inside that.

You should then check the filesystem to make sure it looks right.
If not, you might need to stop the arrays  and start again, using a different
order of devices in the second command.

Good luck,

NeilBrown



/dev/sdc:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.2.02
    Orig Family : 00000000
         Family : 6eb404da
     Generation : 002308e9
     Attributes : All supported
           UUID : 51c75501:a307676f:d2d6e547:dfcb2476
       Checksum : 06cf5ff9 correct
    MPB Sectors : 2
          Disks : 3
   RAID Devices : 1

  Disk02 Serial : 6VM4EGHC
          State : active
             Id : 00040000
    Usable Size : 976768264 (465.76 GiB 500.11 GB)

[VolumeData500:1]:
           UUID : a0865f28:57b7246b:ff43fa76:5531f5ca
     RAID Level : 5
        Members : 3
          Slots : [___]
    Failed disk : 1
      This Slot : 2 (out-of-sync)
     Array Size : 1953536000 (931.52 GiB 1000.21 GB)
   Per Dev Size : 976768264 (465.76 GiB 500.11 GB)
  Sector Offset : 0
    Num Stripes : 3815500
     Chunk Size : 128 KiB
       Reserved : 0
  Migrate State : idle
      Map State : failed
    Dirty State : clean

  Disk00 Serial : 9VM1GGJK:1
          State : active failed
             Id : ffffffff
    Usable Size : 976768264 (465.76 GiB 500.11 GB)

185 more quoted lines

Message details and related content
Thanks, that recovered the array in degraded mode :)  I have added
another hard disk and the array is rebuilding now. Thanks again.

On Tue, Jul 24, 2012 at 3:13 AM, NeilBrown [off-list ref] wrote:
On Mon, 23 Jul 2012 21:54:24 +0500 Khurram Hassan [off-list ref] wrote:
quoted
raid.status contents:

/dev/sdb:
          Magic : Intel Raid ISM Cfg Sig.
        Version : 1.2.02
    Orig Family : 00000000
         Family : 6eb404da
     Generation : 002308e9
     Attributes : All supported
           UUID : 51c75501:a307676f:d2d6e547:dfcb2476
       Checksum : 06cf5ff9 correct
    MPB Sectors : 2
          Disks : 3
   RAID Devices : 1

  Disk01 Serial : 5VMLEGC6
          State : active
             Id : 00030000
    Usable Size : 976768264 (465.76 GiB 500.11 GB)

[VolumeData500:1]:
           UUID : a0865f28:57b7246b:ff43fa76:5531f5ca
     RAID Level : 5
        Members : 3
          Slots : [___]
    Failed disk : 1
      This Slot : 1 (out-of-sync)
     Array Size : 1953536000 (931.52 GiB 1000.21 GB)
   Per Dev Size : 976768264 (465.76 GiB 500.11 GB)
  Sector Offset : 0
    Num Stripes : 3815500
     Chunk Size : 128 KiB
       Reserved : 0
  Migrate State : idle
      Map State : failed
    Dirty State : clean

  Disk00 Serial : 9VM1GGJK:1

258 more quoted lines

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help