From owner-freebsd-questions@freebsd.org Wed Jul 15 06:28:58 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 396A39A252C for ; Wed, 15 Jul 2015 06:28:58 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (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 B5124187F for ; Wed, 15 Jul 2015 06:28:57 +0000 (UTC) (envelope-from chrisstankevitz@gmail.com) Received: by lagx9 with SMTP id x9so18565708lag.1 for ; Tue, 14 Jul 2015 23:28:55 -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=2MT4e+15PWc72vuHZJB79ClVTj2RkJF0i4F+NJg5e5A=; b=EQZuTFRhZEvRPjVomsBbbUVSkP4pytemjlU6G/NFNIuZ2irlXWNzixvSpqaMmiydlC cKeY9h2VLxpvrYrbZqsPRKBh2Qf/u8hcPp/G+KMo9y4X04xza4Luc0MQThYyFtzGLpoP twJmpMM8K3g0s/H36KvlXBC0ybgiINUVDD4yk8u2k4j7zsgPDeawzLC6JNTlzUpUzPdZ Y+hCLdCMvhs7Si3yukeSX1VrTSPZ3EG0v75reaqRYvnuuZ9G6x1IhsnFjGjF0w1twipn g3Q3euL57w4Fxk3wBuirTMcsZvlvON1MTIAbPdTmTPU4JI4dxK4MFwgiUtjPYUZQXljR MYrQ== MIME-Version: 1.0 X-Received: by 10.152.115.142 with SMTP id jo14mr2453790lab.62.1436941735781; Tue, 14 Jul 2015 23:28:55 -0700 (PDT) Received: by 10.25.208.208 with HTTP; Tue, 14 Jul 2015 23:28:55 -0700 (PDT) In-Reply-To: References: <558F99B6.2080205@sneakertech.com> <559070CC.8040105@sneakertech.com> <20150628232208.GA69625@neutralgood.org> Date: Tue, 14 Jul 2015 23:28:55 -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: Wed, 15 Jul 2015 06:28:58 -0000 On Sun, Jun 28, 2015 at 5:46 PM, Chris Stankevitz wrote: > Can I use dd on a /dev/daX that is currently part of an > imported, mounted, and online zpool? No. If you try to use dd to overwrite the last sector of the drive while it (the entire drive) is used by zfs, you will get "dd: /dev/daX: Operation not permitted". Chris