From owner-freebsd-fs@FreeBSD.ORG Wed Jun 15 13:32:39 2011 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 5409A106566C for ; Wed, 15 Jun 2011 13:32:39 +0000 (UTC) (envelope-from pvz@itassistans.se) Received: from zcs1.itassistans.net (zcs1.itassistans.net [212.112.191.37]) by mx1.freebsd.org (Postfix) with ESMTP id 0A0088FC0C for ; Wed, 15 Jun 2011 13:32:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs1.itassistans.net (Postfix) with ESMTP id DD2E6C026A; Wed, 15 Jun 2011 15:13:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at zcs1.itassistans.net Received: from zcs1.itassistans.net ([127.0.0.1]) by localhost (zcs1.itassistans.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id psUul7M5Tvi9; Wed, 15 Jun 2011 15:13:35 +0200 (CEST) Received: from [192.168.1.239] (c213-89-160-61.bredband.comhem.se [213.89.160.61]) by zcs1.itassistans.net (Postfix) with ESMTPSA id 7386DC0267; Wed, 15 Jun 2011 15:13:35 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Per von Zweigbergk In-Reply-To: <4DF8ACD3.1070202@scsiguy.com> Date: Wed, 15 Jun 2011 15:13:23 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4DF7CDD0.8040108@scsiguy.com> <20110615120524.GI1975@garage.freebsd.pl> <4DF8ACD3.1070202@scsiguy.com> To: "Justin T. Gibbs" X-Mailer: Apple Mail (2.1084) Cc: Pawel Jakub Dawidek , fs@FreeBSD.org Subject: Re: [CFR][ZFS] Add "zpool labelclear" command. 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: Wed, 15 Jun 2011 13:32:39 -0000 We here at IT-assistans have found the ability to clear ZFS labels very = useful for testing. We have an internal utility written in-house to = clear ZFS labels. It's rather dumb and dangerous which is why I have = chosen not to publish it. (Oh, the irony of being held accountable for a = utility designed to cause data loss causing data loss.) Having a = labelclear command with some extra molly guards on it in the normal = userspace ZFS commands would be useful to us at least for testing.=