From owner-freebsd-current@FreeBSD.ORG Sat Aug 18 08:27:58 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 9EF8B16A421 for ; Sat, 18 Aug 2007 08:27:58 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 63B2C13C458 for ; Sat, 18 Aug 2007 08:27:58 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from prometheus.scode.org (85.229.22.84) by proxy1.bredband.net (7.3.127) id 46C5A96A0002D93D for current@freebsd.org; Sat, 18 Aug 2007 10:27:57 +0200 Received: from localhost (localhost [127.0.0.1]) by prometheus.scode.org (Postfix) with ESMTP id 86A8F1CC7B for ; Sat, 18 Aug 2007 10:28:14 +0200 (CEST) From: Peter Schuller To: current@freebsd.org Date: Sat, 18 Aug 2007 10:28:13 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708181028.13882.peter.schuller@infidyne.com> Cc: Subject: 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 08:27:58 -0000 Hello, first off, this is on a machine running CURRENT from ~ 2007-05-08, so perhaps this is no longer an issue. But I don't remember reading about it anywhere. zfs list contains among other things (full path obscured, but otherwise exactly as-is): XXX@rsync 0 - 146G - XXX@200708181011 0 - 146G - XXX@rsync2 126K - 146G - I took the first two snapshots rapidly in succession after each other - I believe without any I/O to the fs in between. After I could not "cd" into the rsync snapshot, I took another one (rsync2) for testing. ls XXX/.zfs/snapshot: 200708122313 200708180037 200708181011 rsync rsync2 ls -l XXX/.zfs/snapshot (username obscured): 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 cd XXX/.zfs/snapshot/rsync: cd: no such file or directory: XXX/.zfs/snapshot/rsync Excerpt of kdump after ktrace ls -l: 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 I still have the snapshot on the machine and such if anybody wants me to run some diagnostic commands. -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org