[pve-devel] URGEND autostart off in RESCUE Mode
Dear, is their a possiblity in rescue mode to set autostart of all containers and VMs to off? Regards Detlef signature.asc Description: OpenPGP digital signature ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[pve-devel] RHEL7-based OpenVZ kernel git
FIY http://lists.openvz.org/pipermail/announce/2015-April/000579.html Still long way to go... ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[pve-devel] stable branch names
Hi All, I try to unify branch names, and I will use 'stable-3' for the current stable, wheezy based (3.X) release. I will rename those 'stable.3.4-fixes' to 'stable-3'. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
[pve-devel] [PATCH_V2] implement offline migration on zfs
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..4e15df8 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -490,6 +490,35 @@ sub storage_migrate { } else { die $errstr - target type '$tcfg-{type}' not implemented\n; } +} elsif ($scfg-{type} eq 'zfspool') { + + if($tcfg-{type} eq 'zfspool'){ + + die $errstr - pool on target has not same name as source!if $tcfg-{pool} ne $scfg-{pool}; + + my ( undef, $volname) = parse_volname($cfg, $volid); + + my $zfspath = $scfg-{pool}\/$volname; + + my $snap = zfs snapshot $zfspath\@__migration__; + + my $send = zfs send -v $zfspath\@__migration__ \| ssh root\@$target_host zfs recv $zfspath; + + my $destroy_target = ssh root\@$target_host zfs destroy $zfspath\@__migration__; + run_command($snap); + eval{ + run_command($send); + }; + my $err; + if ($err = $@){ + run_command(zfs destroy $zfspath\@__migration__); + die $err; + } + run_command($destroy_target); + + } else { + die $errstr - target type $tcfg-{type} is not valid\n; + } } else { die $errstr - source type '$scfg-{type}' not implemented\n; } -- 1.7.10.4 ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] [PATCH] modify ceph keyurl
在 2015年4月27日,下午12:36,Dietmar Maurer diet...@proxmox.com 写道: In fact, there is a redirect from http://ceph.com/git http://ceph.com/git http://ceph.com/git http://ceph.com/git to git.ceph.com http://git.ceph.com/ http://git.ceph.com/ http://git.ceph.com/ OK, I will change it. Thanks for you help. hi, sorry, just see lastest code. https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc https://git.ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc https://git.ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc the two url is same? Thanks smime.p7s Description: S/MIME cryptographic signature ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] [PATCH] modify ceph keyurl
sorry, just see lastest code. https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc https://git.ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc https://git.ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc the two url is same? fixed ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel