ZFS List Snapshots

ZFS provides an easy way to view share snapshots. To list ZFS snapshots use the following command:

zfs list -t snapshot

This will list all the snapshots from all the pools accordingly.

You can also list all zfs share information and subsequent snapshots in a more broad fashion by doing

zfs list <pool>

Combine these commands into scripts and use them to send incremental snapshots and delete old snapshots. Getting a list of snapshots makes things easy to work with. One can even give the snapshots a date and you can sort them accordingly to determine which one to delete.

Be the first to comment

Leave a Reply