Forrest logo
back to the zpool tool

zpool:tldr:6b5fd

zpool: Show the history of all pool operations.
$ zpool history ${pool_name}
try on your machine

The command zpool history ${pool_name} is used to display the modification and event history of a specific ZFS storage pool.

Here's a breakdown of the command:

  • zpool: Refers to the ZFS pool management command.
  • history: Specifies the subcommand to view the history of pool modifications and events.
  • ${pool_name}: This is a placeholder that should be replaced with the name of the ZFS storage pool you want to inspect. It can be the name of an existing pool.

When you execute this command, it will show a list of events that have occurred on the specified ZFS pool. This could include actions like creating, deleting, or modifying datasets, adding or removing drives, and other pool-related operations. Each event in the history will be shown with a timestamp and specific details about the action that took place.

Note that to use this command, you need to have administrative privileges or sufficient permissions to access ZFS pool information on your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the zpool tool