diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 9a313b0..d55b645 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -996,6 +996,8 @@ sub scan_zfs { my ($pool, $size_str, $used_str) = ($1, $2, $3); my $size = PVE::Storage::ZFSPoolPlugin::zfs_parse_size($size_str); my $used = PVE::Storage::ZFSPoolPlugin::zfs_parse_size($used_str); + # ignore subvolumes generated by our ZFSPoolPlugin + return if $pool =~ m!/subvol-\d+-[^/]+$!; push @$res, { pool => $pool, size => $size, free => $size-$used }; } });