[Lxc-users] LVM in LXC

Daniel Lezcano dlezcano at fr.ibm.com
Fri May 13 20:53:40 UTC 2011


On 05/13/2011 12:13 AM, Benjamin Kiessling wrote:
> Hi,
>
> under Debian (and in general I think) LVM requires udev to work
> at all which makes it unusable in a container environment. Has
> anybody tried to get it working in a container?

You can use udev inside a container. It is not optimal because that 
trigger events everywhere but it is possible.

> My setup consists of a logical volume that's mapped in the container
> which the container user should be able to subdivide into partitions
> (i.e. in the end I'd have a chain like pg-vg-lv-pg-vg-lv or LVM on
> an logical volume if that's more clear). Is there another way to
> achieve this kind of setup? I thought about letting users just partition
> the raw logical volume like any other hard disk but this doesn't seem
> to be supported by the kernel.

Maybe Serge can help you on that.

Thanks
  -- Daniel




More information about the lxc-users mailing list