← Back to team overview

openstack team mailing list archive

Re: initramfs-growroot or LVM

 

On 02/10/2013 03:54 AM, Owen Synge wrote:
Dear Davide,

Please dont use LVM in cloud images unless you want to encrypt the
content and then please use a very unique volume group name. Reason follows.

If you want to allow the mangement domain to mount your partitons and
make edits then the management domain must first use something like
kpartx which allows you to present virtual disk partitons. These virtual
disk partitions can then be mounted if its a normal file system, but if
you used LVM, the partitions must be scanned by your system and added to
your systems volume group space, if these volume groups names clash with
volume groups being used on the management domain their can be problems
for the management domain to release the resources.

This is where a system like libguestfs is very useful as it
separates image details from the host completely.
OpenStack file injection supports libguestfs automatically if available,
and this in turn supports cloud images with LVM.

thanks,
Pádraig.


Follow ups

References