Hello,
The dm-vdo module is also not loaded during initialization, which means that lv of type vdo is not activated. See: root@debian:~# lsmod | grep dm_vdo root@debian:~# root@debian:~# vdostats vdostats: Could not parse device mapper information root@debian:~# root@debian:~# pvs PV VG Fmt Attr PSize PFree /dev/vdb1 VG lvm2 a-- <20.00g <5.00g root@debian:~# root@debian:~# vgs VG #PV #LV #SN Attr VSize VFree VG 1 2 0 wz--n- <20.00g <5.00g root@debian:~# root@debian:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vdo0 VG vwi---v--- 15.00g vdopool-debian vdopool-debian VG dwi------- 15.00g root@debian:~# root@debian:~# vgchange -ay modprobe: FATAL: Module kvdo not found in directory /lib/modules/6.10.7-amd64 /sbin/modprobe failed: 1 Can't process LV VG/vdo0: vdo target support missing from kernel? 0 logical volume(s) in volume group "VG" now active root@debian:~# root@debian:~# modprobe dm-vdo root@debian:~# root@debian:~# lsmod | grep dm_vdo dm_vdo 602112 0 dm_bufio 57344 1 dm_vdo lz4_compress 24576 1 dm_vdo dm_mod 208896 2 dm_vdo,dm_bufio root@debian:~# root@debian:~# vgchange -ay 1 logical volume(s) in volume group "VG" now active root@debian:~# root@debian:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vdo0 VG vwi-a-v--- 15.00g vdopool-debian vdopool-debian VG dwi------- 15.00g root@debian:~# root@debian:~# vdostats Device 1k-blocks Used Available Use% Space saving% VG-vdopool--debian-vpool 15728640 3154224 12574416 20% 0% root@debian:~# root@debian:~# lsmod | grep dm_vdo dm_vdo 602112 1 dm_bufio 57344 1 dm_vdo lz4_compress 24576 1 dm_vdo dm_mod 208896 11 dm_vdo,dm_bufio root@debian:~# Just adding the module to /etc/modules-load.d/ wasn't enough: root@debian:~# echo dm-vdo > /etc/modules-load.d/dm-vdo.conf root@debian:~# root@debian:~# reboot root@debian:~# root@debian:~# lsmod | grep dm_vdo dm_vdo 602112 0 dm_bufio 57344 1 dm_vdo lz4_compress 24576 1 dm_vdo dm_mod 208896 2 dm_vdo,dm_bufio root@debian:~# root@debian:~# vdostats vdostats: Could not parse device mapper information root@debian:~# root@debian:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vdo0 VG vwi---v--- 15.00g vdopool-debian vdopool-debian VG dwi------- 15.00g root@debian:~# root@debian:~# vgchange -ay 1 logical volume(s) in volume group "VG" now active root@debian:~# root@debian:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vdo0 VG vwi-a-v--- 15.00g vdopool-debian vdopool-debian VG dwi------- 15.00g root@debian:~# root@debian:~# lsmod | grep dm_vdo dm_vdo 602112 1 dm_bufio 57344 1 dm_vdo lz4_compress 24576 1 dm_vdo dm_mod 208896 11 dm_vdo,dm_bufio root@debian:~# As a workaround, I changed the lvm2-monitor.service file: root@debian:~# cp /usr/lib/systemd/system/lvm2-monitor.service /etc/systemd/system/lvm2-monitor.service root@debian:~# root@debian:~# $EDITOR /etc/systemd/system/lvm2-monitor.service root@debian:~# root@debian:~# cat /etc/systemd/system/lvm2-monitor.service [Unit] Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) Requires=dm-event.socket After=dm-event.socket dm-event.service Before=local-fs-pre.target shutdown.target DefaultDependencies=no Conflicts=shutdown.target [Service] Type=oneshot Environment=LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 ExecStart=/usr/sbin/modprobe dm-vdo ExecStart=/usr/sbin/lvm vgchange -ay ExecStart=/usr/sbin/lvm vgchange --monitor y ExecStop=/usr/sbin/lvm vgchange --monitor n RemainAfterExit=yes [Install] WantedBy=sysinit.target root@debian:~# root@debian:~# diff /usr/lib/systemd/system/lvm2-monitor.service /etc/systemd/system/lvm2-monitor.service 12a13,14 > ExecStart=/usr/sbin/modprobe dm-vdo > ExecStart=/usr/sbin/lvm vgchange -ay root@debian:~# root@debian:~# systemctl daemon-reload root@debian:~# root@debian:~# lsmod | grep dm_vdo dm_vdo 602112 0 dm_bufio 57344 1 dm_vdo lz4_compress 24576 1 dm_vdo dm_mod 208896 2 dm_vdo,dm_bufio root@debian:~# root@debian:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vdo0 VG vwi---v--- 15.00g vdopool-debian vdopool-debian VG dwi------- 15.00g root@debian:~# root@debian:~# vdostats vdostats: Could not parse device mapper information root@debian:~# root@debian:~# systemctl restart lvm2-monitor.service root@debian:~# root@debian:~# lsmod | grep dm_vdo dm_vdo 602112 1 dm_bufio 57344 1 dm_vdo lz4_compress 24576 1 dm_vdo dm_mod 208896 11 dm_vdo,dm_bufio root@debian:~# root@debian:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vdo0 VG vwi-a-v--- 15.00g vdopool-debian vdopool-debian VG dwi------- 15.00g root@debian:~# root@debian:~# vdostats Device 1k-blocks Used Available Use% Space saving% VG-vdopool--debian-vpool 15728640 3154224 12574416 20% 0% root@debian:~# Regards, -- Francisco Vilmar Cardoso Ruviaro <vil...@debian.org> 4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00
OpenPGP_signature.asc
Description: OpenPGP digital signature