[pve-devel] [PATCH 06/13] forbid offline migration of a non shared volume if it's a clone

Dietmar Maurer dietmar at proxmox.com
Thu Feb 28 06:40:35 CET 2013


> +
> +	    #if file, check if a backing file exist
> +	    if(($scfg->{type} eq 'dir') && (!$sharedvm)){
> +		my (undef, undef, undef, $parent) =
> PVE::Storage::volume_size_info($self->{storecfg}, $volid, 1);
> +		die "can't migrate '$volid' as it's a clone of '$parent'";

You unconditionally raise an exception here.

I have already committed a fix for this.






More information about the pve-devel mailing list