I found a temporary solution that seems ok for now.  This article walks
through the addition of an initramfs hook to add the necessary kernel
modules and and executables to the initramfs image so that the boot
process can deal with lvm thinpools and thinvolumes.

http://askubuntu.com/questions/673815/how-do-i-start-my-laptop-with-
root-partition-on-lvm2-thin-pool

To recap, create file /etc/initramfs-tools/hooks/thin-provisioning-
tools:

#!/bin/sh

PREREQ="lvm2"

prereqs()
{
        echo ""
}

case $1 in
prereqs)
        prereqs
        exit 0
        ;;
esac

. /usr/share/initramfs-tools/hook-functions

copy_exec /usr/sbin/thin_check
copy_exec /usr/sbin/thin_dump
copy_exec /usr/sbin/thin_repair
copy_exec /usr/sbin/thin_restore
copy_exec /sbin/dmeventd


manual_add_modules dm_thin_pool


Then update the initramfs image:
# chmod 755 /etc/initramfs-tools/hooks/thin-provisioning-tools
# update-initramfs-tools -u

After reboot, things work as expected.  I expect the thin-provisioning-
tools package should be updated to make these changes.  What is the
right way to report this as an issue with this package?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1539934

Title:
  Load thin Kernel Modules in initramfs for support on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thin-provisioning-tools/+bug/1539934/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to