Am 23.04.2015 um 07:49 schrieb Dietmar Maurer:
> I now tried to add a workaround:
>
> https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff;h=9483da1abd3d8d33cbc6786966628dfa3adefb99
>
> and uploaded a new package to pvetest.
>
>
> maybe you can test if that helps?
>
Thanks. Have it instal
> Just found a new here about lxc 1.1:
>
> https://linuxcontainers.org/fr/lxc/news/
>
>
>
> * core: Add support for qcow2 images (through qemu-img)
>
> so, maybe disk quota is possible ? (size of qcow2)
Does somebody have an example howto use that?
I tried:
# qemu-image create tes
Look into: --bdev options
Looking into sources I see (
https://github.com/lxc/lxc/blob/master/src/lxc/bdev.c):
static const struct bdev_ops dir_ops = {
static const struct bdev_ops zfs_ops = {
static const struct bdev_ops lvm_ops = {
static const struct bdev_ops btrfs_ops = {
static const str
> 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?
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.
I am a bit confused about this blog:
http://cephnotes.ksperis.com/blog/2014/11/17/ceph-rbd-with-lxc-containers
The patch is for lxc-create, but a version written in python?
The version contained in lxc package is written in C.
So where is that code form?
___
I found a version here
https://gitweb.gentoo.org/proj/lxc.git/diff/src/lxc/lxc-create.in?id=6d8ac56b658a7aa35a46580c2df060c58ef02821
Maybe is it old code from previous version ?
- Mail original -
De: "dietmar"
À: "pve-devel"
Envoyé: Jeudi 23 Avril 2015 19:47:41
Objet: [pve-devel] lxc
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"
À: "Kamil Trzciński"
> 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
Yes, but this is about 'lxc-start', not 'lxc-create'.
_
> The patch is for lxc-create, but a version written in python?
> The version contained in lxc package is written in C.
>
> So where is that code form?
Yes indeed, seem from the stable-0.7 branch. Thanks.
___
pve-devel mailing list
pve-devel@pve.pro
>>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
10 matches
Mail list logo