the snapshot browsing example in the knowledge base

Moderators: jhartley, MSR734, nola

the snapshot browsing example in the knowledge base

Post by grahamperrin » Sat Sep 29, 2012 11:22 pm

Documentation

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. …".
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: the snapshot browsing example in the knowledge base

Post by dbrady » Mon Oct 01, 2012 1:01 am

I think you need to access something past the path to the mountpoint, like

Code: Select all
$ ls -l /Volumes/tank/builds/.zfs/snapshot/build-177/.
dbrady Offline


 
Posts: 67
Joined: Wed Sep 12, 2012 12:43 am

Re: the snapshot browsing example in the knowledge base

Post by grahamperrin » Mon Oct 01, 2012 2:17 am

Thanks. That does seem true for me (using OS X 10.8.2).

Example
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron