Package: lvm2 Version: 2.03.16-2 Severity: normal Dear Maintainer,
* What led up to the situation? My system has a mirrored rootfs LV. When snapshoting and merging this snapshot, the system refuses to boot. * What exactly did you do (or not do) that was effective (or ineffective)? My rootfs is vg1/root (mirrored using raid1) To simulate a snapshot, I do: lvcreate -s -n root-snap -L 100MB /dev/vg1/root Simulation of modification : dd if=/dev/urandom of=/test bs=1M count=40 Merging snapshot : lvconvert --merge vg1/root-snap Since rootfs is mounted, the following message is displayed: Delaying merge since origin is open. Merging of snapshot vg1/root-snap will occur on next activation of vg1/root. reboot * What was the outcome of this action? Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. .../... Begin: Running /scripts/local-block ... done. done. Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/vg1-root does not exist. Dropping to a shell! BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs) Notice that que root LV is not activated : (initramfs) lvm lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root vg1 Owi---r--- 3.71g * What outcome did you expect instead? root LV is activated during boot and while system boots. -- System Information: Debian Release: 12.1 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.4.0-0.deb12.2-rt-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lvm2 depends on: ii dmeventd 2:1.02.185-2 ii dmsetup 2:1.02.185-2 ii libaio1 0.3.113-4 ii libblkid1 2.38.1-5+b1 ii libc6 2.36-9+deb12u1 ii libdevmapper-event1.02.1 2:1.02.185-2 ii libedit2 3.1-20221030-2 ii libselinux1 3.4-1+b6 ii libsystemd0 252.12-1~deb12u1 ii libudev1 252.12-1~deb12u1 ii sysvinit-utils [lsb-base] 3.06-4 Versions of packages lvm2 recommends: pn thin-provisioning-tools <none> lvm2 suggests no packages. -- no debconf information