From owner-freebsd-stable@FreeBSD.ORG Mon Jun 29 11:32:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64F9C1065672 for ; Mon, 29 Jun 2009 11:32:28 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id F39CC8FC1A for ; Mon, 29 Jun 2009 11:32:27 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: by fxm18 with SMTP id 18so1811639fxm.43 for ; Mon, 29 Jun 2009 04:32:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.177.18 with SMTP id e18mr4004281mup.78.1246273876635; Mon, 29 Jun 2009 04:11:16 -0700 (PDT) In-Reply-To: <20090629094359.GB24054@hugo10.ka.punkt.de> References: <20090629094359.GB24054@hugo10.ka.punkt.de> Date: Mon, 29 Jun 2009 13:11:16 +0200 Message-ID: From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= To: "Patrick M. Hausen" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable Mailing List Subject: Re: Zpool on raw disk and weird GEOM complaint X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 11:32:28 -0000 On Mon, Jun 29, 2009 at 11:43, Patrick M. Hausen wrote: > Hi, all, > > I have a system with 12 S-ATA disks attached that I set up > as a raidz2: > > %zpool status zfs > =A0pool: zfs > =A0state: ONLINE > =A0scrub: scrub in progress for 0h5m, 7.56% done, 1h3m to go > config: > > =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSUM > =A0 =A0 =A0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 =A0= 0 > > errors: No known data errors > > We are currently tweaking kernel memory a bit but the on disk > data and the hardware seem to be just fine. > > 7-STABLE, amd64, 4 GB of RAM. > > A couple of days ago, at each boot we saw this error message: > > GEOM: da0: corrupt or invalid GPT detected. > GEOM: da0: GPT rejected -- may not be recoverable. > > > There should not be any partition, MBR or GPT on the disks, > I created the zpool on the raw devices. > > So I figure: > > Somehow zfs wrote some data to da0 that somewhat resembles a > GPT partition table, so GEOM gets confused at boot time. > > Question is: can somebody confirm my guess? If yes should I > just ignore the message, can it be disabled somehow (compile > kernel without GPT?) or should zpools be created on slices instead > of disks? Hi, could you post the output of dd if=3D/dev/da0 count=3D1 | hd