[pve-devel] [PATCH container 2/3] expect 'vm-vol' vtype in get_replicatable_volumes
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Jul 29 13:15:41 CEST 2025
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
src/PVE/LXC/Config.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 7bdb8b9..a9a8816 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -1919,7 +1919,8 @@ sub get_replicatable_volumes {
my ($path, $owner, $vtype) = PVE::Storage::path($storecfg, $volid);
return if !$owner || ($owner != $vmid);
- die "unable to replicate volume '$volid', type '$vtype'\n" if $vtype ne 'images';
+ die "unable to replicate volume '$volid', type '$vtype'\n"
+ if $vtype ne 'ct-vol' && $vtype ne 'images';
return if !$cleanup && !$replicate;
--
2.47.2
More information about the pve-devel
mailing list