Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2010 14:20:28 -0700
From:      Xin LI <delphij@delphij.net>
To:        Michael Gusek <michael.gusek@web.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problem with ZFS version 15
Message-ID:  <4C44C19C.4080302@delphij.net>
In-Reply-To: <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>
References:  <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 2010/07/17 06:40, Michael Gusek wrote:
> Hi,
> 
> i updated my 8.1-PRERELEASE to ZFS version 15. The patch http://people.freebsd.org/~mm/patches/zfs/v15/head-v15-v3.patch applies fine and after reboot i upgrade my pool successfully to version 15. Now, after a new reboot the bootloader can't boot from version 15, it supports only 13. Well, i build a bootable usb pen with 8.1-PRERELEASE and ZFS version 15, boot from it and apply a new bootloader: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad0|ad1. After this, i've lost my gpt scheme ! gpart show ad0 says "gpart: No such geom: ad0". How can i recover my gpt on ad0 and ad1 ? I'm running a zfs mirror on ad0 and ad1.

If you have previous saved gpart information (e.g. start/end) then you
can safely destroy and re-create the GPT partitions without destroying
the data.

Note that you may need to backup and dd the first and last sector of
your hard drive before proceeding.

Cheers,

Cheers,
- -- 
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!	       Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iQEcBAEBCAAGBQJMRMGcAAoJEATO+BI/yjfBbVUIAMIKRxUKMRpEdDJkPKqE3hZJ
sjCUm8XveedJHVz2SupvpsQizo/hKDkgksfzeqeRd8JA1g4jerORLCNYilpcwMfc
2AiyjgvpKbsYmT27WcG4Grnl3eE4jFF+7Wm8B8WtuzE7L+YMo+QcEYiSPzL8P8hJ
1+RwLas/4nVkaDWWBW9osanLYT1v62zIN0ik1bnZypY3kYuprfJN3G7ZCKVX7ffD
4AZr7bvO57mcQOXON9gkmOMfewt89lNJiMYf5yQiGX+BL/i3pYUGSj2kt1Yc0su5
y5NyC42wiUNVEn15pVsIS5AUJVHs574pZBH2+DX5DfvDZMgxCkcUxgKq08QVnjE=
=qQgN
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C44C19C.4080302>