Currently in the knowledge base, under Snapshot browsing we have an example:
- Code: Select all
$ 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
For consistency, the first line might be changed:
- Code: Select all
$ zfs set snapdir=visible tank/builds
$ ls /Volumes/tank/builds/.zfs/snapshot
Now, those two lines in isolation.
The sequence of two commands. ls alone may be insufficient to mount a volume, and so we have observations such as "… When using ls (in a terminal), the snapshot directories on a ZFS filesystem appears to be empty. …".