From owner-freebsd-fs@FreeBSD.ORG Tue Oct 19 08:12:43 2010 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 140AA1065670 for ; Tue, 19 Oct 2010 08:12:43 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (mail.ip6.digiware.nl [IPv6:2001:4cb8:1:106::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9FBE98FC08 for ; Tue, 19 Oct 2010 08:12:42 +0000 (UTC) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 1D4D8153434 for ; Tue, 19 Oct 2010 10:12:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by localhost (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iyDqCQ1qniy8 for ; Tue, 19 Oct 2010 10:12:39 +0200 (CEST) Received: from [127.0.0.1] (opteron [192.168.10.67]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPSA id 134CB153433 for ; Tue, 19 Oct 2010 10:12:39 +0200 (CEST) Message-ID: <4CBD52F4.2010105@digiware.nl> Date: Tue, 19 Oct 2010 10:12:36 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ZFS destroy snapshot does not work X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 08:12:43 -0000 Hi, Probably due to too many reboots when the system was livelocked. But now I have the following problem. /sbin/zfs destroy -r zfsraid/backups@Monday cannot destroy 'zfsraid/backups@Monday': dataset does not exist no snapshots destroyed /sbin/zfs snapshot -r zfsraid/backups@Monday cannot create snapshot 'zfsraid/backups@Monday': dataset is busy no snapshots were created /sbin/zfs destroy -r zfsraid/home@$DATE cannot destroy 'zfsraid/home@Monday': dataset does not exist no snapshots destroyed /sbin/zfs snapshot -r zfsraid/home@Monday cannot create snapshot 'zfsraid/home@Monday': dataset is busy no snapshots were created Where this used to work(tm).... I can iterate over all filesystems and then destroy/create a backup. Except for one: # zfs list -r zfsraid/home/trouble NAME USED AVAIL REFER MOUNTPOINT zfsraid/home/trouble 149G 3.49T 148G none zfsraid/home/trouble@Sunday 1.06G - 148G - # zfs destroy -r zfsraid/home/trouble cannot destroy 'zfsraid/home/trouble@Sunday': dataset already exists Exit 1 # zfs destroy zfsraid/home/trouble@Sunday cannot destroy 'zfsraid/home/trouble@Sunday': dataset already exists Exit 1 # zfs destroy -r zfsraid/home/trouble@Sunday cannot destroy 'zfsraid/home/trouble@Sunday': snapshot is cloned no snapshots destroyed But of this last fact I do not remember cloning anything. Nor can I find any suggestions as to the filesystem being cloned..... So how do I get ride of this rouge filesystem. There is something like zdb, but the manual page is purposely vague on how to use that... Thanx, --WjW