From owner-freebsd-current@FreeBSD.ORG Sat Aug 18 16:29:08 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0B7D16A46B for ; Sat, 18 Aug 2007 16:29:08 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 87B3313C4D3 for ; Sat, 18 Aug 2007 16:29:08 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from bruce-a-mahs-computer.local (hornet.kitchenlab.org [64.142.31.105]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l7IGT2nj003243 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Aug 2007 09:29:08 -0700 Message-ID: <46C71E46.9040305@freebsd.org> Date: Sat, 18 Aug 2007 09:28:54 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Peter Schuller References: <200708181028.13882.peter.schuller@infidyne.com> In-Reply-To: <200708181028.13882.peter.schuller@infidyne.com> X-Enigmail-Version: 0.95.3 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4A33ECA5A8AD9170DCBECD79" Cc: current@freebsd.org Subject: Re: ZFS: Listable but un-stat():able snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2007 16:29:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4A33ECA5A8AD9170DCBECD79 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, Peter Schuller wrote: > Hello, >=20 > first off, this is on a machine running CURRENT from ~ 2007-05-08, so p= erhaps=20 > this is no longer an issue. But I don't remember reading about it anywh= ere. >=20 > zfs list contains among other things (full path obscured, but otherwise= =20 > exactly as-is): >=20 > XXX@rsync 0 - 146G - > XXX@200708181011 0 - 146G - > XXX@rsync2 126K - 146G - >=20 > I took the first two snapshots rapidly in succession after each other -= I=20 > believe without any I/O to the fs in between. After I could not "cd" in= to the=20 > rsync snapshot, I took another one (rsync2) for testing. >=20 > ls XXX/.zfs/snapshot: >=20 > 200708122313 200708180037 200708181011 rsync rsync2 >=20 > ls -l XXX/.zfs/snapshot (username obscured): >=20 > ls: rsync: No such file or directory > drwx------ 12 YYY YYY 43 Aug 12 22:31 200708122313 > drwx------ 12 YYY YYY 43 Aug 18 00:30 200708180037 > drwx------ 12 YYY YYY 43 Aug 18 09:30 200708181011 > drwx------ 12 YYY YYY 43 Aug 18 09:30 rsync2 >=20 > cd XXX/.zfs/snapshot/rsync: >=20 > cd: no such file or directory: XXX/.zfs/snapshot/rsync I've seen something similar to this (several months ago?). But I wasn't able to do much more investigation, nor was I able to reproduce the problem reliably. pjd@ and I talked about it briefly and while we agreed there was a problem, it wasn't obvious what it was. I think I made the problem go away with a reboot. Bruce. > Excerpt of kdump after ktrace ls -l: >=20 > 55508 ls CALL getdirentries(0x5,0x28214000,0x1000,0x28213054) > 55508 ls RET getdirentries 128/0x80 > 55508 ls CALL lstat(0x28216168,0x28216108) > 55508 ls NAMI "200708181011" > 55508 ls RET lstat 0 > 55508 ls CALL lstat(0x28216228,0x282161c8) > 55508 ls NAMI "200708180037" > 55508 ls RET lstat 0 > 55508 ls CALL lstat(0x282162e8,0x28216288) > 55508 ls NAMI "200708122313" > 55508 ls RET lstat 0 > 55508 ls CALL lstat(0x28211268,0x28211208) > 55508 ls NAMI "rsync2" > 55508 ls RET lstat 0 > 55508 ls CALL lstat(0x28211318,0x282112b8) > 55508 ls NAMI "rsync" > 55508 ls RET lstat -1 errno 2 No such file or directory >=20 > I still have the snapshot on the machine and such if anybody wants me t= o run=20 > some diagnostic commands. >=20 --------------enig4A33ECA5A8AD9170DCBECD79 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxx5L2MoxcVugUsMRAu2eAKDQmUT60antdtXRSUyGKUM7HpLNvACglOKR O0QQCl3C0yW5g8o3Bgx9QHg= =KHVd -----END PGP SIGNATURE----- --------------enig4A33ECA5A8AD9170DCBECD79--