From owner-freebsd-current@FreeBSD.ORG Tue Nov 17 17:12:38 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3867F1065672 for ; Tue, 17 Nov 2009 17:12:38 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id DD4A08FC15 for ; Tue, 17 Nov 2009 17:12:37 +0000 (UTC) Received: from [192.168.1.4] (adsl-241-172-215.bna.bellsouth.net [74.241.172.215]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nAHHCPne010348 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 17 Nov 2009 12:12:35 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Jeremy Thornhill In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Date: Tue, 17 Nov 2009 11:12:17 -0600 Message-Id: <1258477937.2303.51.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-current@freebsd.org Subject: Re: "corrupt or invalid GPT" when attempting to import Solaris ZFS pool (8.0-RC3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:12:38 -0000 On Mon, 2009-11-16 at 23:10 -0500, Jeremy Thornhill wrote: > Dear list, > > I've been trying out 8.0-RC3 on a spare machine. I've been hoping that > 8.0 would be a good time to move my ZFS pools from an old Solaris x86 > box to FreeBSD. > > I've been testing the procedure with a USB drive which was allocated > as a single pool under Solaris. It's the correct filesystem version > (13). I export the pool from the Solaris box, and then attempt to > import it on the FreeBSD box. Unfortunately, I get the following > error, and the pool is not able to be imported: > > GEOM: da0: corrupt or invalid GPT detected. > GEOM: da0: GPT rejected -- may not be recoverable. This should be fixed in -CURRENT. The issue seems to be that solaris claims that the GPT header is 512 bytes, where we expected it to always be 92 bytes. The fixes are slated to merge to 7/8 stable within a few days, however they won't make it into 8.0. robert. > I've seen some recent posts on the lists where a helpful developer > assisted a user suffering from a similar circumstance, but I wasn't > able to determine if there is a general way for users to resolve such > issues. If I understand correctly this is an incompatibility in how > Solaris partitions disks when they are allocated entirely to a pool. > > So, before I attempt this full scale on my raidz array, can anybody > point me in the right direction to get beyond this error and make my > Solaris ZFS pools work in FreeBSD? > > Thanks, > Jeremy > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Robert Noland FreeBSD