diff --git a/PVE/Diskmanage.pm b/PVE/Diskmanage.pm index 612bc3b..55df3f2 100644 --- a/PVE/Diskmanage.pm +++ b/PVE/Diskmanage.pm @@ -152,6 +152,8 @@ sub get_smart_data { sub get_zfs_devices { my $list = {}; + return {} if !(-x $ZPOOL); + # use zpool and parttype uuid, # because log and cache do not have # zfs type uuid