Package: lvm2 Version: 2.03.22-1+b1 Severity: normal X-Debbugs-Cc: vil...@debian.org
Dear Maintainer, lvcreate fails with --type vdo option. root@debian:~# lvcreate --type vdo -n vdo0 -L 15G -V 15G VG/vdopool-debian modprobe: FATAL: Module kvdo not found in directory /lib/modules/6.10.6-amd64 /sbin/modprobe failed: 1 vdo: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. Loading the dm-vdo module solved the bug. root@debian:~# modprobe dm-vdo Please see: root@debian:~# fdisk -l /dev/vdb Disk /dev/vdb: 20 GiB, 21474836480 bytes, 41943040 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x5ff260fb Device Boot Start End Sectors Size Id Type /dev/vdb1 2048 41943039 41940992 20G 8e Linux LVM root@debian:~# pvcreate /dev/vdb1 Physical volume "/dev/vdb1" successfully created. root@debian:~# vgcreate VG /dev/vdb1 Volume group "VG" successfully created root@debian:~# lvcreate --type vdo -n vdo0 -L 15G -V 15G VG/vdopool-debian modprobe: FATAL: Module kvdo not found in directory /lib/modules/6.10.6-amd64 /sbin/modprobe failed: 1 vdo: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. root@debian:~# modprobe dm-vdo root@debian:~# lvcreate --type vdo -n vdo0 -L 15G -V 15G VG/vdopool-debian WARNING: vdo signature detected on /dev/VG/vdopool-debian at offset 0. Wipe it? [y/n]: y Wiping vdo signature on /dev/VG/vdopool-debian. The VDO volume can address 12.00 GB in 6 data slabs, each 2.00 GB. It can grow to address at most 16.00 TB of physical storage in 8192 slabs. If a larger maximum size might be needed, use bigger slabs. Logical volume "vdo0" created. 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:~# vdostats Device 1k-blocks Used Available Use% Space saving% VG-vdopool--debian-vpool 15728640 3154224 12574416 20% 0% Thanks!