Bug#784070: mdadm Software RAID1 with GPT on Debian 8.0.0 amd64 - Does not mount/boot on disk removal

Sad Person infogeekx at gmx.com
Sat May 2 18:41:44 UTC 2015


Package: mdadm
Version: 3.3.2-5
Severity: critical



-- Package-specific info:
--- mdadm.conf
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md1  metadata=1.2 UUID=856fee1e:feccb34a:f798724a:36e91658 name=FluffyBunny:1
ARRAY /dev/md0  metadata=1.2 UUID=b597bb3c:f50fff2a:f395548b:ccbb48d1 name=FluffyBunny:0

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

--- /proc/mdstat:
Personalities : [raid1] 
md1 : active (auto-read-only) raid1 sdb2[0] sdc2[1] sdd2[2]
      7808000 blocks super 1.2 [3/3] [UUU]
      
md0 : active raid1 sdd3[2] sdc3[1] sdb3[0]
      1945569280 blocks super 1.2 [3/3] [UUU]
      bitmap: 0/15 pages [0KB], 65536KB chunk

unused devices: <none>

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

  11        0    1048575 sr0
   8        0  976762584 sda
   8        1  976761560 sda1
   8       16 1953514584 sdb
   8       17       1024 sdb1
   8       18    7812096 sdb2
   8       19 1945700352 sdb3
   8       32 1953514584 sdc
   8       33       1024 sdc1
   8       34    7812096 sdc2
   8       35 1945700352 sdc3
   8       48 1953514584 sdd
   8       49       1024 sdd1
   8       50    7812096 sdd2
   8       51 1945700352 sdd3
   9        0 1945569280 md0
   9        1    7808000 md1

--- 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=2041852,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,relatime,size=3270412k,mode=755)
/dev/md0 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/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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
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)

--- initrd.img-3.16.0-4-amd64:
92433 blocks
599bbf3fe6093157a26863dcb59cdf5d  ./scripts/local-top/mdadm
da9588388e9d3dbd528a6e7aa2dd3fe7  ./sbin/mdadm
5e35b64dad54196cb721776566c04545  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid456.ko
a446065a313394c333967e3540d32923  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid10.ko
b9e70a0d04a34eecc2fff9722a27af99  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-mod.ko
faf18e3ae8bbb882f45fa147450ba375  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/multipath.ko
9bd0a33fa738d559a1c4ff83cace11ba  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/linear.ko
b0d26ac52a08e149dd76407ede65366f  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/md-mod.ko
7a737d39c9b208cb27ada8751b601bd9  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid1.ko
f5f26f436a749b8d908e4155764e5d64  ./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid0.ko
4fa29a08bf629f67a35e34443a6290e4  ./conf/mdadm
d3be82c0f275d6c25b04d388baf9e836  ./etc/modprobe.d/mdadm.conf
ae5f7761fa2cff7b86e81fed2ee5db1f  ./etc/mdadm/mdadm.conf

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

--- /proc/modules:
raid1 34596 2 - Live 0xffffffffa0078000
md_mod 107672 3 raid1, Live 0xffffffffa0170000

--- /var/log/syslog:

--- volume detail:
/dev/sda:
   MBR Magic : aa55
Partition[0] :   1953523120 sectors at         2048 (type 83)
--
/dev/sda1 is not recognised by mdadm.
/dev/sdb:
   MBR Magic : aa55
Partition[0] :   3907029167 sectors at            1 (type ee)
--
/dev/sdb1 is not recognised by mdadm.
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 856fee1e:feccb34a:f798724a:36e91658
           Name : FluffyBunny:1  (local to host FluffyBunny)
  Creation Time : Sat May  2 02:12:51 2015
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 15616000 (7.45 GiB 8.00 GB)
     Array Size : 7808000 (7.45 GiB 8.00 GB)
    Data Offset : 8192 sectors
   Super Offset : 8 sectors
   Unused Space : before=8104 sectors, after=0 sectors
          State : clean
    Device UUID : d4e740f8:e381fe25:370672a6:315164ef

    Update Time : Sat May  2 02:26:44 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : e81c0f3 - correct
         Events : 22


   Device Role : Active device 0
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdb3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : b597bb3c:f50fff2a:f395548b:ccbb48d1
           Name : FluffyBunny:0  (local to host FluffyBunny)
  Creation Time : Sat May  2 02:12:21 2015
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 3891138560 (1855.44 GiB 1992.26 GB)
     Array Size : 1945569280 (1855.44 GiB 1992.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : b208f055:ab14f3c3:b81b6720:1c63c990

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May  2 21:10:30 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : abb05a21 - correct
         Events : 3116


   Device Role : Active device 0
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc:
   MBR Magic : aa55
Partition[0] :   3907029167 sectors at            1 (type ee)
--
/dev/sdc1 is not recognised by mdadm.
/dev/sdc2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 856fee1e:feccb34a:f798724a:36e91658
           Name : FluffyBunny:1  (local to host FluffyBunny)
  Creation Time : Sat May  2 02:12:51 2015
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 15616000 (7.45 GiB 8.00 GB)
     Array Size : 7808000 (7.45 GiB 8.00 GB)
    Data Offset : 8192 sectors
   Super Offset : 8 sectors
   Unused Space : before=8104 sectors, after=0 sectors
          State : clean
    Device UUID : 8d7b3a6b:988c84bc:61f3b7fd:5af69f4e

    Update Time : Sat May  2 02:26:44 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : ce82f1b4 - correct
         Events : 22


   Device Role : Active device 1
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : b597bb3c:f50fff2a:f395548b:ccbb48d1
           Name : FluffyBunny:0  (local to host FluffyBunny)
  Creation Time : Sat May  2 02:12:21 2015
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 3891138560 (1855.44 GiB 1992.26 GB)
     Array Size : 1945569280 (1855.44 GiB 1992.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : f127190b:40781589:793bec05:b16884f6

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May  2 21:10:30 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 713c024c - correct
         Events : 3116


   Device Role : Active device 1
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdd:
   MBR Magic : aa55
Partition[0] :   3907029167 sectors at            1 (type ee)
--
/dev/sdd1 is not recognised by mdadm.
/dev/sdd2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 856fee1e:feccb34a:f798724a:36e91658
           Name : FluffyBunny:1  (local to host FluffyBunny)
  Creation Time : Sat May  2 02:12:51 2015
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 15616000 (7.45 GiB 8.00 GB)
     Array Size : 7808000 (7.45 GiB 8.00 GB)
    Data Offset : 8192 sectors
   Super Offset : 8 sectors
   Unused Space : before=8104 sectors, after=0 sectors
          State : clean
    Device UUID : 282482ea:d5507002:3e19c919:ac148784

    Update Time : Sat May  2 02:26:44 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : e5aea2bb - correct
         Events : 22


   Device Role : Active device 2
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdd3:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : b597bb3c:f50fff2a:f395548b:ccbb48d1
           Name : FluffyBunny:0  (local to host FluffyBunny)
  Creation Time : Sat May  2 02:12:21 2015
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 3891138560 (1855.44 GiB 1992.26 GB)
     Array Size : 1945569280 (1855.44 GiB 1992.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=0 sectors
          State : clean
    Device UUID : b19c156a:ee125aa6:6df611ec:2b3f1029

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat May  2 21:10:30 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 62ea32a - correct
         Events : 3116


   Device Role : Active device 2
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sde is not recognised by mdadm.

--- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=afadaec3-ee72-4fd4-aea0-89c2d8751099 ro quiet

--- grub2:
set root='mduuid/b597bb3cf50fff2af395548bccbb48d1'
	set root='mduuid/b597bb3cf50fff2af395548bccbb48d1'
	linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=afadaec3-ee72-4fd4-aea0-89c2d8751099 ro  quiet
		set root='mduuid/b597bb3cf50fff2af395548bccbb48d1'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=afadaec3-ee72-4fd4-aea0-89c2d8751099 ro  quiet
		set root='mduuid/b597bb3cf50fff2af395548bccbb48d1'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=afadaec3-ee72-4fd4-aea0-89c2d8751099 ro single 

--- udev:
ii  udev           215-17       amd64        /dev/ and hotplug management daem
e95faba71945b1dcc9749adc5dcd80f6  /lib/udev/rules.d/63-md-raid-arrays.rules
66f83b36d1edf5d9c3611c1c521f3dd8  /lib/udev/rules.d/64-md-raid-assembly.rules
13e82ea039db387bce78de8e7aeb2f34  /lib/udev/rules.d/99-systemd.rules

--- /dev:
brw-rw---- 1 root disk 9, 0 May  2 19:45 /dev/md0
brw-rw---- 1 root disk 9, 1 May  2 19:45 /dev/md1

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 May  2 19:45 ata-Hitachi_HDS721010CLA330_JP2940N10AJ88V -> ../../sda
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-Hitachi_HDS721010CLA330_JP2940N10AJ88V-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FGTGGAS -> ../../sdb
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FGTGGAS-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FGTGGAS-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FGTGGAS-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FNDV2AS -> ../../sdc
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FNDV2AS-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FNDV2AS-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_35FNDV2AS-part3 -> ../../sdc3
lrwxrwxrwx 1 root root  9 May  2 19:45 ata-TOSHIBA_DT01ACA200_Y4H5E45TS -> ../../sdd
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_Y4H5E45TS-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_Y4H5E45TS-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 May  2 19:45 ata-TOSHIBA_DT01ACA200_Y4H5E45TS-part3 -> ../../sdd3
lrwxrwxrwx 1 root root  9 May  2 19:45 ata-TSSTcorp_CDDVDW_SH-224BB_R8WS6GACA0034D -> ../../sr0
lrwxrwxrwx 1 root root  9 May  2 19:45 md-name-FluffyBunny:0 -> ../../md0
lrwxrwxrwx 1 root root  9 May  2 19:45 md-name-FluffyBunny:1 -> ../../md1
lrwxrwxrwx 1 root root  9 May  2 19:45 md-uuid-856fee1e:feccb34a:f798724a:36e91658 -> ../../md1
lrwxrwxrwx 1 root root  9 May  2 19:45 md-uuid-b597bb3c:f50fff2a:f395548b:ccbb48d1 -> ../../md0
lrwxrwxrwx 1 root root  9 May  2 19:45 usb-Generic_Storage_Device_00000000000006-0:0 -> ../../sde
lrwxrwxrwx 1 root root  9 May  2 19:45 wwn-0x5000039ffadea62b -> ../../sdd
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffadea62b-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffadea62b-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffadea62b-part3 -> ../../sdd3
lrwxrwxrwx 1 root root  9 May  2 19:45 wwn-0x5000039ffaf0ff8d -> ../../sdb
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffaf0ff8d-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffaf0ff8d-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffaf0ff8d-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 May  2 19:45 wwn-0x5000039ffaf38e23 -> ../../sdc
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffaf38e23-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffaf38e23-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000039ffaf38e23-part3 -> ../../sdc3
lrwxrwxrwx 1 root root  9 May  2 19:45 wwn-0x5000cca39cc4c8c6 -> ../../sda
lrwxrwxrwx 1 root root 10 May  2 19:45 wwn-0x5000cca39cc4c8c6-part1 -> ../../sda1

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 May  2 19:45 Data\x20Disk\x201 -> ../../sda1
lrwxrwxrwx 1 root root  9 May  2 19:45 System\x20RAID1 -> ../../md0

/dev/disk/by-partuuid:
total 0
lrwxrwxrwx 1 root root 10 May  2 19:45 173fcb32-6616-42d3-aa19-09bd8a59772a -> ../../sdb1
lrwxrwxrwx 1 root root 10 May  2 19:45 41a15794-2f6a-48fe-bac5-17a0f7d59817 -> ../../sdc3
lrwxrwxrwx 1 root root 10 May  2 19:45 4b2f3842-21d3-4c3c-9090-af2576d9b6a8 -> ../../sdc2
lrwxrwxrwx 1 root root 10 May  2 19:45 6b94c75a-1e3a-4252-9a30-18fec64c0ef5 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May  2 19:45 6c847c75-f424-4603-8cea-249607a30fe9 -> ../../sdd1
lrwxrwxrwx 1 root root 10 May  2 19:45 891f02b7-5f9e-4d65-97f8-074605d01c95 -> ../../sdd2
lrwxrwxrwx 1 root root 10 May  2 19:45 bf66e9ed-d11e-4cf6-8c7e-79bf842b3107 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May  2 19:45 cdf0f85a-dcaa-4f7a-8ed7-c3871faff8e2 -> ../../sdb3
lrwxrwxrwx 1 root root 10 May  2 19:45 e3a932bc-7d70-4608-9130-ad83f1aa9d4b -> ../../sdd3

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 May  2 19:45 pci-0000:00:1d.0-usb-0:1.5:1.0-scsi-0:0:0:0 -> ../../sde

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 May  2 19:45 1d607f08-1c26-4604-84e9-c7f1a20a621b -> ../../sda1
lrwxrwxrwx 1 root root  9 May  2 19:45 8be5b716-cc9c-4eaf-bf55-3a0c5d7a4899 -> ../../md1
lrwxrwxrwx 1 root root  9 May  2 19:45 afadaec3-ee72-4fd4-aea0-89c2d8751099 -> ../../md0
lrwxrwxrwx 1 root root  9 May  2 19:45 be72133f-e7a2-4a11-8bbc-e26596f6b537 -> ../../sda

/dev/md:
total 0

Auto-generated on Sat, 02 May 2015 21:13:58 +0300 by mdadm bugscript

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-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.56
ii  initscripts            2.88dsf-59
ii  libc6                  2.19-18
ii  lsb-base               4.1+Debian13+nmu1
ii  udev                   215-17

Versions of packages mdadm recommends:
pn  default-mta | mail-transport-agent  <none>
ii  kmod                                18-3

mdadm suggests no packages.

-- debconf information excluded



More information about the pkg-mdadm-devel mailing list