From 740d0c472a8187bfe90e196ad428a0a3e046bf76 Mon Sep 17 00:00:00 2001 From: themylogin Date: Wed, 18 Sep 2024 19:26:50 +0200 Subject: [PATCH] Mark boot pool as healthy even if it has incompatible features (cherry picked from commit b56ce9a9a77ea2b677f0c5052776611b8314c87a) --- libzfs.pyx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libzfs.pyx b/libzfs.pyx index 592f56f..19a9a3f 100644 --- a/libzfs.pyx +++ b/libzfs.pyx @@ -3022,7 +3022,10 @@ cdef class ZFSPool(object): property healthy: def __get__(self): - return self.status_code in [PoolStatus.OK] + self.__warning_statuses() + healthy_statuses = [PoolStatus.OK] + if self.name in ['boot-pool', 'freenas-boot']: + healthy_statuses.append(PoolStatus.INCOMPATIBLE_FEAT) + return self.status_code in healthy_statuses + self.__warning_statuses() property warning: def __get__(self):