ZFS keeps a history of commands run against a specific pool using the
history subcommand to zpool:

zpool history

More details are available using the -i and -l parameters. Note that ZFS
will not keep the complete pool history forever and will remove older
events in favor of never ones.
-- Benedict Reuschling <bcr@FreeBSD.org>

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/fbfortune/statuses/114728084455438615 on your instance and quote it. (Note that quoting is not supported in Mastodon.)