From owner-freebsd-fs@FreeBSD.ORG Thu May 5 16:36:41 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F1B11065672 for ; Thu, 5 May 2011 16:36:41 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 478328FC0C for ; Thu, 5 May 2011 16:36:40 +0000 (UTC) Received: by yxl31 with SMTP id 31so1055611yxl.13 for ; Thu, 05 May 2011 09:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xNUO0xrAIAVlTqZtyNrG7mYGS9y70hwYJGWHnmvzmQE=; b=pk7APgbd9vkW3TfIBz4Q+3mrZVjuUvPliybN9WIgPfERn/tVxi5gcnOcnIpQjB1S3k lOc2SrluqTkwt5zj3A6T3rcfULVrpDpG5/xKqeU4tyXvZmh7naRZQVltn0kfoV3rY2t/ a//uEyQrAubU7fHPrBU5sdYHjHVqVmqTM0lGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Bgl3RrkVcZqmWeaOTShi4OTPtEic7WRv9E/Zs1uzU5OzK0lA7UDHx+UxWEEsn3n6sB YQkU5vfPwrCqeGUKV60EHTbM+iw3tmqrY/vZtsufAtODIVB61+4GTzkczgeq6G/D0aVr 3lcI0K6/pT+sS+rBPhxiygg2Ewh6/Gc4SXej0= MIME-Version: 1.0 Received: by 10.90.113.15 with SMTP id l15mr492864agc.32.1304613400354; Thu, 05 May 2011 09:36:40 -0700 (PDT) Received: by 10.90.52.15 with HTTP; Thu, 5 May 2011 09:36:40 -0700 (PDT) In-Reply-To: <20110505062246.60B561C4@server.theusgroup.com> References: <20110505062246.60B561C4@server.theusgroup.com> Date: Thu, 5 May 2011 09:36:40 -0700 Message-ID: From: Freddie Cash To: john@theusgroup.com Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org Subject: Re: zfs v28 destory -r snapshot failure 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: Thu, 05 May 2011 16:36:41 -0000 On Wed, May 4, 2011 at 11:22 PM, John wrote: > Applied this patch set stable-8-zfsv28-20110501.patch.xz to a fresh download > of 8.2-release, buildworld, buildkernel, install and rebooted. Did not upgrade > pool or filesystems. > > Made a snapshot of tank/foo@today, then tried to delete with > zfs destroy -r tank@today yielded: > cannot destroy 'tank@today': dataset does not exist > no snapshots destroyed So, you have a snapshot tank/foo@today, but you don't have a snapshot tank@today, and you expect it to be able to delete the non-existent tank@foo? > If tank@today exists along with tank/foo@today, then the destroy works > correctly. Makes sense. tank@today exists, so you can destroy it. tank/foo@today also exists, so you can destroy it as part of the recursion. > Rebooted with kernel.old which is 8.2-release without the v28 patch and > zfs destroy -r tank@today deleted tank/foo@today without an error. That sounds like an error, since you shouldn't be able to destroy something that doesn't exist. But, maybe my understanding of how -r works is faulty. -- Freddie Cash fjwcash@gmail.com