zfs-tools /

Filename Size Date modified Message
28 B
160 B
1.1 KB
1.1 KB
673 B
669 B
A few ZFS tools, mostly related to snapshotting, cleaning up and synching.


  # Snapshot any dataset, snapshot name is the current date/time in a 
  # normalized format: 
  zfs_snapshot pool1/my/dataset
  # List snapshots that are obsolete, given some rules about what is 
  # considered obsolete: 
  echo pool1 | zfs_list_obsolete_snapshots

  # Safely destroy some dataset (recursively). This will always ask for
  # permission!
  zfs_safe_destroy pool1/my/dataset


  This is useful in production; the code needs to be cleaned up.

  MIT license, see LICENSE file.


  To run the specs, type `rspec`. 

  Pull requests welcome. 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.