[RFC next 0/2] dm: lvm: Initial Logical Volume Management support
Tobias Waldekranz
tobias at waldekranz.com
Mon Aug 31 01:37:37 PDT 2026
Hi Sascha,
Thanks for taking the time to look at this!
On fre, aug 28, 2026 at 14:10, "Sascha Hauer" <s.hauer at pengutronix.de> wrote:
> Hi Tobias,
>
> On 2026-08-24 18:31, Tobias Waldekranz wrote:
>> [...]
>> If the overall structure is OK with the community and maintainers,
>> then the biggest remaining issue is testing. I have been surprised to
>> learn that the standard LVM tools will not operate on disk images
>> (without loopback mounting). Nor does there seem to be any other tools
>> out there that allows you to provision PVs/VGs/LVs without having them
>> "live" and attached to the host system. If there are any suggestions
>> here they would be very welcome!
>
> Would guestfish be an option? That allows you to call pvcreate/vgcreate
> on disk images.
Thank you, I had completely forgotten about that! I definitely think
that it would solve the problem.
You would be okay with bringing that dependency into the barebox-ci
container then? Do we foresee any issues with access to /dev/kvm or
things like that from inside there? I guess it would still work in TCG
mode, but might be slow?
More information about the barebox
mailing list