# zpool status # 显示所有 ZFS 池的状态及详细信息
pool: zroot
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 00:01:08 with 0 errors on Sun Dec 7 20:34:48 2025
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
nda0p4 ONLINE 0 0 0
errors: No known data errors
# zpool upgrade # 查看所有 ZFS 池可升级的特性
This system supports ZFS pool feature flags.
All pools are formatted using feature flags.
Some supported features are not enabled on the following pools. Once a
feature is enabled the pool may become incompatible with software
that does not support the feature. See zpool-features(7) for details.
Note that the pool 'compatibility' feature can be used to inhibit
feature upgrades.
Features marked with (*) are not applied automatically on upgrade, and
must be applied explicitly with zpool-set(7).
POOL FEATURE
---------------
zroot
redaction_list_spill
raidz_expansion
fast_dedup
longname
large_microzap
dynamic_gang_header(*)
block_cloning_endian
physical_rewrite
# zpool upgrade zroot # 将指定的 ZFS 池 zroot 升级到当前系统支持的最新特性版本
This system supports ZFS pool feature flags.
Enabled the following features on 'zroot':
redaction_list_spill
raidz_expansion
fast_dedup
longname
large_microzap
block_cloning_endian
physical_rewrite
Pool 'zroot' has the bootfs property set, you might need to update
the boot code. See gptzfsboot(8) and loader.efi(8) for details.
# zpool status
pool: zroot
state: ONLINE
scan: scrub repaired 0B in 00:01:08 with 0 errors on Sun Dec 7 20:34:48 2025
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
nda0p4 ONLINE 0 0 0
errors: No known data errors
# zpool upgrade # 看可升级的 ZFS 池及其支持的特性
This system supports ZFS pool feature flags.
All pools are formatted using feature flags.
Some supported features are not enabled on the following pools. Once a
feature is enabled the pool may become incompatible with software
that does not support the feature. See zpool-features(7) for details.
Note that the pool 'compatibility' feature can be used to inhibit
feature upgrades.
Features marked with (*) are not applied automatically on upgrade, and
must be applied explicitly with zpool-set(7).
POOL FEATURE
---------------
zroot
dynamic_gang_header(*)
# zpool get feature@dynamic_gang_header
NAME PROPERTY VALUE SOURCE
zroot feature@dynamic_gang_header disabled local
# zpool set feature@dynamic_gang_header=enabled zroot
# zpool get feature@dynamic_gang_header
NAME PROPERTY VALUE SOURCE
zroot feature@dynamic_gang_header enabled local
# zpool upgrade
This system supports ZFS pool feature flags.
All pools are formatted using feature flags.
Every feature flags pool has all supported and requested features enabled.