Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 01:56:29 -0700
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        Gerrit =?unknown-8bit?Q?K=FChn?= <gerrit.kuehn@aei.mpg.de>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: pwd in zfs snapshot
Message-ID:  <20130703085629.GA59068@icarus.home.lan>
In-Reply-To: <20130703101900.4191f56e.gerrit.kuehn@aei.mpg.de>
References:  <20130703101900.4191f56e.gerrit.kuehn@aei.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 03, 2013 at 10:19:00AM +0200, Gerrit Khn wrote:
> Hi all,
> 
> Does anyone know if this is an issue that should already be fixed?
> 
> <http://lists.freebsd.org/pipermail/freebsd-fs/2010-February/007774.html>;
> 
> It looks like I still see it, even on rather up-to-date-systems:
> 
> ---
> root@pt-storage:/root #	cd /data/.zfs/snapshot/daily.0/
> root@pt-storage:/data/.zfs/snapshot/daily.0 # pwd
> pwd: .: No such file or directory
> root@pt-storage:/data/.zfs/snapshot/daily.0 # uname -a
> FreeBSD pt-storage.pt.rt.aei.uni-hannover.de 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

If I'm reading this correctly (very likely I'm not):

http://lists.freebsd.org/pipermail/freebsd-fs/2010-February/007805.html

This would imply the issue may be relieved by setting snapdir=visible on
the filesystem.  If it works as a workaround, great, but be aware this
may not be ideal for everyone.

Please try it and report back.

-- 
| Jeremy Chadwick                                   jdc@koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Making life hard for others since 1977.             PGP 4BD6C0CB |




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