I was able to use this hook to get Ubuntu 15.10 installed and running from a thin LVM volume in a VirtualBox VM.
However, the lvm2-monitor service seems wonky if started from the initramfs, strange errors like:
<volumegroup>-<lvpool>-tpool: event registration failed: 2561:11 libdevmapper-event-lvm2thin.so dlopen failed: /lib/x86_64-linux-gnu/device-mapper/libdevmapper-event-lvm2thin.so: cannot open shared object file: No such file or directory
even though the library is both in the root fs and the initrd. Leaving dmeventd and its libraries out of the initramfs seems to allow it to function normally.
I was able to use this hook to get Ubuntu 15.10 installed and running from a thin LVM volume in a VirtualBox VM.
However, the lvm2-monitor service seems wonky if started from the initramfs, strange errors like:
<volumegroup> -<lvpool> -tpool: event registration failed: 2561:11 libdevmapper- event-lvm2thin. so dlopen failed: /lib/x86_ 64-linux- gnu/device- mapper/ libdevmapper- event-lvm2thin. so: cannot open shared object file: No such file or directory
even though the library is both in the root fs and the initrd. Leaving dmeventd and its libraries out of the initramfs seems to allow it to function normally.