From owner-freebsd-questions@FreeBSD.ORG Fri Mar 28 16:31:57 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E1B15EB for ; Fri, 28 Mar 2014 16:31:57 +0000 (UTC) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "webmail2.dweimer.local", Issuer "webmail2.dweimer.local" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A4E9194 for ; Fri, 28 Mar 2014 16:31:56 +0000 (UTC) Received: from www.dweimer.net (webmail [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id s2SG4t0K044207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 28 Mar 2014 11:04:55 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Mar 2014 11:04:55 -0500 From: dweimer To: FreeBSD Questions Subject: Any Ideas on how to determine what process has a ZFS snapshot resource busy Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.0-rc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2014 16:31:57 -0000 I have a ZFS snapshot on one of my systems that was created Tuesday as part of its backup process, however it didn't delete as it was supposed to. Attempts to destroy it return "cannot destroy snapshot ...: dataset is busy", I have confirmed that the backup process didn't hang, it completed successfully, all the other snapshots were destroyed. I can't seem to find anything that shows something is currently accessing the snapshot. Does anyone have any suggestions as to how to find out what process is accessing the snapshot preventing it from being destroyed? -- Thanks, Dean E. Weimer http://www.dweimer.net/