From owner-freebsd-fs@FreeBSD.ORG Sat Jun 25 19:22:11 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAF6D10656B5 for ; Sat, 25 Jun 2011 19:22:11 +0000 (UTC) (envelope-from a.smith@ukgrid.net) Received: from mx1.ukgrid.net (mx1.ukgrid.net [89.107.22.36]) by mx1.freebsd.org (Postfix) with ESMTP id 180888FC0A for ; Sat, 25 Jun 2011 19:22:10 +0000 (UTC) Received: from [89.21.28.38] (port=64937 helo=omicron.ukgrid.net) by mx1.ukgrid.net with esmtp (Exim 4.76; FreeBSD) envelope-from a.smith@ukgrid.net envelope-to freebsd-fs@freebsd.org id 1QaYQj-000J2I-3X; Sat, 25 Jun 2011 20:22:09 +0100 Received: from 81.60.148.108.dyn.user.ono.com (81.60.148.108.dyn.user.ono.com [81.60.148.108]) by webmail2.ukgrid.net (Horde Framework) with HTTP; Sat, 25 Jun 2011 20:22:08 +0100 Message-ID: <20110625202208.36707k3wovx5ixwk@webmail2.ukgrid.net> Date: Sat, 25 Jun 2011 20:22:08 +0100 From: a.smith@ukgrid.net To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) / FreeBSD-8.1 Subject: RE: GEOM: the primary GPT table is corrupt or invalid after RAIDZ creation X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 19:22:11 -0000 Hi, Looks to me like you are creating 4k aligned partions (adxp1) and then not using them. I think you need to do: gnop create -S 4096 ad6p1 (you have 4086 so hopefully just a typo from you) zpool create raidz tank ad6p1.nop ad8p1 ad10p1 ad12p1 ad14p1 Using adx[.nop] at the zpool create stage is using the whole usable disk, not the aligned GPT partion you went to the trouble of creating (gpart add -t freebsd-zfs -b 2048 ad6). cheers Andy.