Bug#718896: mdadm: segmentation fault when adding disk to degraded array

Johannes Schlumberger spjsschl at doriath.informatik.uni-erlangen.de
Tue Aug 6 16:43:16 UTC 2013


Package: mdadm
Version: 3.2.5-5
Severity: important

One of my raid arrays (md2) failed and I removed the faulty disk (sdf1) from it
using mdadm /dev/md2 -r /dev/sdf1. Trying to readd the disk using mdadm /dev/md2
-a /dev/sdf1 resulted in a seemingly successful run without an error message.
However the drive was not added back into the array. Rerunning the same command
reproducibly caused a segfault.
	johannes

-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md1 UUID=1bcf53c0:483925e3:ee139a19:61e8e539
ARRAY /dev/md2 UUID=a092d92f:a581f2f6:faddf5eb:d489580a
ARRAY /dev/md3 UUID=69503f19:18d85a4b:9a4db4e9:8afe99d7
ARRAY /dev/md4 UUID=c45928f4:0d89b9fc:9a4db4e9:8afe99d7
ARRAY /dev/md5 UUID=2a29861e:b0cbcebd:9a4db4e9:8afe99d7
ARRAY /dev/md6 UUID=93154370:b84537e8:9a4db4e9:8afe99d7

--- /etc/default/mdadm
INITRDSTART='all'
AUTOSTART=true
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [raid6] [raid5] [raid4] [raid1] 
md2 : active raid5 sde1[1] sdg1[0]
      3906760704 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [UU_]
      
md6 : active raid1 sdh4[0] sdi4[1]
      192831424 blocks [2/2] [UU]
      
md5 : active raid1 sdh3[0] sdi3[1]
      48828352 blocks [2/2] [UU]
      
md4 : active raid1 sdh2[0] sdi2[1]
      1952704 blocks [2/2] [UU]
      
md3 : active raid1 sdh1[0] sdi1[1]
      584640 blocks [2/2] [UU]
      
unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8        0  732574584 sda
   8        1  732572001 sda1
   8       16  732574584 sdb
   8       17  732572001 sdb1
   8       32  732574584 sdc
   8       33  732572001 sdc1
   8       64 1953514584 sde
   8       65 1953512001 sde1
   8       48 1953514584 sdd
   8       49 1953512001 sdd1
   8       80 1953514584 sdf
   8       81 1953512001 sdf1
   8       96 1953514584 sdg
   8       97 1953512001 sdg1
   8      112  244198584 sdh
   8      113     584704 sdh1
   8      114    1952768 sdh2
   8      115   48828416 sdh3
   8      116  192831488 sdh4
   8      128  244198584 sdi
   8      129     584704 sdi1
   8      130    1952768 sdi2
   8      131   48828416 sdi3
   8      132  192831488 sdi4
   9        3     584640 md3
   9        4    1952704 md4
   9        5   48828352 md5
   9        6  192831424 md6
 253        0   48827324 dm-0
 253        1    1952704 dm-1
 253        3  192831424 dm-3
   9        2 3906760704 md2
 253        2 3906760704 dm-2

--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=213230,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=404332k,mode=755)
/dev/mapper/md5_crypt on / type ext3 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=808660k)
/dev/md3 on /boot type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/data6-aes on /scratch type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered)
/dev/mapper/data2-aes on /data type ext4 (rw,noexec,noatime,user_xattr,barrier=1,stripe=256,data=ordered)
/dev/mapper/data2-aes on /jail/data type ext4 (rw,noexec,noatime,user_xattr,barrier=1,stripe=256,data=ordered)

--- initrd.img-3.2.0-4-686-pae:
54385 blocks
8a9b59e7c26a461c838f13c5def0b5d7  ./sbin/mdadm
73c645cdb1e0db119a60dfebfff667f1  ./etc/mdadm/mdadm.conf
a560b1c713f6f2bf42abcd9dade35d6a  ./scripts/local-top/mdadm
8d85bc1da13197a4f64ba6266b20d9b4  ./conf/mdadm
781560993fde4ebdf744de238d0330a4  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/raid10.ko
aed1001f2a0b82d852556a0105d63a39  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/raid1.ko
9d120658b0ab2f038540d701400a6572  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/dm-crypt.ko
a2d6b2e09bae2ac23e0ca0491c5650f6  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/linear.ko
5f17696d61a922ec2459b4fd99993819  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/dm-mod.ko
43fec1d6e02027d0c7754f63f1331e36  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/multipath.ko
9fc3710d51d25227f09beb25cb9bd04b  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/raid0.ko
49cb4a9e829a133a1a02d0a3e9f38b20  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/raid456.ko
031c746a765e1307cd3f1e3c6899d6e7  ./lib/modules/3.2.0-4-686-pae/kernel/drivers/md/md-mod.ko

--- initrd's /conf/conf.d/md:
no conf/md file.

--- /proc/modules:
dm_crypt 18039 4 - Live 0xf859f000
dm_mod 57362 9 dm_crypt, Live 0xf85b0000
raid1 26218 4 - Live 0xf8363000
raid456 47676 1 - Live 0xf8372000
async_raid6_recov 12518 1 raid456, Live 0xf8318000
async_memcpy 12363 2 raid456,async_raid6_recov, Live 0xf8301000
async_pq 12542 2 raid456,async_raid6_recov, Live 0xf824e000
async_xor 12390 3 raid456,async_raid6_recov,async_pq, Live 0xf823f000
async_tx 12540 5 raid456,async_raid6_recov,async_memcpy,async_pq,async_xor, Live 0xf823a000
raid6_pq 86874 2 async_raid6_recov,async_pq, Live 0xf8581000
md_mod 85719 7 raid1,raid456, Live 0xf8261000

--- /var/log/syslog:

--- volume detail:
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 8609c879:5c84f04b:cf1a35df:61eeb1fa
           Name : caragdur:1  (local to host caragdur)
  Creation Time : Wed Sep 28 02:34:33 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 1465147120 (698.64 GiB 750.16 GB)
     Array Size : 2197719552 (2095.91 GiB 2250.46 GB)
  Used Dev Size : 1465146368 (698.64 GiB 750.15 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 8215525c:f2e6d3de:a0d4b4d1:bf7a2414

    Update Time : Wed Sep 28 02:34:33 2011
       Checksum : 8961c8a5 - correct
         Events : 0

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : A.AA ('A' == active, '.' == missing)
--
/dev/sda1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f989d7e:c46d0a2c:9c07d09b:0f999bfc
           Name : caragdur:1  (local to host caragdur)
  Creation Time : Wed Sep 28 02:45:59 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 1465141954 (698.63 GiB 750.15 GB)
     Array Size : 2197711872 (2095.90 GiB 2250.46 GB)
  Used Dev Size : 1465141248 (698.63 GiB 750.15 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : a1357b28:3af2df66:a7aaf7b5:83d7c195

    Update Time : Wed Sep 28 02:45:59 2011
       Checksum : e6ee137f - correct
         Events : 0

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AA.A ('A' == active, '.' == missing)
--
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 8609c879:5c84f04b:cf1a35df:61eeb1fa
           Name : caragdur:1  (local to host caragdur)
  Creation Time : Wed Sep 28 02:34:33 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 1465147120 (698.64 GiB 750.16 GB)
     Array Size : 2197719552 (2095.91 GiB 2250.46 GB)
  Used Dev Size : 1465146368 (698.64 GiB 750.15 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 1f8a35d9:da9fe9b8:7b7bdbb4:af2748a2

    Update Time : Wed Sep 28 02:34:33 2011
       Checksum : 51a549f8 - correct
         Events : 0

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : A.AA ('A' == active, '.' == missing)
--
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f989d7e:c46d0a2c:9c07d09b:0f999bfc
           Name : caragdur:1  (local to host caragdur)
  Creation Time : Wed Sep 28 02:45:59 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 1465141954 (698.63 GiB 750.15 GB)
     Array Size : 2197711872 (2095.90 GiB 2250.46 GB)
  Used Dev Size : 1465141248 (698.63 GiB 750.15 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 158b997c:97414001:abb538ae:8cb371fc

    Update Time : Wed Sep 28 02:45:59 2011
       Checksum : 345d9f5c - correct
         Events : 0

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA.A ('A' == active, '.' == missing)
--
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 8609c879:5c84f04b:cf1a35df:61eeb1fa
           Name : caragdur:1  (local to host caragdur)
  Creation Time : Wed Sep 28 02:34:33 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 1465147120 (698.64 GiB 750.16 GB)
     Array Size : 2197719552 (2095.91 GiB 2250.46 GB)
  Used Dev Size : 1465146368 (698.64 GiB 750.15 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : d18cc6df:42eb027f:7f32e3af:e420ab8a

    Update Time : Wed Sep 28 02:34:33 2011
       Checksum : 1ba484c - correct
         Events : 0

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : A.AA ('A' == active, '.' == missing)
--
/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f989d7e:c46d0a2c:9c07d09b:0f999bfc
           Name : caragdur:1  (local to host caragdur)
  Creation Time : Wed Sep 28 02:45:59 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 1465141954 (698.63 GiB 750.15 GB)
     Array Size : 2197711872 (2095.90 GiB 2250.46 GB)
  Used Dev Size : 1465141248 (698.63 GiB 750.15 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 6c69f208:5ab0a7ed:26c0b9df:c0800dde

    Update Time : Wed Sep 28 02:45:59 2011
       Checksum : c03ac424 - correct
         Events : 0

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA.A ('A' == active, '.' == missing)
--
/dev/sdd is not recognised by mdadm.
/dev/sdd1 is not recognised by mdadm.
/dev/sde:
   MBR Magic : aa55
Partition[0] :   3907024002 sectors at           63 (type fd)
--
/dev/sde1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : eabe508f:3f1bbb94:99df7541:4b91a515
           Name : caragdur:2  (local to host caragdur)
  Creation Time : Mon May 27 20:50:37 2013
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
     Array Size : 3906760704 (3725.78 GiB 4000.52 GB)
  Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : d1e26e01:69b0fda4:2173230c:4fd916c5

    Update Time : Tue Aug  6 18:32:37 2013
       Checksum : e506e71d - correct
         Events : 113767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA. ('A' == active, '.' == missing)
--
/dev/sdf is not recognised by mdadm.
/dev/sdf1 is not recognised by mdadm.
/dev/sdg:
   MBR Magic : aa55
Partition[0] :   3907024002 sectors at           63 (type fd)
--
/dev/sdg1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : eabe508f:3f1bbb94:99df7541:4b91a515
           Name : caragdur:2  (local to host caragdur)
  Creation Time : Mon May 27 20:50:37 2013
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 3906761858 (1862.89 GiB 2000.26 GB)
     Array Size : 3906760704 (3725.78 GiB 4000.52 GB)
  Used Dev Size : 3906760704 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 4389c1e6:5ad697ad:8882b28d:422b0b50

    Update Time : Tue Aug  6 18:32:37 2013
       Checksum : df7714da - correct
         Events : 113767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA. ('A' == active, '.' == missing)
--
/dev/sdh:
   MBR Magic : aa55
Partition[0] :      1169408 sectors at         2048 (type fd)
Partition[1] :      3905536 sectors at      1171456 (type fd)
Partition[2] :     97656832 sectors at      5076992 (type fd)
Partition[3] :    385662976 sectors at    102733824 (type fd)
--
/dev/sdh1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 69503f19:18d85a4b:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:15 2010
     Raid Level : raid1
  Used Dev Size : 584640 (571.03 MiB 598.67 MB)
     Array Size : 584640 (571.03 MiB 598.67 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3

    Update Time : Tue Aug  6 15:32:50 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : ef160891 - correct
         Events : 1154


      Number   Major   Minor   RaidDevice State
this     0       8      113        0      active sync   /dev/sdh1

   0     0       8      113        0      active sync   /dev/sdh1
   1     1       8      129        1      active sync   /dev/sdi1
--
/dev/sdh2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : c45928f4:0d89b9fc:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:23 2010
     Raid Level : raid1
  Used Dev Size : 1952704 (1907.26 MiB 1999.57 MB)
     Array Size : 1952704 (1907.26 MiB 1999.57 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Sun Aug  4 01:30:56 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 3ee1c9b0 - correct
         Events : 1134


      Number   Major   Minor   RaidDevice State
this     0       8      114        0      active sync   /dev/sdh2

   0     0       8      114        0      active sync   /dev/sdh2
   1     1       8      130        1      active sync   /dev/sdi2
--
/dev/sdh3:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 2a29861e:b0cbcebd:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:28 2010
     Raid Level : raid1
  Used Dev Size : 48828352 (46.57 GiB 50.00 GB)
     Array Size : 48828352 (46.57 GiB 50.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 5

    Update Time : Tue Aug  6 18:41:13 2013
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 4ac30fdd - correct
         Events : 1181


      Number   Major   Minor   RaidDevice State
this     0       8      115        0      active sync   /dev/sdh3

   0     0       8      115        0      active sync   /dev/sdh3
   1     1       8      131        1      active sync   /dev/sdi3
--
/dev/sdh4:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 93154370:b84537e8:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:33 2010
     Raid Level : raid1
  Used Dev Size : 192831424 (183.90 GiB 197.46 GB)
     Array Size : 192831424 (183.90 GiB 197.46 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 6

    Update Time : Sun Aug  4 01:30:39 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : c3b9f635 - correct
         Events : 1148


      Number   Major   Minor   RaidDevice State
this     0       8      116        0      active sync   /dev/sdh4

   0     0       8      116        0      active sync   /dev/sdh4
   1     1       8      132        1      active sync   /dev/sdi4
--
/dev/sdi:
   MBR Magic : aa55
Partition[0] :      1169408 sectors at         2048 (type fd)
Partition[1] :      3905536 sectors at      1171456 (type fd)
Partition[2] :     97656832 sectors at      5076992 (type fd)
Partition[3] :    385662976 sectors at    102733824 (type fd)
--
/dev/sdi1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 69503f19:18d85a4b:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:15 2010
     Raid Level : raid1
  Used Dev Size : 584640 (571.03 MiB 598.67 MB)
     Array Size : 584640 (571.03 MiB 598.67 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3

    Update Time : Tue Aug  6 15:32:50 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : ef1608a3 - correct
         Events : 1154


      Number   Major   Minor   RaidDevice State
this     1       8      129        1      active sync   /dev/sdi1

   0     0       8      113        0      active sync   /dev/sdh1
   1     1       8      129        1      active sync   /dev/sdi1
--
/dev/sdi2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : c45928f4:0d89b9fc:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:23 2010
     Raid Level : raid1
  Used Dev Size : 1952704 (1907.26 MiB 1999.57 MB)
     Array Size : 1952704 (1907.26 MiB 1999.57 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Sun Aug  4 01:30:56 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 3ee1c9c2 - correct
         Events : 1134


      Number   Major   Minor   RaidDevice State
this     1       8      130        1      active sync   /dev/sdi2

   0     0       8      114        0      active sync   /dev/sdh2
   1     1       8      130        1      active sync   /dev/sdi2
--
/dev/sdi3:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 2a29861e:b0cbcebd:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:28 2010
     Raid Level : raid1
  Used Dev Size : 48828352 (46.57 GiB 50.00 GB)
     Array Size : 48828352 (46.57 GiB 50.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 5

    Update Time : Tue Aug  6 18:41:13 2013
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 4ac30fef - correct
         Events : 1181


      Number   Major   Minor   RaidDevice State
this     1       8      131        1      active sync   /dev/sdi3

   0     0       8      115        0      active sync   /dev/sdh3
   1     1       8      131        1      active sync   /dev/sdi3
--
/dev/sdi4:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 93154370:b84537e8:9a4db4e9:8afe99d7 (local to host caragdur)
  Creation Time : Wed Aug 18 15:27:33 2010
     Raid Level : raid1
  Used Dev Size : 192831424 (183.90 GiB 197.46 GB)
     Array Size : 192831424 (183.90 GiB 197.46 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 6

    Update Time : Sun Aug  4 01:30:39 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : c3b9f647 - correct
         Events : 1148


      Number   Major   Minor   RaidDevice State
this     1       8      132        1      active sync   /dev/sdi4

   0     0       8      116        0      active sync   /dev/sdh4
   1     1       8      132        1      active sync   /dev/sdi4
--

--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-686-pae root=/dev/mapper/md5_crypt ro quiet

--- grub2:
insmod raid
set root='(mduuid/69503f1918d85a4b9a4db4e98afe99d7)'
  insmod raid
  set root='(mduuid/69503f1918d85a4b9a4db4e98afe99d7)'
	insmod raid
	set root='(mduuid/69503f1918d85a4b9a4db4e98afe99d7)'
	linux	/vmlinuz-3.2.0-4-686-pae root=/dev/mapper/md5_crypt ro  quiet
	insmod raid
	set root='(mduuid/69503f1918d85a4b9a4db4e98afe99d7)'
	linux	/vmlinuz-3.2.0-4-686-pae root=/dev/mapper/md5_crypt ro single 
	insmod raid
	set root='(mduuid/69503f1918d85a4b9a4db4e98afe99d7)'
	linux	/vmlinuz-2.6.32-5-686-bigmem root=/dev/mapper/md5_crypt ro  quiet
	insmod raid
	set root='(mduuid/69503f1918d85a4b9a4db4e98afe99d7)'
	linux	/vmlinuz-2.6.32-5-686-bigmem root=/dev/mapper/md5_crypt ro single 

--- udev:
ii  udev           175-7.2      i386         /dev/ and hotplug management daem
6df86db16655769fa94086d3ee13453a  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---T 1 root disk 9, 2 Aug  6 18:37 /dev/md2
brw-rw---T 1 root disk 9, 3 Apr 25 18:59 /dev/md3
brw-rw---T 1 root disk 9, 4 Apr 25 18:59 /dev/md4
brw-rw---T 1 root disk 9, 5 Apr 25 18:59 /dev/md5
brw-rw---T 1 root disk 9, 6 Apr 25 18:59 /dev/md6

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST32000542AS_5XW07WPQ -> ../../sdg
lrwxrwxrwx 1 root root 10 May 27 20:50 ata-ST32000542AS_5XW07WPQ-part1 -> ../../sdg1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST32000542AS_5XW08QNM -> ../../sde
lrwxrwxrwx 1 root root 10 May 27 20:50 ata-ST32000542AS_5XW08QNM-part1 -> ../../sde1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST32000542AS_5XW092XL -> ../../sdd
lrwxrwxrwx 1 root root 10 May 21 17:03 ata-ST32000542AS_5XW092XL-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST32000542AS_5XW09H88 -> ../../sdf
lrwxrwxrwx 1 root root 10 Aug  6 18:37 ata-ST32000542AS_5XW09H88-part1 -> ../../sdf1
lrwxrwxrwx 1 root root  9 May  5 08:52 ata-ST3250318AS_9VY97R7V -> ../../sdh
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97R7V-part1 -> ../../sdh1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97R7V-part2 -> ../../sdh2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97R7V-part3 -> ../../sdh3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97R7V-part4 -> ../../sdh4
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST3250318AS_9VY97VQN -> ../../sdi
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97VQN-part1 -> ../../sdi1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97VQN-part2 -> ../../sdi2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97VQN-part3 -> ../../sdi3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3250318AS_9VY97VQN-part4 -> ../../sdi4
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST3750640AS_5QD12RJ2 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3750640AS_5QD12RJ2-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST3750640AS_5QD2EGJQ -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3750640AS_5QD2EGJQ-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 ata-ST3750640AS_5QD2F6WT -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ata-ST3750640AS_5QD2F6WT-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May 27 21:11 dm-name-data2-aes -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 dm-name-data6-aes -> ../../dm-3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 dm-name-md4_crypt -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 25 18:58 dm-name-md5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 25 18:58 dm-uuid-CRYPT-LUKS1-b0aab3d1d9ac46c19805de71665e8ccb-md5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 27 21:11 dm-uuid-CRYPT-PLAIN-data2-aes -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 dm-uuid-CRYPT-PLAIN-data6-aes -> ../../dm-3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 dm-uuid-CRYPT-PLAIN-md4_crypt_unformatted -> ../../dm-1
lrwxrwxrwx 1 root root  9 Aug  6 18:37 md-name-caragdur:2 -> ../../md2
lrwxrwxrwx 1 root root  9 Apr 25 18:59 md-uuid-2a29861e:b0cbcebd:9a4db4e9:8afe99d7 -> ../../md5
lrwxrwxrwx 1 root root  9 Apr 25 18:59 md-uuid-69503f19:18d85a4b:9a4db4e9:8afe99d7 -> ../../md3
lrwxrwxrwx 1 root root  9 Apr 25 18:59 md-uuid-93154370:b84537e8:9a4db4e9:8afe99d7 -> ../../md6
lrwxrwxrwx 1 root root  9 Apr 25 18:59 md-uuid-c45928f4:0d89b9fc:9a4db4e9:8afe99d7 -> ../../md4
lrwxrwxrwx 1 root root  9 Aug  6 18:37 md-uuid-eabe508f:3f1bbb94:99df7541:4b91a515 -> ../../md2
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST32000542AS_5XW07WPQ -> ../../sdg
lrwxrwxrwx 1 root root 10 May 27 20:50 scsi-SATA_ST32000542AS_5XW07WPQ-part1 -> ../../sdg1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST32000542AS_5XW08QNM -> ../../sde
lrwxrwxrwx 1 root root 10 May 27 20:50 scsi-SATA_ST32000542AS_5XW08QNM-part1 -> ../../sde1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST32000542AS_5XW092XL -> ../../sdd
lrwxrwxrwx 1 root root 10 May 21 17:03 scsi-SATA_ST32000542AS_5XW092XL-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST32000542AS_5XW09H88 -> ../../sdf
lrwxrwxrwx 1 root root 10 Aug  6 18:37 scsi-SATA_ST32000542AS_5XW09H88-part1 -> ../../sdf1
lrwxrwxrwx 1 root root  9 May  5 08:52 scsi-SATA_ST3250318AS_9VY97R7V -> ../../sdh
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97R7V-part1 -> ../../sdh1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97R7V-part2 -> ../../sdh2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97R7V-part3 -> ../../sdh3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97R7V-part4 -> ../../sdh4
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97VQN -> ../../sdi
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97VQN-part1 -> ../../sdi1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97VQN-part2 -> ../../sdi2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97VQN-part3 -> ../../sdi3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3250318AS_9VY97VQN-part4 -> ../../sdi4
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST3750640AS_5QD12RJ2 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3750640AS_5QD12RJ2-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST3750640AS_5QD2EGJQ -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3750640AS_5QD2EGJQ-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 scsi-SATA_ST3750640AS_5QD2F6WT -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 25 18:59 scsi-SATA_ST3750640AS_5QD2F6WT-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 wwn-0x5000c50018d2a0db -> ../../sdg
lrwxrwxrwx 1 root root 10 May 27 20:50 wwn-0x5000c50018d2a0db-part1 -> ../../sdg1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 wwn-0x5000c50018ea41cc -> ../../sde
lrwxrwxrwx 1 root root 10 May 27 20:50 wwn-0x5000c50018ea41cc-part1 -> ../../sde1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 wwn-0x5000c50018f20062 -> ../../sdd
lrwxrwxrwx 1 root root 10 May 21 17:03 wwn-0x5000c50018f20062-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 wwn-0x5000c5001907abd7 -> ../../sdf
lrwxrwxrwx 1 root root 10 Aug  6 18:37 wwn-0x5000c5001907abd7-part1 -> ../../sdf1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 wwn-0x5000c50026df5785 -> ../../sdi
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df5785-part1 -> ../../sdi1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df5785-part2 -> ../../sdi2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df5785-part3 -> ../../sdi3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df5785-part4 -> ../../sdi4
lrwxrwxrwx 1 root root  9 May  5 08:52 wwn-0x5000c50026df61ef -> ../../sdh
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df61ef-part1 -> ../../sdh1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df61ef-part2 -> ../../sdh2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df61ef-part3 -> ../../sdh3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 wwn-0x5000c50026df61ef-part4 -> ../../sdh4

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sdd
lrwxrwxrwx 1 root root 10 May 21 17:03 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sde
lrwxrwxrwx 1 root root 10 May 27 20:50 pci-0000:00:1f.2-scsi-1:0:0:0-part1 -> ../../sde1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:00:1f.2-scsi-2:0:0:0 -> ../../sdf
lrwxrwxrwx 1 root root 10 Aug  6 18:37 pci-0000:00:1f.2-scsi-2:0:0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:00:1f.2-scsi-3:0:0:0 -> ../../sdg
lrwxrwxrwx 1 root root 10 May 27 20:50 pci-0000:00:1f.2-scsi-3:0:0:0-part1 -> ../../sdg1
lrwxrwxrwx 1 root root  9 May  5 08:52 pci-0000:00:1f.2-scsi-4:0:0:0 -> ../../sdh
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-4:0:0:0-part1 -> ../../sdh1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-4:0:0:0-part2 -> ../../sdh2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-4:0:0:0-part3 -> ../../sdh3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-4:0:0:0-part4 -> ../../sdh4
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:00:1f.2-scsi-5:0:0:0 -> ../../sdi
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-5:0:0:0-part1 -> ../../sdi1
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-5:0:0:0-part2 -> ../../sdi2
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-5:0:0:0-part3 -> ../../sdi3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:00:1f.2-scsi-5:0:0:0-part4 -> ../../sdi4
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:04:04.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:04:04.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:04:04.0-scsi-3:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:04:04.0-scsi-3:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Apr 25 18:59 pci-0000:04:04.0-scsi-4:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 25 18:59 pci-0000:04:04.0-scsi-4:0:0:0-part1 -> ../../sdc1

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Apr 25 18:58 25a9f08f-8778-4fae-8c3f-7d9864335641 -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 27 21:11 2f29a92b-3c5c-449c-9362-2844ca35da7d -> ../../dm-2
lrwxrwxrwx 1 root root  9 Apr 25 18:59 64d9381c-f2cf-47b5-8190-608c4f04cd01 -> ../../md3
lrwxrwxrwx 1 root root 10 Apr 25 18:59 653baa63-60a1-465f-92ef-7bb96b632a5b -> ../../dm-3
lrwxrwxrwx 1 root root  9 Apr 25 18:59 b0aab3d1-d9ac-46c1-9805-de71665e8ccb -> ../../md5
lrwxrwxrwx 1 root root 10 Apr 25 18:59 ce50777d-afb0-41b2-9ae8-3b9b81e953d2 -> ../../dm-1

/dev/md:
total 0

Auto-generated on Tue, 06 Aug 2013 18:41:13 +0200
by mdadm bugscript 3.2.5-5

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf      1.5.49
ii  initscripts  2.88dsf-41
ii  libc6        2.13-38
ii  lsb-base     4.1+Debian8+deb7u1
ii  makedev      2.3.1-92
ii  udev         175-7.2

Versions of packages mdadm recommends:
ii  module-init-tools               9-3
ii  postfix [mail-transport-agent]  2.9.6-2

mdadm suggests no packages.

-- debconf information:
  mdadm/autostart: true
  mdadm/mail_to: root
  mdadm/initrdstart_msg_errmd:
* mdadm/initrdstart: all
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_notinconf: false
  mdadm/initrdstart_msg_errexist:
  mdadm/initrdstart_msg_intro:
  mdadm/autocheck: true
  mdadm/initrdstart_msg_errblock:
  mdadm/start_daemon: true



More information about the pkg-mdadm-devel mailing list