[pve-devel] lxc 1.1 : qcow2 support ?

Alexandre DERUMIER aderumier at odiso.com
Sun Apr 26 15:00:25 CEST 2015


>>not sure if we should use that? 
One advantage, It's possible to do live migration with qcow2 on top of nfs.
(Note that this need to be tested with nbd, i'm not sure it's work fine with cache flush,...)


>>What other possibilities do we have to create snapshots on normal file systems (for example nfs).

with nfs, the only way is that the storage support snapshot api (like netapp for example)

>>Maybe using a loop mounted image with btrfs? 
It should work. But with btrfs maybe it is better to use sub volume ?

https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-subvolume




----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>, "Kamil Trzciński" <ayufan at ayufan.eu>
Envoyé: Samedi 25 Avril 2015 07:50:15
Objet: Re: [pve-devel] lxc 1.1 : qcow2 support ?

> It's seem also possible to use 
> 
> lxc.rootfs.mount = nbd:file:myfile.qcow2 

I finally implemented qemu-nbd using our own create code, see 

https://git.proxmox.com/?p=pve-container.git;a=commitdiff;h=6ed8c6dd2b4307cd077b623bee49fca13d77d62e 

not sure if we should use that? What other possibilities do we have to 
create snapshots on normal file systems (for example nfs). Maybe using 
a loop mounted image with btrfs? 


More information about the pve-devel mailing list