Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 11:51:59 +0200 (CEST)
From:      Michael Gusek <michael.gusek@web.de>
To:        d@delphij.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problem with ZFS version 15
Message-ID:  <1830885268.6104807.1279619519340.JavaMail.fmail@mwmweb017>
In-Reply-To: <4C44C19C.4080302@delphij.net>
References:  <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>, <4C44C19C.4080302@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Urspr=C3=BCngliche Nachricht-----
Von: Xin LI <delphij@delphij.net>
Gesendet: 19.07.2010 23:20:28
An: Michael Gusek <michael.gusek@web.de>
Betreff: Re: Problem with ZFS version 15

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA256
>
>Hi,
>
>On 2010/07/17 06:40, Michael Gusek wrote:
>> Hi,
>>=20
>> i updated my 8.1-PRERELEASE to ZFS version 15. The patch http://people.f=
reebsd.org/~mm/patches/zfs/v15/head-v15-v3.patch applies fine and after reb=
oot i upgrade my pool successfully to version 15. Now, after a new reboot t=
he bootloader can't boot from version 15, it supports only 13. Well, i buil=
d a bootable usb pen with 8.1-PRERELEASE and ZFS version 15, boot from it a=
nd 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 "g=
part: No such geom: ad0". How can i recover my gpt on ad0 and ad1 ? I'm run=
ning 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.
>

I don't have such a backup, only the whole disk for now. Everything else wh=
at can i do ? What if i initialize the gpt header: "gpart create -s GPT ad0=
" ? Do i lost my data ?

Micha

>Cheers,
>
>Cheers,
>- --=20
>Xin LI =09http://www.delphij.net/
>FreeBSD - The Power to Serve!=09       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=3D
>=3DqQgN
>-----END PGP SIGNATURE-----
>_______________________________________________
>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"
___________________________________________________________
GRATIS f=C3=BCr alle WEB.DE Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1830885268.6104807.1279619519340.JavaMail.fmail>