Package: mdadm Version: 3.4-4+b1
Severity: important Kernel: Debian Stretch 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux Hello, mdadm seems to hang while auto assembling array with write journal on boot. After boot mdadm array is not visible on lsblk and cannot be mounted. Looking at: “mdadm --query --detail /dev/md0” Shows: “State : inactive” Also: “cat /proc/mdstat” Shows: “md0 : inactive sdf1[4](S) sdd1[0](S) sde1[1](S) nvme0n1p1[3](S)” Running “mdadm --assemble /dev/md0” hangs unless array (which appears to not be running) is stopped first “mdadm –stop /dev/md0”. After assembling manually array works normally. Tested with raid 5 & 6 arrays on fresh minimal installs Array created: “mdadm --verbose --create /dev/md0 --level=6 --raid-devices=5 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 --write-journal /dev/nvme0n1p1” Config saved: “mdadm --detail --scan /dev/md0 >> /etc/mdadm/mdadm.conf” “ARRAY /dev/md0 metadata=1.2 name=twin-02:0 UUID=0a12f609:3d7fa535:6b7055d2:459c4f02” “update-initramfs -u” This looks like a bug as the array should be auto assembled at boot. Creating array without write-journal option works normally. Doing some research came across this on a mailing list: https://lists.debian.org/debian-user/2017/11/msg00204.html Some Information just after boot on raid 5 array: --- mdadm.conf HOMEHOST <system> MAILADDR root ARRAY /dev/md0 metadata=1.2 name=twin-02:0 UUID=0a12f609:3d7fa535:6b7055d2:459c4f02 --- /etc/default/mdadm AUTOCHECK=true START_DAEMON=true DAEMON_OPTIONS="--syslog" VERBOSE=false --- /proc/mdstat: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : inactive sde1[1](S) sdf1[4](S) sdd1[0](S) nvme0n1p1[3](S) 2213973558 blocks super 1.2 unused devices: <none> --- /proc/partitions: major minor #blocks name 259 0 244198584 nvme0n1 259 1 16777216 nvme0n1p1 8 32 732574584 sdc 8 33 732573543 sdc1 8 48 732574584 sdd 8 49 732573543 sdd1 8 0 117220824 sda 8 1 19530752 sda1 8 2 97688576 sda2 8 64 732574584 sde 8 65 732573543 sde1 8 16 732574584 sdb 8 17 732573543 sdb1 8 80 732574584 sdf 8 81 732573543 sdf1 -- Kind Regards, Chris