Bug#837964: mdadm --add fails, can not add spares (regression)

Anthony DeRobertis anthony at derobert.net
Thu Sep 15 23:04:21 UTC 2016


Package: mdadm
Version: 3.4-4
Severity: important

I attempted both of these:

mdadm --add /dev/md127 /dev/sdb3
mdadm --add-spare /dev/md127 /dev/sdb3

both failed (sorry, didn't take down the exact error message), giving
this in the kernel log:

[   24.109034] md: sdb3 does not have a valid v1.0 superblock, not importing!
[   24.109105] md: md_import_device returned -22

I grabbed mdadm 3.3.2-5+deb8u1 from stable, extracted it to a random
directory ("ugh") in /root (with dpkg -x), then:

/root/ugh/sbin/mdadm -a /dev/md127 /dev/sdb3

... worked.

So it appears adding spares has been broken, at least in some cases, in
newer mdadm.

If you'd like, I'll try to play around with it tomorrow and see if I can
reproduce on loopback devices.

-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root,derobert at gmail.com
ARRAY /dev/md0 metadata=0.90 UUID=a1b8efea:2114fd99:28a5f279:815d333e
ARRAY /dev/md/pv0 metadata=1.0 UUID=c840d0de:0626d783:3f1b28dc:c5ec649a name=Zia:pv0

--- /etc/default/mdadm
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [raid10] [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] 
md127 : active raid10 sdb3[7](S) sde3[5] sdc3[2] sdd3[6] sda3[4]
      1953005568 blocks super 1.0 512K chunks 2 far-copies [4/4] [UUUU]
      bitmap: 12/466 pages [48KB], 2048KB chunk

md0 : active raid1 sdd1[3] sde1[2] sdc1[0] sda1[1] sdb1[4]
      128384 blocks [5/5] [UUUUU]
      bitmap: 0/16 pages [0KB], 4KB chunk

unused devices: <none>

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

   8        0 1953514584 sda
   8        1     128488 sda1
   8        2     128520 sda2
   8        3  976502992 sda3
   8       64  976762584 sde
   8       65     128488 sde1
   8       66     128520 sde2
   8       67  976502992 sde3
   8       48 1953514584 sdd
   8       49     128488 sdd1
   8       50     128520 sdd2
   8       51  976502992 sdd3
   8       16 1953514584 sdb
   8       17     128488 sdb1
   8       18     128520 sdb2
   8       19  976502992 sdb3
   8       32  976762584 sdc
   8       33     128488 sdc1
   8       34     128520 sdc2
   8       35  976502992 sdc3
   9        0     128384 md0
   9      127 1953005568 md127
 253        0    5857280 dm-0
 253        1  157286400 dm-1
 253        2  471859200 dm-2
 253        3  209715200 dm-3
 253        4  157286400 dm-4
 253        5   40222720 dm-5
 253        6     753664 dm-6
 253        7  714629120 dm-7
  11        0    1048575 sr0
 253        8    5857280 dm-8

--- LVM physical volumes:
  PV         VG  Fmt  Attr PSize PFree  
  /dev/md127 Zia lvm2 a--  1.82t 186.34g
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=12338360k,nr_inodes=3084590,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=2468440k,mode=755)
/dev/mapper/Zia-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /xfer/5 type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1565)
systemd-1 on /xfer/4 type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1569)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1575)
systemd-1 on /xfer/2 type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1579)
systemd-1 on /xfer/3 type autofs (rw,relatime,fd=40,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1586)
systemd-1 on /xfer/1 type autofs (rw,relatime,fd=41,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1588)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/mapper/Zia-srv on /srv type ext4 (rw,relatime,data=ordered)
/dev/mapper/Zia-home on /home type ext4 (rw,relatime,data=ordered)
/dev/md0 on /boot type ext2 (rw,noatime,block_validity,barrier,user_xattr,acl)
<snip>
tmpfs on /run/user/123 type tmpfs (rw,nosuid,nodev,relatime,size=2468436k,mode=700,uid=123,gid=148)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=2468436k,mode=700,uid=1000,gid=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

--- initrd.img-4.6.0-1-amd64:

gzip: /boot/initrd.img-4.6.0-1-amd64: not in gzip format
cpio: premature end of archive

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

--- /proc/modules:
dm_crypt 24576 1 - Live 0xffffffffc0d95000 (E)
raid456 106496 0 - Live 0xffffffffc0173000 (E)
libcrc32c 16384 1 raid456, Live 0xffffffffc016b000 (E)
async_raid6_recov 20480 1 raid456, Live 0xffffffffc015b000 (E)
async_memcpy 16384 2 raid456,async_raid6_recov, Live 0xffffffffc0156000 (E)
async_pq 16384 2 raid456,async_raid6_recov, Live 0xffffffffc014e000 (E)
async_xor 16384 3 raid456,async_raid6_recov,async_pq, Live 0xffffffffc0149000 (E)
async_tx 16384 5 raid456,async_raid6_recov,async_memcpy,async_pq,async_xor, Live 0xffffffffc00d6000 (E)
raid6_pq 102400 3 raid456,async_raid6_recov,async_pq, Live 0xffffffffc012f000 (E)
raid0 20480 0 - Live 0xffffffffc008c000 (E)
multipath 16384 0 - Live 0xffffffffc0057000 (E)
linear 16384 0 - Live 0xffffffffc0046000 (E)
dm_mod 106496 29 dm_crypt, Live 0xffffffffc0114000 (E)
raid1 36864 1 - Live 0xffffffffc0082000 (E)
raid10 45056 1 - Live 0xffffffffc006b000 (E)
md_mod 131072 8 raid456,raid0,multipath,linear,raid1,raid10, Live 0xffffffffc00db000 (E)

--- /var/log/syslog:

--- volume detail:
/dev/sda:
   MBR Magic : aa55
Partition[0] :       256977 sectors at           63 (type da)
Partition[1] :       257040 sectors at       257040 (type 0c)
Partition[2] :   1953005985 sectors at       514080 (type da)
--
/dev/sda1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1b8efea:2114fd99:28a5f279:815d333e (local to host Zia)
  Creation Time : Wed Jun  9 13:10:40 2010
     Raid Level : raid1
  Used Dev Size : 128384 (125.38 MiB 131.47 MB)
     Array Size : 128384 (125.38 MiB 131.47 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Thu Sep 15 18:51:30 2016
          State : clean
Internal Bitmap : present
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : b9e98ab6 - correct
         Events : 8126


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

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       65        2      active sync   /dev/sde1
   3     3       8       49        3      active sync   /dev/sdd1
   4     4       8       17        4      active sync   /dev/sdb1
--
/dev/sda2:
   MBR Magic : aa55
--
/dev/sda3:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : c840d0de:0626d783:3f1b28dc:c5ec649a
           Name : Zia:pv0  (local to host Zia)
  Creation Time : Wed Jun 16 14:25:08 2010
     Raid Level : raid10
   Raid Devices : 4

 Avail Dev Size : 1953005704 (931.27 GiB 999.94 GB)
     Array Size : 1953005568 (1862.53 GiB 1999.88 GB)
  Used Dev Size : 1953005568 (931.27 GiB 999.94 GB)
   Super Offset : 1953005968 sectors
   Unused Space : before=0 sectors, after=166 sectors
          State : active
    Device UUID : 9000db47:4b7fb0ae:46437fc6:61f3d613

Internal Bitmap : -234 sectors from superblock
    Update Time : Thu Sep 15 18:55:03 2016
  Bad Block Log : 512 entries available at offset -8 sectors
       Checksum : 8e5a3791 - correct
         Events : 1121693

         Layout : far=2
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdb:
   MBR Magic : aa55
Partition[0] :       256977 sectors at           63 (type da)
Partition[1] :       257040 sectors at       257040 (type 0c)
Partition[2] :   1953005985 sectors at       514080 (type da)
--
/dev/sdb1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1b8efea:2114fd99:28a5f279:815d333e (local to host Zia)
  Creation Time : Wed Jun  9 13:10:40 2010
     Raid Level : raid1
  Used Dev Size : 128384 (125.38 MiB 131.47 MB)
     Array Size : 128384 (125.38 MiB 131.47 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Thu Sep 15 18:51:30 2016
          State : clean
Internal Bitmap : present
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : b9e98acc - correct
         Events : 8126


      Number   Major   Minor   RaidDevice State
this     4       8       17        4      active sync   /dev/sdb1

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       65        2      active sync   /dev/sde1
   3     3       8       49        3      active sync   /dev/sdd1
   4     4       8       17        4      active sync   /dev/sdb1
--
/dev/sdb2 is not recognised by mdadm.
/dev/sdb3:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : c840d0de:0626d783:3f1b28dc:c5ec649a
           Name : Zia:pv0  (local to host Zia)
  Creation Time : Wed Jun 16 14:25:08 2010
     Raid Level : raid10
   Raid Devices : 4

 Avail Dev Size : 1953005704 (931.27 GiB 999.94 GB)
     Array Size : 1953005568 (1862.53 GiB 1999.88 GB)
  Used Dev Size : 1953005568 (931.27 GiB 999.94 GB)
   Super Offset : 1953005968 sectors
   Unused Space : before=0 sectors, after=166 sectors
          State : active
    Device UUID : 542ac18f:30d3f2f0:f8cbe98b:59a44e0d

Internal Bitmap : -234 sectors from superblock
    Update Time : Thu Sep 15 18:55:03 2016
  Bad Block Log : 512 entries available at offset -8 sectors
       Checksum : d7656f67 - correct
         Events : 1121693

         Layout : far=2
     Chunk Size : 512K

   Device Role : spare
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc:
   MBR Magic : aa55
Partition[0] :       256977 sectors at           63 (type da)
Partition[1] :       257040 sectors at       257040 (type 0c)
Partition[2] :   1953005985 sectors at       514080 (type da)
--
/dev/sdc1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1b8efea:2114fd99:28a5f279:815d333e (local to host Zia)
  Creation Time : Wed Jun  9 13:10:40 2010
     Raid Level : raid1
  Used Dev Size : 128384 (125.38 MiB 131.47 MB)
     Array Size : 128384 (125.38 MiB 131.47 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Thu Sep 15 18:51:30 2016
          State : clean
Internal Bitmap : present
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : b9e98ad4 - correct
         Events : 8126


      Number   Major   Minor   RaidDevice State
this     0       8       33        0      active sync   /dev/sdc1

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       65        2      active sync   /dev/sde1
   3     3       8       49        3      active sync   /dev/sdd1
   4     4       8       17        4      active sync   /dev/sdb1
--
/dev/sdc2:
   MBR Magic : aa55
--
/dev/sdc3:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : c840d0de:0626d783:3f1b28dc:c5ec649a
           Name : Zia:pv0  (local to host Zia)
  Creation Time : Wed Jun 16 14:25:08 2010
     Raid Level : raid10
   Raid Devices : 4

 Avail Dev Size : 1953005712 (931.27 GiB 999.94 GB)
     Array Size : 1953005568 (1862.53 GiB 1999.88 GB)
  Used Dev Size : 1953005568 (931.27 GiB 999.94 GB)
   Super Offset : 1953005968 sectors
   Unused Space : before=0 sectors, after=166 sectors
          State : active
    Device UUID : 5a90e32a:23f5f594:6f49fd8b:e386b6bc

Internal Bitmap : -234 sectors from superblock
    Update Time : Thu Sep 15 18:55:03 2016
       Checksum : c5fe576b - correct
         Events : 1121693

         Layout : far=2
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdd:
   MBR Magic : aa55
Partition[0] :       256977 sectors at           63 (type da)
Partition[1] :       257040 sectors at       257040 (type 0c)
Partition[2] :   1953005985 sectors at       514080 (type da)
--
/dev/sdd1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1b8efea:2114fd99:28a5f279:815d333e (local to host Zia)
  Creation Time : Wed Jun  9 13:10:40 2010
     Raid Level : raid1
  Used Dev Size : 128384 (125.38 MiB 131.47 MB)
     Array Size : 128384 (125.38 MiB 131.47 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Thu Sep 15 18:51:30 2016
          State : clean
Internal Bitmap : present
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : b9e98aea - correct
         Events : 8126


      Number   Major   Minor   RaidDevice State
this     3       8       49        3      active sync   /dev/sdd1

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       65        2      active sync   /dev/sde1
   3     3       8       49        3      active sync   /dev/sdd1
   4     4       8       17        4      active sync   /dev/sdb1
--
/dev/sdd2:
   MBR Magic : aa55
--
/dev/sdd3:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : c840d0de:0626d783:3f1b28dc:c5ec649a
           Name : Zia:pv0  (local to host Zia)
  Creation Time : Wed Jun 16 14:25:08 2010
     Raid Level : raid10
   Raid Devices : 4

 Avail Dev Size : 1953005704 (931.27 GiB 999.94 GB)
     Array Size : 1953005568 (1862.53 GiB 1999.88 GB)
  Used Dev Size : 1953005568 (931.27 GiB 999.94 GB)
   Super Offset : 1953005968 sectors
   Unused Space : before=0 sectors, after=166 sectors
          State : active
    Device UUID : 9bd96dfe:fd4de8d9:a576e3a1:d6ec8a8b

Internal Bitmap : -234 sectors from superblock
    Update Time : Thu Sep 15 18:55:03 2016
  Bad Block Log : 512 entries available at offset -8 sectors
       Checksum : c33d0e25 - correct
         Events : 1121693

         Layout : far=2
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sde:
   MBR Magic : aa55
Partition[0] :       256977 sectors at           63 (type da)
Partition[1] :       257040 sectors at       257040 (type 0c)
Partition[2] :   1953005985 sectors at       514080 (type da)
--
/dev/sde1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1b8efea:2114fd99:28a5f279:815d333e (local to host Zia)
  Creation Time : Wed Jun  9 13:10:40 2010
     Raid Level : raid1
  Used Dev Size : 128384 (125.38 MiB 131.47 MB)
     Array Size : 128384 (125.38 MiB 131.47 MB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0

    Update Time : Thu Sep 15 18:51:30 2016
          State : clean
Internal Bitmap : present
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
       Checksum : b9e98af8 - correct
         Events : 8126


      Number   Major   Minor   RaidDevice State
this     2       8       65        2      active sync   /dev/sde1

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8        1        1      active sync   /dev/sda1
   2     2       8       65        2      active sync   /dev/sde1
   3     3       8       49        3      active sync   /dev/sdd1
   4     4       8       17        4      active sync   /dev/sdb1
--
/dev/sde2:
   MBR Magic : aa55
--
/dev/sde3:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : c840d0de:0626d783:3f1b28dc:c5ec649a
           Name : Zia:pv0  (local to host Zia)
  Creation Time : Wed Jun 16 14:25:08 2010
     Raid Level : raid10
   Raid Devices : 4

 Avail Dev Size : 1953005704 (931.27 GiB 999.94 GB)
     Array Size : 1953005568 (1862.53 GiB 1999.88 GB)
  Used Dev Size : 1953005568 (931.27 GiB 999.94 GB)
   Super Offset : 1953005968 sectors
   Unused Space : before=0 sectors, after=166 sectors
          State : active
    Device UUID : 51f46b1d:feafc697:1762536e:0d94350c

Internal Bitmap : -234 sectors from superblock
    Update Time : Thu Sep 15 18:55:03 2016
  Bad Block Log : 512 entries available at offset -8 sectors
       Checksum : ed346c02 - correct
         Events : 1121693

         Layout : far=2
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
--

--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.6.0-1-amd64 root=/dev/mapper/Zia-root ro single verbose

--- grub2:
set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
	set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
	linux	/vmlinuz-4.6.0-1-amd64 root=/dev/mapper/Zia-root ro verbose transparent_hugepage=always
		set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
		linux	/vmlinuz-4.6.0-1-amd64 root=/dev/mapper/Zia-root ro verbose transparent_hugepage=always
		set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
		linux	/vmlinuz-4.6.0-1-amd64 root=/dev/mapper/Zia-root ro single verbose
		set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
		linux	/vmlinuz-4.5.0-2-amd64 root=/dev/mapper/Zia-root ro verbose transparent_hugepage=always
		set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
		linux	/vmlinuz-4.5.0-2-amd64 root=/dev/mapper/Zia-root ro single verbose
	set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
	set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
	set root='mduuid/a1b8efea2114fd9928a5f279815d333e'
	set root='mduuid/a1b8efea2114fd9928a5f279815d333e'

--- udev:
ii  udev           231-4        amd64        /dev/ and hotplug management daem
aa83f41de49462d05e446cfc5e14e74b  /lib/udev/rules.d/63-md-raid-arrays.rules
5de7d0b70cd948d00bb38ca75ad5f288  /lib/udev/rules.d/64-md-raid-assembly.rules
ac6ee33b9542ff5cd26c36fa6f04fb9e  /lib/udev/rules.d/99-systemd.rules

--- /dev:
brw-rw---- 1 root disk 9,   0 Sep 15 18:47 /dev/md0
brw-rw---- 1 root disk 9, 127 Sep 15 18:55 /dev/md127

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Sep 15 18:47 ata-ST2000NM0011_Z1P3QHZL -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST2000NM0011_Z1P3QHZL-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST2000NM0011_Z1P3QHZL-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 15 18:55 ata-ST2000NM0011_Z1P3QHZL-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 ata-ST2000NM0011_Z1P3Y9TJ -> ../../sdd
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST2000NM0011_Z1P3Y9TJ-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST2000NM0011_Z1P3Y9TJ-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST2000NM0011_Z1P3Y9TJ-part3 -> ../../sdd3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 ata-ST31000528AS_5VP21XMX -> ../../sde
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST31000528AS_5VP21XMX-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST31000528AS_5VP21XMX-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST31000528AS_5VP21XMX-part3 -> ../../sde3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 ata-ST31000528AS_9VP4Y27P -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST31000528AS_9VP4Y27P-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST31000528AS_9VP4Y27P-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST31000528AS_9VP4Y27P-part3 -> ../../sdc3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 ata-ST32000644NS_9WM58ME0 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST32000644NS_9WM58ME0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST32000644NS_9WM58ME0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ata-ST32000644NS_9WM58ME0-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 ata-TSSTcorpCD_DVDW_SH-S183L -> ../../sr0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-Guriel--old -> ../../dm-6
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-Phoenix--bacula -> ../../dm-4
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-bennu_backup -> ../../dm-7
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-home -> ../../dm-3
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-ivr6--old -> ../../dm-5
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-srv -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-swap -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-name-Zia-swap_crypt -> ../../dm-8
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-CRYPT-PLAIN-Zia-swap_crypt -> ../../dm-8
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKs0tGZD0jo4Wc5Tvc2ld1tacpXU9oJXKuD -> ../../dm-6
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKs6Ky4zJdbe6M3i8wo4W69aX59p9ra7PWd -> ../../dm-3
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKsGOfZsvFB2THbzMOxt0uC20QYrg0jQTHs -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKsJEeQJCP6LBBuWkdqwgFpSWUc2tzhwyUc -> ../../dm-4
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKsanPe08Tj1mhBYKSzaw1oxiJmGijn4qMD -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKsc0Ee2vfe1JKdzld6AkPjHilm2XQ4A2PN -> ../../dm-7
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKscnf2BLT6DdzIj8s0dKY3cpwdDKuFxVjy -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 dm-uuid-LVM-SH8fTIWEf1eODHYC9XAHPZYb9BDp4qKsdSlDDMtcka1k4re7q6Nkc0y1L4tlJDdN -> ../../dm-5
lrwxrwxrwx 1 root root 11 Sep 15 18:55 lvm-pv-uuid-Yv70S9-1kYa-jGzw-dtZp-3b5I-0BLM-xvWo9J -> ../../md127
lrwxrwxrwx 1 root root 11 Sep 15 18:55 md-name-Zia:pv0 -> ../../md127
lrwxrwxrwx 1 root root  9 Sep 15 18:47 md-uuid-a1b8efea:2114fd99:28a5f279:815d333e -> ../../md0
lrwxrwxrwx 1 root root 11 Sep 15 18:55 md-uuid-c840d0de:0626d783:3f1b28dc:c5ec649a -> ../../md127
lrwxrwxrwx 1 root root  9 Sep 15 18:47 wwn-0x5000c5001c33a889 -> ../../sde
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5001c33a889-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5001c33a889-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5001c33a889-part3 -> ../../sde3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 wwn-0x5000c5001fcf2fc2 -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5001fcf2fc2-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5001fcf2fc2-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5001fcf2fc2-part3 -> ../../sdc3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 wwn-0x5000c5002e58e649 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5002e58e649-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5002e58e649-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5002e58e649-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 wwn-0x5000c5004e50d62e -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5004e50d62e-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5004e50d62e-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 15 18:55 wwn-0x5000c5004e50d62e-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 wwn-0x5000c5004e8b80b2 -> ../../sdd
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5004e8b80b2-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5004e8b80b2-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 wwn-0x5000c5004e8b80b2-part3 -> ../../sdd3

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 HOME -> ../../dm-3
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ROOT -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 SRV -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 XFER3 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 XFER5 -> ../../sde2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 XFER_1 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 XFER_4 -> ../../sdd2

/dev/disk/by-partuuid:
total 0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 000d7ead-01 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 000d7ead-02 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 15 18:55 000d7ead-03 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 15 18:47 000d9c95-01 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 000d9c95-02 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 000d9c95-03 -> ../../sdc3

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Sep 15 18:47 pci-0000:00:1f.2-ata-1 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-1-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-1-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-1-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 pci-0000:00:1f.2-ata-2 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 15 18:47 pci-0000:00:1f.2-ata-3 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-3-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-3-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 15 18:55 pci-0000:00:1f.2-ata-3-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 pci-0000:00:1f.2-ata-4 -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-4-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-4-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-4-part3 -> ../../sdc3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 pci-0000:00:1f.2-ata-5 -> ../../sdd
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-5-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-5-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-5-part3 -> ../../sdd3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 pci-0000:00:1f.2-ata-6 -> ../../sde
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-6-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-6-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 pci-0000:00:1f.2-ata-6-part3 -> ../../sde3

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 059E-729A -> ../../sdd2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 0710-6BD2 -> ../../sde2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 148d479d-0655-4ba7-96ec-4afee72ff97a -> ../../dm-3
lrwxrwxrwx 1 root root  9 Sep 15 18:47 187cd07e-1407-4120-ab17-b69c82bf2ffd -> ../../md0
lrwxrwxrwx 1 root root 10 Sep 15 18:47 1f22a10e-8c05-4637-88c4-2872840fce2a -> ../../dm-5
lrwxrwxrwx 1 root root 10 Sep 15 18:47 371d0a36-b8a5-4909-bc99-96e762954fa0 -> ../../dm-8
lrwxrwxrwx 1 root root 10 Sep 15 18:47 421E-03EE -> ../../sdc2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 D474-FF8E -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 a121fba0-0471-426f-9ef6-dc88d0807d52 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 15 18:47 b0e10c80-9226-404d-aba9-8c949953965f -> ../../dm-4
lrwxrwxrwx 1 root root 10 Sep 15 18:47 e0cf9e05-788e-4371-8c5e-5b984993478b -> ../../dm-7
lrwxrwxrwx 1 root root 10 Sep 15 18:47 e2eb7b0d-3f64-49b2-bcc8-152e044ededb -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 15 18:47 ec374498-89a4-48ed-9cfd-d2b21c2265fc -> ../../dm-6

/dev/md:
total 0
lrwxrwxrwx 1 root root 8 Sep 15 18:55 pv0 -> ../md127

Auto-generated on Thu, 15 Sep 2016 18:56:50 -0400 by mdadm bugscript

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  libc6                  2.23-5
ii  lsb-base               9.20160629
ii  udev                   231-4

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.87-3
ii  kmod                                       22-1.1

mdadm suggests no packages.

-- Configuration Files:
/etc/logcheck/ignore.d.server/mdadm [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/mdadm'
/etc/logcheck/violations.d/mdadm [Errno 13] Permission denied: u'/etc/logcheck/violations.d/mdadm'

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



More information about the pkg-mdadm-devel mailing list