From owner-freebsd-stable@FreeBSD.ORG Fri Nov 21 13:39:23 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 06F011065670 for ; Fri, 21 Nov 2008 13:39:23 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id C55018FC0C for ; Fri, 21 Nov 2008 13:39:22 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L3WEC-000Cpb-PW for freebsd-stable@freebsd.org; Fri, 21 Nov 2008 13:39:20 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L3WEC-0000SM-No for freebsd-stable@freebsd.org; Fri, 21 Nov 2008 13:39:20 +0000 To: freebsd-stable@freebsd.org Message-Id: From: Pete French Date: Fri, 21 Nov 2008 13:39:20 +0000 Subject: 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 13:39:24 -0000 I have a couple of boxes here which make daily snapshots of their filesystems. One just makes a snapshot at 7am, called '7am' which it does by deleting the previous days and making a new one called '7am'. The other has snapshots called 'today', 'yesterday', '2daysago' etc, up to a week. It does this by deleting the '5daysago' snapshot, renaming all the others to shuffle them down by one, and then creating a new snapshot for 'today'. On the box with the snapshots being created every day with the same name I quickly end up with unavailable snapshots, and the error message: 'Bad file descriptor'. On the machine which is creating dailys which do not have the same name this does not happen. Interesting - and unexpected. The machines are running identical kernels, being 7-STABLE form a few days ago. -pete.