Public bug reported:

I found that the boot process would stall within the generated ramfs
images on 16.04 when the rootfs existed within a thin pool with the
actual error referencing a missing /usr/sbin/thin_check executable. I've
attached my own initramfs hook script which pulls in all of the module
and library dependencies in addition to the /usr/sbin/pdata_tools binary
and its thin_* symlinks. It has worked for me on 16.04(.1) on both the
x86_64 and arm architectures, but I see no reason that it wouldn't work
anywhere else where the thin-provisioning-tools package exists and fails
to provide anything similar. Please feel free to include it as-is, or to
make any changes necessary changes to bring it into compliance with any
applicable standards or conventions, or to fix any issues I might have
overlooked.

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "/usr/share/initramfs-tools/hooks/thin-pool"
   https://bugs.launchpad.net/bugs/1634697/+attachment/4763496/+files/thin-pool

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1634697

Title:
  thin-provisioning-tools needs an initramfs-tools hook to support
  booting into a rootfs stored in a thin pool

Status in lvm2 package in Ubuntu:
  New

Bug description:
  I found that the boot process would stall within the generated ramfs
  images on 16.04 when the rootfs existed within a thin pool with the
  actual error referencing a missing /usr/sbin/thin_check executable.
  I've attached my own initramfs hook script which pulls in all of the
  module and library dependencies in addition to the
  /usr/sbin/pdata_tools binary and its thin_* symlinks. It has worked
  for me on 16.04(.1) on both the x86_64 and arm architectures, but I
  see no reason that it wouldn't work anywhere else where the thin-
  provisioning-tools package exists and fails to provide anything
  similar. Please feel free to include it as-is, or to make any changes
  necessary changes to bring it into compliance with any applicable
  standards or conventions, or to fix any issues I might have
  overlooked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1634697/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to