Help Finding ZFS snapshots
carlj at peak.org
Mon Sep 5 16:29:32 UTC 2011
"Gene" <fbsd at brightstar.bomgardner.net> writes:
> On Mon, 05 Sep 2011 10:48:22 -0400, Daniel Staal wrote
>> --As of September 5, 2011 8:13:52 AM -0500, Gene is alleged to have said:
>> > Using FreeBSD 8.1, amd64 - I wanted to recover files from a snapshot of
>> > usr/home. Everything I've found via googling refers to a link such as
>> > "path/zfs/.snapshot"
>> --As for the rest, it is mine.
>> Try "path/.zfs". ;)
>> (Which, on my system, then has a 'snapshot' directory, which holds
>> all the snapshots.)
>> Daniel T. Staal
> No such luck. The following:
> cd /
> ls -R | grep -i "zfs"
> finds only 'zfs' directories in the source tree and ports.
> Other ideas? I know the snapshots exist, I can see 'em with
> "zfs list -t snapshot".
The .zfs directory is hidden by default so you have to specifically ls
or go into them. Do a 'ls' on the base directory of any zfs file
system, and then add .zfs to the end and you should see the .snapshots
Carl Johnson carlj at peak.org
More information about the freebsd-questions