[pve-devel] lxc 1.1 : qcow2 support ?
Alexandre DERUMIER
aderumier at odiso.com
Fri Apr 24 13:28:04 CEST 2015
>>I am unsure if this is a good idea, because lxc-create does more things :)
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 ? )
----- Mail original -----
De: "Kamil Trzciński" <ayufan at ayufan.eu>
À: "dietmar" <dietmar at proxmox.com>
Cc: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 24 Avril 2015 10:54:54
Objet: Re: [pve-devel] lxc 1.1 : qcow2 support ?
I am unsure if this is a good idea, because lxc-create does more things :)
Maybe it will be better to implement this method (or even add own storage):
https://github.com/lxc/lxc/blob/master/src/lxc/bdev.c#L3090
On Fri, Apr 24, 2015 at 9:18 AM, Dietmar Maurer < dietmar at proxmox.com > wrote:
I am quit unsure if this lxc-create binary is what we want to use.
I try to write my own create script now, hoping I can handle different
storage types easier.
> On April 24, 2015 at 8:45 AM Alexandre DERUMIER < aderumier at odiso.com > wrote:
>
>
> >>Yes, but this is about 'lxc-start', not 'lxc-create'.
>
> mmm, I'm not familiar with lxc yet.
> what does exactly lxc-create ?
>
> from this doc
> https://linuxcontainers.org/fr/lxc/manpages/man5/lxc.container.conf.5.html
>
> It's seem also possible to use
>
> lxc.rootfs.mount = nbd:file:myfile.qcow2
>
>
> does it help ?
--
Kamil Trzciński
ayufan at ayufan.eu
www.ayufan.eu
More information about the pve-devel
mailing list