From owner-freebsd-stable@FreeBSD.ORG Thu Jun 13 12:29:12 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7323F16 for ; Thu, 13 Jun 2013 12:29:12 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9A71A40 for ; Thu, 13 Jun 2013 12:29:12 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id e11so4522747bkh.40 for ; Thu, 13 Jun 2013 05:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=RMugufUD1/nQPmWuQhFXEM96cU+b34/05XDXei3MAKQ=; b=QbRy7Jwmf/aXmTphuB5zOXlGU327qqPikDP2GztpK98xSiWOWAdE+UUBEAc5FGx3BS qXfg/riDMEdZUok+XtHYchLpq+zMMfAQG4pOCAj/eTgChu6GRUamDpL1EyxihXmX1pms SktuVYnoyOusnaYTY1YwLj0BjhUwHGrtkWluW8qFRGIPzwCwSpvUXVSOsq5OxQ5LrYdT IO67Vg0xCBWJwb2i1ThxJHoNhvwTwaOQiuPQqEOkzzIP0FNPPAce5fpTlWWVOfQFWs5q AjFzBPysAI4U89sm8KGus5nl3VXfFsv/FSsLHK0wCCvN7PVSXOmFuJ1HoSSEGP4A6KLm jV+A== X-Received: by 10.204.237.130 with SMTP id ko2mr94028bkb.154.1371126550345; Thu, 13 Jun 2013 05:29:10 -0700 (PDT) Received: from [192.168.50.107] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPSA id ch16sm23802bkb.17.2013.06.13.05.29.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 05:29:09 -0700 (PDT) Message-ID: <51B9BB14.6020103@gmail.com> Date: Thu, 13 Jun 2013 14:29:08 +0200 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-stable Subject: zpool labelclear destroys GPT data Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 12:29:12 -0000 When i use zpool labelclear, it wipes the whole disk including gpt data. So the whole disk is empty and i need to create the gpt partitions again. Is this supposed to work like this? The man page suggests that it only wipes the ZFS metadata. zpool labelclear [-f] device Removes ZFS label information from the specified device. The device must not be part of an active pool configuration. -v Treat exported or foreign devices as inactive. This is on FreeBSD 9.1 stable r251213 memstick install. regards Johan Hendriks Neuteboom Automatisering