Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Dietmar Maurer
I am unsure if this is a good idea, because lxc-create does more things :) for example? Most things I see are sooo much simpler with perl. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Alexandre DERUMIER
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

[pve-devel] [PATCH] implement offline migration on zfs

2015-04-24 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/Storage.pm | 29 + 1 file changed, 29 insertions(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index e46bc77..6fe0953 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -490,6 +490,35 @@ sub storage_migrate

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Kamil Trzciński
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 diet...@proxmox.com wrote: I am

[pve-devel] implement offline migration on zfs

2015-04-24 Thread Wolfgang Link
This implements migration on zfsfs with ssh and zfs send and receive ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] implement offline migration on zfs

2015-04-24 Thread Wolfgang Link
Signed-off-by: Wolfgang Link w.l...@proxmox.com --- PVE/QemuMigrate.pm |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index af04ea5..f6eb3f5 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -248,10 +248,10 @@ sub

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Kamil Trzciński
Maybe ship modprobe.d with options loop max_loop=? On Fri, Apr 24, 2015 at 5:05 PM, Dietmar Maurer diet...@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

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Dietmar Maurer
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

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Dietmar Maurer
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

Re: [pve-devel] [PATCH] modify ceph keyurl

2015-04-24 Thread lyt_yudi
在 2015年4月25日,下午1:13,Dietmar Maurer diet...@proxmox.com 写道: This is not an officially announced url? -my $keyurl = https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc; +my $keyurl =

[pve-devel] [PATCH] modify ceph keyurl

2015-04-24 Thread alex.lu
Signed-off-by: alex.lu lyt_y...@icloud.com --- bin/pveceph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pveceph b/bin/pveceph index 3658e06..18a4e8b 100755 --- a/bin/pveceph +++ b/bin/pveceph @@ -100,7 +100,7 @@ __PACKAGE__-register_method ({ local

Re: [pve-devel] [PATCH] modify ceph keyurl

2015-04-24 Thread Dietmar Maurer
This is not an officially announced url? - my $keyurl = https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc;; + my $keyurl = https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc;; ___ pve-devel mailing list

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Michael Rasmussen
On Fri, 24 Apr 2015 18:25:20 +0200 (CEST) Dietmar Maurer diet...@proxmox.com wrote: how many loop devices are possible? If I remember correct the maximum number of loop devices is 256. You asked in another post if loop devices can be dynamically configured. The answer is yes. search for

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Dietmar Maurer
how many loop devices are possible? If I remember correct the maximum number of loop devices is 256. OK You asked in another post if loop devices can be dynamically configured. The answer is yes. search for /dev/loop-control. Yes, I just found that in the kernel docs. But lxc-start does

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Dietmar Maurer
On April 24, 2015 at 5:32 PM Kamil Trzciński ayu...@ayufan.eu wrote: Maybe ship modprobe.d with options loop max_loop=? how many loop devices are possible? ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] lxc 1.1 : qcow2 support ?

2015-04-24 Thread Dietmar Maurer
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 aderum...@odiso.com wrote: Yes, but this is about 'lxc-start', not 'lxc-create'.