Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 23:28:55 -0700
From:      Chris Stankevitz <chrisstankevitz@gmail.com>
To:        kpneal@pobox.com
Cc:        Quartz <quartz@sneakertech.com>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Corrupt GPT on ZFS full-disks that shouldn't be using GPT
Message-ID:  <CAPi0psvDz50sD04doGSJK74vUP4vRNwWQpdfRQUs9tNYmVi_Zw@mail.gmail.com>
In-Reply-To: <CAPi0psvzYhCw-GMEJjA0jkUL53PrzxJFHKh3tQUbwyEdo60jag@mail.gmail.com>
References:  <CAPi0psvpvO4Kpbietpzyx1TjyB20hWV%2BCK-y3bWG4OARE1VMSg@mail.gmail.com> <558F99B6.2080205@sneakertech.com> <CAPi0pst6FP3m6Du-BpSU%2BVm_WGhfVjay_qAzfA%2BOaEz3fb1Fkg@mail.gmail.com> <559070CC.8040105@sneakertech.com> <20150628232208.GA69625@neutralgood.org> <CAPi0psvzYhCw-GMEJjA0jkUL53PrzxJFHKh3tQUbwyEdo60jag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 28, 2015 at 5:46 PM, Chris Stankevitz
<chrisstankevitz@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPi0psvDz50sD04doGSJK74vUP4vRNwWQpdfRQUs9tNYmVi_Zw>