From owner-freebsd-questions@freebsd.org Mon Jun 29 00:46:34 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 49BD698FEC8 for ; Mon, 29 Jun 2015 00:46:34 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1ED212F2 for ; Mon, 29 Jun 2015 00:46:33 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by lagh6 with SMTP id h6so35498072lag.2 for ; Sun, 28 Jun 2015 17:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lHwfCFVtIKbtIShJ4daCK3pzsD1uNNa3+1GX4mFQ6wY=; b=Su/iQWfyBDW9DrFctabOTudTOsD/m03083WHEeqxfM1hR9VN8nRP52muDVl5l9l7tc z/CHAkKopOi97xEOrk/BZPoiDGlrkAq1M4lyDvEXH8VdKCDI2z4BIm1j6T0ydxeVHblz /OlGf7J47PzJ7oiQ5rSXWxy5FdxNtHD1Ti7uvFQodsdqG27x9gOsK1uVRZu69SzezCpI sCo6Wp5pBmRa5jWxKdA1kOIv6PSpv+pPzfosCBJeVayYh2tYCo234jPo/hTGEWNv2gx7 4Dy3v6ih0VKGBelvckDnl30JBZXFb+BtJG74xBERv/OXmJluQcENiKuOuFKJdKHFuGYa dR8Q== MIME-Version: 1.0 X-Received: by 10.152.37.196 with SMTP id a4mr11780183lak.59.1435538791343; Sun, 28 Jun 2015 17:46:31 -0700 (PDT) Received: by 10.25.42.146 with HTTP; Sun, 28 Jun 2015 17:46:31 -0700 (PDT) In-Reply-To: <20150628232208.GA69625@neutralgood.org> References: <558F99B6.2080205@sneakertech.com> <559070CC.8040105@sneakertech.com> <20150628232208.GA69625@neutralgood.org> Date: Sun, 28 Jun 2015 17:46:31 -0700 Message-ID: Subject: Re: Corrupt GPT on ZFS full-disks that shouldn't be using GPT From: Chris Stankevitz To: kpneal@pobox.com Cc: Quartz , freebsd-questions Content-Type: text/plain; charset=UTF-8 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 00:46:34 -0000 On Sun, Jun 28, 2015 at 4:22 PM, wrote: > I'm not sure if offlining the disk you are touching will make any difference. > It may just make recovery more complicated. If it was me I'd just zero the > last block without the offline/online dance. Kevin, Thank you. Can I use dd on a /dev/daX that is currently part of an imported, mounted, and online zpool? Also, if anyone can answer this question more generally, I'd appreciate it: are there times (other than r-x) when I do not have permission/ability to dd if=/dev/zero of=/dev/daX? Chris