[Bug 1634697] [NEW] thin-provisioning-tools needs an initramfs-tools hook to support booting into a rootfs stored in a thin pool
Joshua Weiss
1634697 at bugs.launchpad.net
Tue Oct 18 23:55:21 UTC 2016
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
Foundations Bugs, 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
More information about the foundations-bugs
mailing list