[pve-devel] lxc 1.1 : qcow2 support ?

Alexandre DERUMIER aderumier at odiso.com
Fri Apr 24 05:48:35 CEST 2015


from :

https://github.com/hmalphettes/ubuntu-uncloud-recloud/blob/master/lxc/lxc-example.conf

sudo qemu-nbd -c /dev/nbd0 /path/to/vmdk
sudo lxc-start -n myvminlxc -f lxc-example.conf

with lxc-example.conf

lxc.rootfs = /dev/nbd0p1



----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "Kamil Trzciński" <ayufan at ayufan.eu>
Cc: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 23 Avril 2015 19:05:53
Objet: Re: [pve-devel] lxc 1.1 : qcow2 support ?

> lxc-create -t debian -n test-loop-5 -B loop --fstype ext3 --fssize 1G 
> 
> It should create: /var/lib/lxc/test-loop-5/rootdev 

This is loop device. But how does it work using nbd? 



More information about the pve-devel mailing list