Skip to content

Instantly share code, notes, and snippets.

@shimarin
Created January 30, 2009 05:23
Show Gist options
  • Select an option

  • Save shimarin/54947 to your computer and use it in GitHub Desktop.

Select an option

Save shimarin/54947 to your computer and use it in GitHub Desktop.
# svcs | grep auto-snapshot
online Oct_22 svc:/system/filesystem/zfs/auto-snapshot:frequent
online Oct_22 svc:/system/filesystem/zfs/auto-snapshot:hourly
online Oct_22 svc:/system/filesystem/zfs/auto-snapshot:weekly
online Oct_22 svc:/system/filesystem/zfs/auto-snapshot:monthly
online Oct_22 svc:/system/filesystem/zfs/auto-snapshot:daily
zfs set com.sun:auto-snapshot=false rpool
for s in `zfs list -o name -t snapshot -r nonraid/dropbox | grep zfs-auto-snap`; do zfs destroy $s; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment