Re: "corrupt or invalid GPT" when attempting to import Solaris ZFS pool (8.0-RC3)

From: Robert Noland <rnoland_at_FreeBSD.org>
Date: Tue, 17 Nov 2009 11:12:17 -0600
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
-- 
Robert Noland <rnoland_at_FreeBSD.org>
FreeBSD
Received on Tue Nov 17 2009 - 16:12:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC