diff --git a/pve-zsync b/pve-zsync index d784d19..492a245 100644 --- a/pve-zsync +++ b/pve-zsync @@ -708,7 +708,7 @@ sub parse_disks { $cmd .= "pvesm path $stor$disk"; my $path = run_cmd($cmd); - if ($path =~ m/^\/dev\/zvol\/(\w+).*(\/$disk)$/) { + if ($path =~ m/^\/dev\/zvol\/(\w+.*)(\/$disk)$/) { my @array = split('/', $1); $disks->{$num}->{pool} = pop(@array);