ZFS Notes
Revisionas of Tuesday, 23 January 2024 at 02:29 UTC
# View snapshots for a particular poolzfs list -t snapshot -r mypool
# View snapshot names only for a given pool (silences the header too)zfs list -r -t snapshot -o name -H mypool
# Rename a snapshotzfs rename mypool/dataset_foo mypool/dataset_bar
# Look for zpoolszfs import
# Import a zpool named 'tank'zfs import tank -f
# To see where things are mounted. In Ubuntu's case, it will be at /tankzfs get mountpoint
# See the list of upgrades to the zpoolszpool upgrade
# Perform the upgrades to ALL zpools (YOU NEED TO KNOW WHAT THIS MEANS AND WHAT# YOU'RE DOING HERE.)sudo zpool upgrade -a
# See when a snapshot is created. You can get other properties this way as well.zfs get creation -t snapshot tank/dataset