[pve-devel] [PATCH zsync 09/10] parse disks: also include storage ID information

Fabian Ebner f.ebner at proxmox.com
Tue May 4 10:10:03 CEST 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 pve-zsync | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pve-zsync b/pve-zsync
index e4f927e..75d4d7c 100755
--- a/pve-zsync
+++ b/pve-zsync
@@ -877,6 +877,8 @@ sub parse_disks {
 
 	die "Get no path from pvesm path $stor:$disk\n" if !$path;
 
+	$disks->{$num}->{storage_id} = $stor;
+
 	if ($vm_type eq 'qemu' && $path =~ m/^\/dev\/zvol\/(\w+.*)(\/$disk)$/) {
 
 	    my @array = split('/', $1);
-- 
2.20.1






More information about the pve-devel mailing list