From owner-freebsd-questions@freebsd.org Mon Jun 29 08:33:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEEF098D02C for ; Mon, 29 Jun 2015 08:33:31 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 860DA2BA5 for ; Mon, 29 Jun 2015 08:33:31 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) by douhisi.pair.com (Postfix) with ESMTPSA id B99803F710; Mon, 29 Jun 2015 04:33:29 -0400 (EDT) Message-ID: <559102D9.8060404@sneakertech.com> Date: Mon, 29 Jun 2015 04:33:29 -0400 From: Quartz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Chris Stankevitz CC: freebsd-questions Subject: Re: Corrupt GPT on ZFS full-disks that shouldn't be using GPT References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 08:33:31 -0000 >Do I need to export the pool before using dd on the > raw device? So I think my earlier comment saying export is overkill might have been wrong. The handbook page explaining how zfs checksums work has an example that explicitly uses export: [20.3.8. Self-Healing] "Data corruption is simulated by writing random data to the beginning of one of the disks in the mirror. To prevent ZFS from healing the data as soon as it is detected, the pool is exported before the corruption and imported again afterwards." https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/zfs-zpool.html