Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 21:55:46 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Randy Sofia <randysofia@gmail.com>
Cc:        freebsd-fs@freebsd.org, Jaakko Heinonen <jh@FreeBSD.org>
Subject:   Re: Unable to pwd in ZFS snapshot
Message-ID:  <20100204205546.GA1733@garage.freebsd.pl>
In-Reply-To: <4b473c1f1002032014y4da8c0f0xcb74c749332cced3@mail.gmail.com>
References:  <4b473c1f1002032014y4da8c0f0xcb74c749332cced3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Feb 03, 2010 at 11:14:37PM -0500, Randy Sofia wrote:
> `pwd` returns "No such file or directory" when browsing snapshot files. This
> was addressed in:
> http://lists.freebsd.org/pipermail/freebsd-fs/2009-February/005675.html  but
> remains the same as of 8.0-RELEASE.
> 
> I am wondering if this is the expected behavior or if this was left by the
> wayside.
> 
> A work around is available as per the previous discussion:
> zfs set snapdir=visible volume
> 
> Reproducible behavior:
> CANAAN# zfs snapshot pithos/media@0_day_ago
> CANAAN# cd /pithos/media/.zfs/snapshot/0_day_ago/
> CANAAN# pwd
> pwd: .: No such file or directory
> CANAAN# uname -a
> FreeBSD CANAAN 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Dec 18 00:38:33 UTC
> 2009     root@:/usr/obj/usr/src/sys/CANAAN  amd64

It was reported to me by Jaakko some time ago, that r197513 (committed
by me) is responsible for this breakage. Unfortunately I had no time to
fix it yet.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAktrNFIACgkQForvXbEpPzQbpwCg70a3azuet1EwIe4BxuFA7k5H
sU4An1CpB2bLorGTYPLWYj8gdODVaY2y
=0cTD
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100204205546.GA1733>