Unable to pwd in ZFS snapshot

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Feb 4 20:56:01 UTC 2010


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 at 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 at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100204/7f325883/attachment.pgp


More information about the freebsd-fs mailing list