Show recent ZFS pool administration history
Build a paste-ready command, then review its compatibility and effects before running it.
zpool history -il | tail -10read-onlyno known side effects Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-20
Requirementszpoolzpool must be installed and available on PATH.
Version supportzpool Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signals2026-07-23.08:02:11 zpool import tank [user root on host]Representative successful output; values vary with the selected target and system state.
Known errorszpool: command not foundzpool is missing or is not available on PATH.
Verifyzpool history -il | tail -10The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01zpoolCommandRuns the zpool stage of this one-liner.
02historyArgumentPasses history to zpool.
03-ilOptionConfigures zpool with the -il option.
04|PipelinePasses the output on the left to the command on the right.
05tailCommandRuns the tail stage of this one-liner.
06-10OptionConfigures tail with the -10 option.
Example input
zpool history -il | tail -10
Example output
2026-07-23.08:02:11 zpool import tank [user root on host]
2026-07-23.08:02:15 zfs mount -a [user root on host]
Illustrative output — exact values vary by system and data.
Official sources