diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 3878342..52e9090 100644 --- a/PVE/Storage/ZFSPlugin.pm +++ b/PVE/Storage/ZFSPlugin.pm @@ -275,7 +275,7 @@ sub alloc_image { my $volname = $name; - $volname = $class->zfs_find_free_diskname($storeid, $scfg, $vmid) if !$volname; + $volname = $class->zfs_find_free_diskname($storeid, $scfg, $vmid, $fmt) if !$volname; $class->zfs_create_zvol($scfg, $volname, $size);