From owner-freebsd-fs@FreeBSD.ORG Wed Jul 3 09:15:35 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3308D909 for ; Wed, 3 Jul 2013 09:15:35 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from umail.aei.mpg.de (umail.aei.mpg.de [194.94.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id E0E2717EF for ; Wed, 3 Jul 2013 09:15:34 +0000 (UTC) Received: from mailgate.aei.mpg.de (mailgate.aei.mpg.de [194.94.224.5]) by umail.aei.mpg.de (Postfix) with ESMTP id 2843D200A07; Wed, 3 Jul 2013 11:15:34 +0200 (CEST) Received: from mailgate.aei.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1BDDC405889; Wed, 3 Jul 2013 11:15:34 +0200 (CEST) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) by mailgate.aei.mpg.de (Postfix) with ESMTP id E9792406AF1; Wed, 3 Jul 2013 11:15:33 +0200 (CEST) Received: from cascade.aei.uni-hannover.de ([130.75.117.3]) by intranet.aei.uni-hannover.de (Lotus Domino Release 8.5.3) with ESMTP id 2013070311152379-78180 ; Wed, 3 Jul 2013 11:15:23 +0200 Date: Wed, 3 Jul 2013 11:15:23 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Jeremy Chadwick 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> Organization: Max Planck Gesellschaft X-Mailer: Sylpheed 3.1.3 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 8.5.3|September 15, 2011) at 07/03/2013 11:15:23, Serialize by Router on intranet/aei-hannover(Release 8.5.3|September 15, 2011) at 07/03/2013 11:15:33, Serialize complete at 07/03/2013 11:15:33 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-PMX-Version: 6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.7.3.90318 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, MIME_LOWER_CASE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1100_1199 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS ' Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 09:15:35 -0000 On Wed, 3 Jul 2013 01:56:29 -0700 Jeremy Chadwick 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