From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 19:30:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D400106566C for ; Wed, 14 Apr 2010 19:30:08 +0000 (UTC) (envelope-from dbehterev@gmail.com) Received: from mail-bw0-f214.google.com (mail-bw0-f214.google.com [209.85.218.214]) by mx1.freebsd.org (Postfix) with ESMTP id 172488FC1C for ; Wed, 14 Apr 2010 19:30:07 +0000 (UTC) Received: by bwz6 with SMTP id 6so506569bwz.13 for ; Wed, 14 Apr 2010 12:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=cirT0ITxR7AdwkMubU8SCmZ2DyhtQ2Ft3HKYM4RpZJg=; b=ANMQVVyR/vjiddDfuHlQkjuC1KdHTvaFzMXVLHboUvRjvX7FwSmZRFHQFZylkb1CXl DSTYx5GRLKLbuRtHnIXDyaNvRS+m22HmabA1eJy/RC6G2Q0vZV88PmIJwmx94B9Xcxr4 0K3Qv5u87iamHhaGWp4VS5MTP4BVGWRpi5Jbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=w+RAk/+Boyde2Fw1HqynnRBEULtyXEilgaSqPXYliioT1hcu2Dkg8B4uOghOWo78Ch aap1mqCAgeJiX+jv0DsGF/BqmoWlhGaeXzcPi6OTHt7iOo1vtfIoAdYB7+PT2pTV1vjL iJlPQ0h+Xd4j9gQVf2ZlvyDnttkeR+zsKyA3o= MIME-Version: 1.0 Received: by 10.204.117.65 with HTTP; Wed, 14 Apr 2010 12:29:44 -0700 (PDT) From: =?KOI8-R?B?5M3J1NLJyiDixcjUxdLF1w==?= Date: Wed, 14 Apr 2010 23:29:44 +0400 Received: by 10.204.19.137 with SMTP id a9mr9128184bkb.24.1271273405939; Wed, 14 Apr 2010 12:30:05 -0700 (PDT) Message-ID: To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Wed, 14 Apr 2010 19:51:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: corrupt or invalid GPT detected... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 19:30:08 -0000 Hello all! I have error with GPT slice: Apr 14 20:24:10 kernel: GEOM: ad6: corrupt or invalid GPT detected. Apr 14 20:24:10 kernel: GEOM: ad6: GPT rejected -- may not be recoverable. That messages I have got since I created GPT slice. So, I used following actions (I have prepared disk for installing FreeBSD 7): 1) I divided disk on two slice - one for boot and next one for zfs pool (I got ad0s1 and ad0s2) 2) I partitioned first slice on two partition (I got ad0s1a - for boot, ad0s1b - swap) 3) I created GPT slice: gpart create -s GPT ad0s2 4) I added partition: gpart add -b 34 -s -t freebsd-zfs -l datazfs ad0s2 (so, I got ad0s2p1) 5) created GPT label: glabel label my_zfs ad0s2p1 6) Finally, I created zfs pool: zpool create tank label/my_zfs And generally, I have got errors that I mentioned above. How can I fix that? Thank all for answer.