[pve-devel] lxc 1.1 : qcow2 support ?
Kamil Trzciński
ayufan at ayufan.eu
Fri Apr 24 17:32:51 CEST 2015
Maybe ship modprobe.d with "options loop max_loop=?"
On Fri, Apr 24, 2015 at 5:05 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:
> > > Looking at source code
> > > https://github.com/lxc/lxc/blob/master/src/lxc/lxc_create.c
> > >
> > > It doesn't do too much thing.
> > >
> > > I agree with Diemar, I can be easy to implement this in perl.
> > >
> > > (and possible to use qemu-img to create qcow2 file for example, ceph
> rbd,
> > > ...
> > > maybe reuse pve-storage ? )
> >
> > That is exactly the point - I want to reuse code from pve-storage.
> > I already have a working prototype, but I need to do more tests,
> especially
> > with unprivileged containers ...
>
> OK, here is the final code:
>
>
> https://git.proxmox.com/?p=pve-container.git;a=blob;f=src/PVE/LXCCreate.pm;h=7366be460488fe0cf1266802a43c2dbe332fc31d;hb=5b4657d05eab58d04a41e502c03b7f8f23b60bab
>
> I implemented the loop mount case as example. Not sure if I miss
> something, but
> this also works with unprivileged containers.
>
> But loop devices are limited - 7 by default, so that is not really usable.
> Is there a way to use more loop devices dynamically?
>
>
--
Kamil Trzciński
ayufan at ayufan.eu
www.ayufan.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20150424/4d3c0a0f/attachment.htm>
More information about the pve-devel
mailing list