From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 09:52:01 2010 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 37AEA106566B for ; Tue, 20 Jul 2010 09:52:01 +0000 (UTC) (envelope-from michael.gusek@web.de) Received: from fmmailgate07.web.de (fmmailgate07.web.de [217.72.192.248]) by mx1.freebsd.org (Postfix) with ESMTP id C24E58FC17 for ; Tue, 20 Jul 2010 09:52:00 +0000 (UTC) Received: from mwmweb017 ( [172.20.18.26]) by fmmailgate07.web.de (Postfix) with ESMTP id 5444335A0FE; Tue, 20 Jul 2010 11:51:59 +0200 (CEST) Received: from [77.184.69.16] by mwmweb017 with HTTP; Tue Jul 20 11:51:59 CEST 2010 Message-ID: <1830885268.6104807.1279619519340.JavaMail.fmail@mwmweb017> Date: Tue, 20 Jul 2010 11:51:59 +0200 (CEST) From: Michael Gusek MIME-Version: 1.0 To: d@delphij.net References: <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>, <4C44C19C.4080302@delphij.net> In-Reply-To: <4C44C19C.4080302@delphij.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-UI-ATTACHMENT-ID-POSTFIX: ba5ecdf8-f495-4d4d-a09f-513bb336e7ad X-Priority: 3 Importance: normal Sensitivity: Normal X-Provags-ID: V01U2FsdGVkX1+hfABRRYxJOCiVog3dz0O790v0jweKs5B76ke94hPDVWBfyllC66KK 2sBYpP7GRvZT6uu86HUI10XuyoJ0DW9O1TPO/JsYFjB7t+AB/MfKvA== Cc: freebsd-current@freebsd.org Subject: Re: Problem with ZFS version 15 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, 20 Jul 2010 09:52:01 -0000 -----Urspr=C3=BCngliche Nachricht----- Von: Xin LI Gesendet: 19.07.2010 23:20:28 An: Michael Gusek 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