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

2023-06-19 Thread Fiona Ebner
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-

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

2023-06-19 Thread Aaron Lauterer
Aliased volumes (referencing the same volume multiple times) can lead to unexpected behavior in a migration. Therefore, stop the migration in such a case. The check works by comparing the path returned by the storage plugin. This means that we should be able to catch the common situations where i