You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using a LUKS partition containing a GPT table and several partions.
With libguestfs we can open the LUKS partition and the /dev/mapper/<mapname> device become available, but nested partition are not seen by the kernel. partprobe need to be run (or may be kpartx) to make partitions available in /dev/mapper.
AFAIK there are no simple solution.
As a workaround we use guestfs_debug but it's not a long term solution.
We can see two solution:
adding a udev rule that will automatically run partpobe when a new device appeared in /dev/mapper
adding a new API in libguestfs guestfs_partprobe(device) that can be call by the user when needed.
What is the best best solution from your point of view?
We can help implementing it.
The text was updated successfully, but these errors were encountered:
We are using a LUKS partition containing a GPT table and several partions.
With libguestfs we can open the LUKS partition and the
/dev/mapper/<mapname>
device become available, but nested partition are not seen by the kernel.partprobe
need to be run (or may be kpartx) to make partitions available in/dev/mapper
.AFAIK there are no simple solution.
As a workaround we use
guestfs_debug
but it's not a long term solution.We can see two solution:
guestfs_partprobe(device)
that can be call by the user when needed.What is the best best solution from your point of view?
We can help implementing it.
The text was updated successfully, but these errors were encountered: