From owner-freebsd-stable@FreeBSD.ORG Fri Nov 21 14:15:25 2008 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 5BEEA1065677 for ; Fri, 21 Nov 2008 14:15:25 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id E0B6B8FC2E for ; Fri, 21 Nov 2008 14:15:24 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.14.2/8.14.2) with ESMTP id mALEFIfZ011088; Fri, 21 Nov 2008 15:15:21 +0100 Received: from pmp.uni-hannover.de (arc.pmp.uni-hannover.de [130.75.117.1]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 4A5D72E6; Fri, 21 Nov 2008 15:15:18 +0100 (CET) Date: Fri, 21 Nov 2008 15:15:18 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Pete French Message-Id: <20081121151518.9f4f6af8.gerrit@pmp.uni-hannover.de> In-Reply-To: References: Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.11.21.140126 Cc: freebsd-stable@freebsd.org Subject: Re: Curious failure of ZFS snapshots 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: Fri, 21 Nov 2008 14:15:25 -0000 On Fri, 21 Nov 2008 13:39:20 +0000 Pete French wrote about Curious failure of ZFS snapshots: PF> On the box with the snapshots being created every day with the same PF> name I quickly end up with unavailable snapshots, and the error PF> message: 'Bad file descriptor'. On the machine which is creating PF> dailys which do not have the same name this does not happen. PF> PF> Interesting - and unexpected. The machines are running identical PF> kernels, being 7-STABLE form a few days ago. I have a similar setup (creating daily.0 every night and rotating the rest) for some home directories here... Right now 3 of them are fine, and one is showing the same problem you described: mclane# ll /tank/home/pt/.zfs/ ls: snapshot: Bad file descriptor total 0 Note that zfs still thinks the snapshots are there: mclane# zfs list -r tank/home/pt NAME USED AVAIL REFER MOUNTPOINT tank/home/pt 454M 1.78T 262M /tank/home/pt tank/home/pt@weekly.1 32.5M - 260M - tank/home/pt@daily.6 29.6M - 262M - tank/home/pt@weekly.0 45.3K - 262M - tank/home/pt@daily.5 45.3K - 262M - tank/home/pt@daily.4 28.2M - 262M - tank/home/pt@daily.3 28.7M - 262M - tank/home/pt@daily.2 27.8M - 262M - tank/home/pt@daily.1 374K - 262M - tank/home/pt@hourly.7 45.3K - 262M - tank/home/pt@hourly.6 45.3K - 262M - tank/home/pt@hourly.5 45.3K - 262M - tank/home/pt@hourly.4 45.3K - 262M - tank/home/pt@daily.0 45.3K - 262M - tank/home/pt@hourly.3 45.3K - 262M - tank/home/pt@hourly.2 45.3K - 262M - tank/home/pt@hourly.1 45.3K - 262M - tank/home/pt@hourly.0 45.3K - 262M - I even do autoamtic incremental backups via send/receive. There are no errors (up to today) and the snapshots are accessible on the backup machine. I am a bit troubled by unaccessible snapshots. Does anyone else here have the same problem (or can even offer a solution)? cu Gerrit