Forum Stats

  • 3,769,800 Users
  • 2,253,023 Discussions
  • 7,875,209 Comments

Discussions

VDO in initramfs image

Beremour
Beremour Member Posts: 13 Blue Ribbon

I have VDO modules installed. I've added modules to dracut config:

sudo tee /etc/dracut.conf.d/vdo.conf <<!
add_drivers+=" kvdo "
install_items+=" vdo vdoformat vdostats vdodmeventd vdoregenerategeometry vdoforcerebuild vdoformat vdolistmetadata vdoreadonly vdosetuuid vdodumpconfig vdodumpmetadata vdo-by-dev vdodumpblockmap vdodebugmetadata "
!

dracut seems to be OK cause initrd lists VDO/UDS modules:

[[email protected] ~]# lsinitrd | egrep '(uds|vdo)'
-rwxr-xr-x 1 root root 5138 Apr 6 2021 usr/bin/vdo
-rwxr-xr-x 1 root root 1603 Apr 6 2021 usr/bin/vdo-by-dev
-rwxr-xr-x 1 root root 548864 Apr 6 2021 usr/bin/vdodebugmetadata
-rwxr-xr-x 1 root root 63392 Apr 6 2021 usr/bin/vdodmeventd
-rwxr-xr-x 1 root root 548928 Apr 6 2021 usr/bin/vdodumpblockmap
-rwxr-xr-x 1 root root 544720 Apr 6 2021 usr/bin/vdodumpconfig
-rwxr-xr-x 1 root root 548968 Apr 6 2021 usr/bin/vdodumpmetadata
-rwxr-xr-x 1 root root 532152 Apr 6 2021 usr/bin/vdoforcerebuild
-rwxr-xr-x 1 root root 557312 Apr 6 2021 usr/bin/vdoformat
-rwxr-xr-x 1 root root 544728 Apr 6 2021 usr/bin/vdolistmetadata
-rwxr-xr-x 1 root root 532168 Apr 6 2021 usr/bin/vdoreadonly
-rwxr-xr-x 1 root root 548848 Apr 6 2021 usr/bin/vdoregenerategeometry
-rwxr-xr-x 1 root root 544736 Apr 6 2021 usr/bin/vdosetuuid
-rwxr-xr-x 1 root root 10523 Apr 6 2021 usr/bin/vdostats
-r-xr-xr-x 1 root root 20240 Apr 30 19:20 usr/lib64/device-mapper/libdevmapper-event-lvm2vdo.so
lrwxrwxrwx 1 root root 43 Apr 30 19:20 usr/lib64/libdevmapper-event-lvm2vdo.so -> device-mapper/libdevmapper-event-lvm2vdo.so
drwxr-xr-x 4 root root 0 Apr 30 19:20 usr/lib/modules/4.18.0-305.19.1.el8_4.x86_64/weak-updates/kmod-kvdo
drwxr-xr-x 2 root root 0 Apr 30 19:20 usr/lib/modules/4.18.0-305.19.1.el8_4.x86_64/weak-updates/kmod-kvdo/uds
lrwxrwxrwx 1 root root 60 Apr 30 19:20 usr/lib/modules/4.18.0-305.19.1.el8_4.x86_64/weak-updates/kmod-kvdo/uds/uds.ko -> ../../../../4.18.0-305.el8.x86_64/extra/kmod-kvdo/uds/uds.ko
drwxr-xr-x 2 root root 0 Apr 30 19:20 usr/lib/modules/4.18.0-305.19.1.el8_4.x86_64/weak-updates/kmod-kvdo/vdo
lrwxrwxrwx 1 root root 61 Apr 30 19:20 usr/lib/modules/4.18.0-305.19.1.el8_4.x86_64/weak-updates/kmod-kvdo/vdo/kvdo.ko -> ../../../../4.18.0-305.el8.x86_64/extra/kmod-kvdo/vdo/kvdo.ko
drwxr-xr-x 4 root root 0 Apr 30 19:20 usr/lib/modules/4.18.0-305.el8.x86_64/extra/kmod-kvdo
drwxr-xr-x 2 root root 0 Apr 30 19:20 usr/lib/modules/4.18.0-305.el8.x86_64/extra/kmod-kvdo/uds
-rw-r--r-- 1 root root 510456 Apr 30 19:20 usr/lib/modules/4.18.0-305.el8.x86_64/extra/kmod-kvdo/uds/uds.ko
drwxr-xr-x 2 root root 0 Apr 30 19:20 usr/lib/modules/4.18.0-305.el8.x86_64/extra/kmod-kvdo/vdo
-rw-r--r-- 1 root root 1211296 Apr 30 19:20 usr/lib/modules/4.18.0-305.el8.x86_64/extra/kmod-kvdo/vdo/kvdo.ko

But when booting, VDO module cannot be loaded:

while 'ls' can list kvdo module in /lib/modules/