Site

Snapshot Browsing


The ".zfs" directory, located in the root directory of every zfs file system, allows browsing of all the snapshots. The snapshots listed in ".zfs/snapshot/" are automatically mounted on demand, as they are being browsed, and are automatically unmounted when no longer in use. For example:

$ zfs set snapdir=visible tank/child
$ ls /Volumes/tank/builds/.zfs/snapshot

2012-04-11-232658  2012-04-25-235014  build-171
2012-04-12-232656  2012-04-26-235011  build-172
2012-04-13-232653  2012-04-27-235008  build-175
2012-04-14-232650  2012-04-28-235006  start

These snapshots can also be viewed from the Finder using one of the following methods. Make sure the snapdir property is set to visible as in the example.

  1. Use Finder's "Go:Go to Folder..." menu and type: "/Volumes/<your-fs>/.zfs/snapshot"
  2. In the Terminal use: $ open "/Volumes/<your-fs>/.zfs/snapshot"
  3. Create a symlink (or alias) to: "/Volumes/<your-fs>/.zfs/snapshot"

Green Marinee theme adapted by David Gilbert, powered by PmWiki