Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Sep 2011 17:32:56 +0200
From:      Rolf Nielsen <rolnie@bredband.net>
To:        Gene <fbsd@bomgardner.net>
Cc:        Freebsd Questions <FreeBSD-questions@freebsd.org>
Subject:   Re: Help Finding ZFS snapshots
Message-ID:  <4E64EBA8.3030208@bredband.net>
In-Reply-To: <20110905152046.M44028@brightstar.bomgardner.net>
References:  <20110905130325.M78491@brightstar.bomgardner.net> <0FE472B72B858F5A6EF0FD01@mac-pro.magehandbook.com> <20110905152046.M44028@brightstar.bomgardner.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
2011-09-05 17:23, Gene skrev:
> 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 normally hidden, so it won't even show up on
ls -a
output.

You have to either explicitly cd to it or make it visible by

zfs set snapdir=visible <filesystem>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4E64EBA8.3030208>