From owner-freebsd-stable@FreeBSD.ORG Wed May 12 21:23:17 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A8E10657A5 for ; Wed, 12 May 2010 21:23:17 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) by mx1.freebsd.org (Postfix) with ESMTP id B94F88FC1D for ; Wed, 12 May 2010 21:23:17 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id BD3B86CC48; Wed, 12 May 2010 21:23:16 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: Date: Wed, 12 May 2010 23:23:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Daniel O'Connor X-Mailer: Apple Mail (2.1078) Cc: FreeBSD Stable Subject: Re: .zfs directory broken on an FS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 21:23:18 -0000 Am 12.05.2010 um 02:09 schrieb Daniel O'Connor: > I recently switched over to ZFS at work and it seems pretty good (so = far at least!) however I was writing a script to do snapshots and one of = the file systems now gives.. >=20 > [cain 9:37] ~ >ls -la /usr/local/Genesis/archive/.zfs > ls: snapshot: Bad file descriptor > total 0 >=20 > Other file systems in the same pool work fine though.. > [cain 9:36] ~ >ll /usr/local/Genesis/MeteorData/.zfs/snapshot > total 4 > drwxrwxr-x 32 metdata radar 38 Mar 21 03:11 20100512-0900 >=20 > (All other snapshot directories are OK) This appears to be a long standing issue with no solution. I used to = get this a lot during daily rsync backups; since switching to a zfs = send/recv based script I don't get these problems anymore. Be aware that trying to unmount that snapshot or it's filesystem might = panic or hang the system, including when you try to reboot. Stefan --=20 Stefan Bethke Fon +49 151 14070811