Package: mdadm Version: 4.1-11 Severity: important Dear Maintainer,
When installing mdadm (apt install mdadm) in presence of 2 already existing RAID arrays, the creation of /etc/mdadm/mdadm.conf goes wrong. Under the "# definitions of existing MD arrays" line, there are 2 lines for the 2 different arrays, but both are assigned to /dev/md/0 - and because of that, only the first array is automatically assembled at startup (the second one have to be assembled manually). # definitions of existing MD arrays ARRAY /dev/md/0 metadata=1.2 UUID=43c0447b:9c411b87:800d69f9:86dfe0d3 name=Pix-Server-Boutigny:0 ARRAY /dev/md/0 metadata=1.2 UUID=4042f02a:f1d2c565:91a6dacf:bb3ca761 name=VALEFORT:0 Changing to /dev/md0 and /dev/md1 for example, was able to solve the issue caused by this bug (after update-initramfs -u and reboot, both arrays are now assembled automatically). I have been able to check that I have the same issue on a second computer, in my example, having a 3 disks RAID 5 array, and another 3 disks RAID 0 array. But others kinds of RAID arrays are probably affected too. Hope this report will help, and also hope this bug will be easy to solve! Best regards, Julien ROBIN -- System Information: Debian Release: 11.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-9-amd64 (SMP w/16 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mdadm depends on: ii debconf [debconf-2.0] 1.5.77 ii init-system-helpers 1.60 ii libc6 2.31-13+deb11u2 ii libudev1 247.3-6 ii lsb-base 11.1.0 ii udev 247.3-6 Versions of packages mdadm recommends: ii kmod 28-1 ii msmtp-mta [mail-transport-agent] 1.8.11-2.1 Versions of packages mdadm suggests: