[pve-devel] [PATCH v5 container 9/10] migration: fail when aliased volume is detected

Fiona Ebner f.ebner at proxmox.com
Mon Jun 19 14:21:02 CEST 2023


Am 19.06.23 um 11:29 schrieb Aaron Lauterer:
> @@ -277,6 +280,12 @@ sub phase1 {
>      # finally all current volumes
>      PVE::LXC::Config->foreach_volume_full($conf, { include_unused => 1 }, $test_mp);
>  
> +    for my $path (keys %$path_to_volid) {
> +	my @volids = keys $path_to_volid->{$path}->%*;
> +	die "detected not supported aliased volumes: '" . join("', '", @volids) . "'"

Nit: missing newline after error

> +	    if (scalar @volids > 1);
> +    }
> +
>      # additional checks for local storage
>      foreach my $volid (keys %$volhash) {
>  	eval {





More information about the pve-devel mailing list