From owner-freebsd-current@FreeBSD.ORG Tue Nov 17 17:48:14 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 68623106568D for ; Tue, 17 Nov 2009 17:48:14 +0000 (UTC) (envelope-from jeremy.thornhill@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id C45D08FC16 for ; Tue, 17 Nov 2009 17:48:13 +0000 (UTC) Received: by fxm27 with SMTP id 27so256551fxm.3 for ; Tue, 17 Nov 2009 09:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=BvHr3iao/vlBTQmxGpxe3KG3suij+L595qj+TgedTAc=; b=BUGSmpyec5M7Ai4TtjBkG6mNAHTlFpRCkYUZta7hLYrrD04tNusJGNjxpxjPxtS9js EeTf+LALhvBaZ/aTt35o6FpCq8LpxDkjVKrSvdVTDoa3rP/3hDnAUJr5/laB1lBHu07L BD1x2DhEwee9Ko9+cejs6WisafHE/3kWOpyzE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HTk691gScF5KbryYxWroU/AITmf3z9hZDPdxsBU5qikyxAo6wYMf30OuW9Fn5CVbsr Y+SRtUXrIH25o+fxUJTNMH7EDXl8m62O7I00NVSSQ55uuQmIEbO8931PrQuypq7O16ea 6lHPhnMv0CIMGiOMAgptel6Ny6cpPW9Y0v/FY= MIME-Version: 1.0 Received: by 10.216.86.213 with SMTP id w63mr914782wee.71.1258480092485; Tue, 17 Nov 2009 09:48:12 -0800 (PST) In-Reply-To: <1258478987.2303.62.camel@balrog.2hip.net> References: <1DE2E5E5-B6A4-4870-A346-ABC1CD20EE34@lassitu.de> <1258478987.2303.62.camel@balrog.2hip.net> Date: Tue, 17 Nov 2009 12:48:12 -0500 Message-ID: From: Jeremy Thornhill To: Robert Noland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Stefan Bethke 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:48:14 -0000 On Tue, Nov 17, 2009 at 12:29 PM, Robert Noland wrote > 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. Great news, thanks! > Sigh, yes... you have now trashed you primary gpt table. =A0PLEASE do not > go using dd to write stuff to your disks unless you a) know what your > doing or b) don't care if you trash your disks... > Indeed, I did not really care much about this disk, it's only a backup. I was using it as a dry run to see if I would encounter any issues before moving the 'real' data, and it did this job admirably :) > If is important... I can help you restore the primary header... Thanks, the disk is just fine again. I managed to restore the backup label using the Solaris system (after I RTFM'd on 'format'). Jeremy