Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 11:15:23 +0200
From:      Gerrit =?ISO-8859-1?Q?K=FChn?= <gerrit.kuehn@aei.mpg.de>
To:        Jeremy Chadwick <jdc@koitsu.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: pwd in zfs snapshot
Message-ID:  <20130703111523.a94aa4c1.gerrit.kuehn@aei.mpg.de>
In-Reply-To: <20130703085629.GA59068@icarus.home.lan>
References:  <20130703101900.4191f56e.gerrit.kuehn@aei.mpg.de> <20130703085629.GA59068@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Jul 2013 01:56:29 -0700 Jeremy Chadwick <jdc@koitsu.org> wrote
about Re: pwd in zfs snapshot:

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

JC> Please try it and report back.

I can confirm that setting snapdir=visible makes the issue go away. On the
other hand, actually I would like to keep the snapshots hidden.

My actual problem is with rsync, which insists on doing pwd before working:

root@pt-storage:/data/.zfs/snapshot/daily.0 # rsync -Wavn . /
rsync: getcwd(): No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at util.c
(1002) [Receiver=3.0.9]


This even happens when only calling from the snapshot dir, and not trying
to work on it at all:

root@pt-storage:/data/.zfs/snapshot/daily.0 # rsync -Wavn /root/ /
rsync: getcwd(): No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at util.c
(1002) [Receiver=3.0.9]



cu
  Gerrit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130703111523.a94aa4c1.gerrit.kuehn>