Bug#814036: initramfs-tools: mdadm doesn't assemble disk
Alexander Mader
aumader at gmx.net
Sat Feb 20 11:06:29 UTC 2016
Package: mdadm
Version: 3.3.2-5+deb8u1
Followup-For: Bug #814036
Dear Maintainer,
first of all: thank you for providing and maintaining this packeage for Debian!
* What led up to the situation?
After update to the current version around January, 23rd, or so the home volume does not
assemble automatically anymore. It is a RAID1 mirroring two disks of identical produce.
The S.M.A.R.T. does not report anything wrong with the disks. So, during system start-up the
root volume is checked correctly and then the sequence pauses waiting for the home volume to
appear for fsck. After 1:30min pause the sequence completes dropping into emergency mode. In
the emegency shell I issue:
# mdadm --assemble /dev/mdadm/0
which leads to:
mdadm: /dev/md/0 has been started with 2 drives
[some time] systemd-fsck[some PID]: /sbin/fsck.xfs: XFS file system
after issuing:
# systemctl default;exit
I get:
Aufgelegt
exit
and everything starts as expected.
Currently, I am using 4.2.0-0.bpo.1-amd64 kernel. The issue occurs with the standard kernel
3.16.0-4-amd64, too. Starting into single mode does not help, either.
Please, give me some hint how to get back to fully automatic start up of the system.
-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md/0 metadata=1.2 UUID=7e9e8d1d:6e7537df:aa9bb19b:70432a09 name=douglas:0
--- /etc/default/mdadm
INITRDSTART='all'
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false
--- /proc/mdstat:
Personalities : [raid1]
md0 : active raid1 sdb1[0] sdc1[1]
976759672 blocks super 1.2 [2/2] [UU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 87918264 sda
8 1 8790016 sda1
8 2 79126528 sda2
11 0 1048575 sr0
8 16 976762584 sdb
8 17 976760832 sdb1
8 32 976762584 sdc
8 33 976760832 sdc1
9 0 976759672 md0
--- 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,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=497031,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=809984k,mode=755)
/dev/sda2 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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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/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)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/md0 on /home type xfs (rw,relatime,attr2,inode64,noquota)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/119 type tmpfs (rw,nosuid,nodev,relatime,size=404992k,mode=700,uid=119,gid=126)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=404992k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
--- initrd.img-4.2.0-0.bpo.1-amd64:
22105 blocks
131be8e959b59b6dc48c289966125cd4 ./sbin/mdadm
f2ccfe3cb3445d98351a7f634182c610 ./conf/mdadm
599bbf3fe6093157a26863dcb59cdf5d ./scripts/local-top/mdadm
d3be82c0f275d6c25b04d388baf9e836 ./etc/modprobe.d/mdadm.conf
aed4ea5a182660bf39e94a5d66112d54 ./etc/mdadm/mdadm.conf
eb6dfbaa9a7f5b3142dd8647572cd6d4 ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/raid10.ko
6544487f7c02ef708d9ebc3047b09070 ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/linear.ko
e2e9a82a86fab5deb195bb985a0697ef ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/raid0.ko
ea5dec1c0a90b30ebd7bdbbfbf9e6436 ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/multipath.ko
f11decb48768eb4175c18b889166414f ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/md-mod.ko
c79de2be179db1d033b094f99994a7d6 ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/raid1.ko
f3ecbe63a31d2fed7da93baff1c45a8b ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/raid456.ko
0e9726a269589a954826f389a5a5e476 ./lib/modules/4.2.0-0.bpo.1-amd64/kernel/drivers/md/dm-mod.ko
--- initrd's /conf/conf.d/md:
no conf/md file.
--- /proc/modules:
raid1 36864 1 - Live 0xffffffffa03ac000
md_mod 131072 2 raid1, Live 0xffffffffa00af000
--- /var/log/syslog:
--- volume detail:
/dev/sda:
MBR Magic : aa55
Partition[0] : 17580032 sectors at 2048 (type 82)
Partition[1] : 158253056 sectors at 17582080 (type 83)
--
/dev/sda1 is not recognised by mdadm.
/dev/sda2 is not recognised by mdadm.
/dev/sdb:
MBR Magic : aa55
Partition[0] : 1953521664 sectors at 2048 (type fd)
--
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 7e9e8d1d:6e7537df:aa9bb19b:70432a09
Name : douglas:0 (local to host douglas)
Creation Time : Sun Jan 16 15:19:30 2011
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1953519616 (931.51 GiB 1000.20 GB)
Array Size : 976759672 (931.51 GiB 1000.20 GB)
Used Dev Size : 1953519344 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=272 sectors
State : clean
Device UUID : 25685976:fa19a867:4a4fed47:dab18f86
Update Time : Sat Feb 20 11:47:25 2016
Checksum : 2551a6b0 - correct
Events : 5625
Device Role : Active device 0
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc:
MBR Magic : aa55
Partition[0] : 1953521664 sectors at 2048 (type fd)
--
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 7e9e8d1d:6e7537df:aa9bb19b:70432a09
Name : douglas:0 (local to host douglas)
Creation Time : Sun Jan 16 15:19:30 2011
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1953519616 (931.51 GiB 1000.20 GB)
Array Size : 976759672 (931.51 GiB 1000.20 GB)
Used Dev Size : 1953519344 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=272 sectors
State : clean
Device UUID : ba41a22b:a2b9d754:1adee802:b1781a51
Update Time : Sat Feb 20 11:47:25 2016
Checksum : 4d507594 - correct
Events : 5625
Device Role : Active device 1
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
--
--- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.2.0-0.bpo.1-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro quiet
--- grub2:
set root='hd0,msdos2'
set root='hd0,msdos2'
set root='hd0,msdos2'
linux /boot/vmlinuz-4.2.0-0.bpo.1-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro quiet
set root='hd0,msdos2'
linux /boot/vmlinuz-4.2.0-0.bpo.1-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro quiet
set root='hd0,msdos2'
linux /boot/vmlinuz-4.2.0-0.bpo.1-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro quiet init=/lib/sysvinit/init
set root='hd0,msdos2'
linux /boot/vmlinuz-4.2.0-0.bpo.1-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro single
set root='hd0,msdos2'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro quiet
set root='hd0,msdos2'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro quiet init=/lib/sysvinit/init
set root='hd0,msdos2'
linux /boot/vmlinuz-3.16.0-4-amd64 root=UUID=2c2b6225-6fd0-43af-9408-c4395b43c0f7 ro single
--- udev:
ii udev 215-17+deb8u amd64 /dev/ and hotplug management daem
e95faba71945b1dcc9749adc5dcd80f6 /lib/udev/rules.d/63-md-raid-arrays.rules
f0b45148fbd3ce678e682925483f17dc /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 Feb 20 10:59 /dev/md0
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Feb 20 10:57 ata-HL-DT-ST_DVDRAM_GH22NS50_K32A7GA4737 -> ../../sr0
lrwxrwxrwx 1 root root 9 Feb 20 10:57 ata-OCZ-AGILITY2_3.5_OCZ-1MV5038YXU8E8584 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 20 10:57 ata-OCZ-AGILITY2_3.5_OCZ-1MV5038YXU8E8584-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 20 10:57 ata-OCZ-AGILITY2_3.5_OCZ-1MV5038YXU8E8584-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Feb 20 10:57 ata-SAMSUNG_HD103SJ_S246J90ZC02561 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 20 10:59 ata-SAMSUNG_HD103SJ_S246J90ZC02561-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 Feb 20 10:57 ata-SAMSUNG_HD103SJ_S246J90ZC02564 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 20 10:59 ata-SAMSUNG_HD103SJ_S246J90ZC02564-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Feb 20 10:59 md-name-douglas:0 -> ../../md0
lrwxrwxrwx 1 root root 9 Feb 20 10:59 md-uuid-7e9e8d1d:6e7537df:aa9bb19b:70432a09 -> ../../md0
lrwxrwxrwx 1 root root 9 Feb 20 10:57 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root 9 Feb 20 10:57 wwn-0x50024e9203f7f648 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 20 10:59 wwn-0x50024e9203f7f648-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 Feb 20 10:57 wwn-0x50024e9203f7f64b -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 20 10:59 wwn-0x50024e9203f7f64b-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Feb 20 10:57 wwn-0x5e83a97ffd9ef32d -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 20 10:57 wwn-0x5e83a97ffd9ef32d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 20 10:57 wwn-0x5e83a97ffd9ef32d-part2 -> ../../sda2
/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 9 Feb 20 10:59 Home -> ../../md0
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Feb 20 10:57 2c2b6225-6fd0-43af-9408-c4395b43c0f7 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 20 10:57 5f328a05-bded-42c3-a3be-71a4b6bff5c2 -> ../../sda1
lrwxrwxrwx 1 root root 9 Feb 20 10:59 8e677927-d719-48eb-815d-d16170bdd003 -> ../../md0
/dev/md:
total 0
lrwxrwxrwx 1 root root 6 Feb 20 10:59 0 -> ../md0
Auto-generated on Sat, 20 Feb 2016 11:47:47 +0100 by mdadm bugscript
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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+deb8u3
ii lsb-base 4.1+Debian13+nmu1
ii udev 215-17+deb8u3
Versions of packages mdadm recommends:
ii exim4-daemon-light [mail-transport-agent] 4.84-8+deb8u2
ii kmod 18-3
ii module-init-tools 18-3
mdadm suggests no packages.
-- debconf information:
mdadm/mail_to: root
mdadm/start_daemon: true
mdadm/autocheck: true
mdadm/initrdstart_msg_errblock:
mdadm/initrdstart_msg_errmd:
mdadm/initrdstart_notinconf: false
mdadm/initrdstart_msg_errconf:
mdadm/initrdstart_msg_errexist:
* mdadm/initrdstart: all
mdadm/autostart: true
mdadm/initrdstart_msg_intro:
More information about the pkg-mdadm-devel
mailing list