From owner-freebsd-current@FreeBSD.ORG Thu Jul 22 13:15:11 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 5C19F1065677 for ; Thu, 22 Jul 2010 13:15:11 +0000 (UTC) (envelope-from michael.gusek@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id E2A3C8FC1D for ; Thu, 22 Jul 2010 13:15:10 +0000 (UTC) Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 0844215C1A8CC for ; Thu, 22 Jul 2010 15:15:10 +0200 (CEST) Received: from [77.184.98.203] (helo=janice.localnet.de) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #4) id 1ObvcD-0001vO-00 for freebsd-current@freebsd.org; Thu, 22 Jul 2010 15:15:09 +0200 Message-ID: <4C48445D.5070008@web.de> Date: Thu, 22 Jul 2010 15:15:09 +0200 From: Michael Gusek User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de; rv:1.9.1.10) Gecko/20100701 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017>, <4C44C19C.4080302@delphij.net> <1830885268.6104807.1279619519340.JavaMail.fmail@mwmweb017>, <4C457ED5.1010907@yandex.ru> <212927891.6184084.1279625456256.JavaMail.fmail@mwmweb017> In-Reply-To: <212927891.6184084.1279625456256.JavaMail.fmail@mwmweb017> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: michael.gusek@web.de X-Sender: michael.gusek@web.de X-Provags-ID: V01U2FsdGVkX18VtNXO3C1vMQhH0oh5CVcybamT1qOkqkEbypvw ds2YCkhT+LUP5QZDH4vOTSQw4lc3b2nsjWdhdnvW0iAgLjbsIn GIKuD2TSjOSYRYfFvkzg== 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: Thu, 22 Jul 2010 13:15:11 -0000 After reinitialized my gpt scheme, i can successfully import my zpool. After this there was a little bit trouble with my zpool.cache and booting from my pool, but now it works. Thank you to all for your help, Michael Am 20.07.2010 13:30, schrieb Michael Gusek: > -----Urspr?ngliche Nachricht----- > Von: "Andrey V. Elsukov" > Gesendet: 20.07.2010 12:47:49 > An: Michael Gusek > Betreff: Re: Problem with ZFS version 15 > >> On 20.07.2010 13:51, Michael Gusek wrote: >>>>>> 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. >> >> It is very strange why this command broke your GPT. >> Actually incorrect PMBR can prevent probes for GEOM_PART_GPT. > > Yes, this is very strange. > >> >>>> I don't have such a backup, only the whole disk for now. Everything >>>> else what can i do ? What if i initialize the gpt header: "gpart >>>> create -s GPT ad0" ? Do i lost my data ? >> >> GPT headers and tables will be initialized. After that you should >> add all partitions with exactly same offsets and sizes. In this case >> your data will not be touched. >> > > Ok, i will try it. I did a backup of the first 16GB of my disk, because i don't know the exact size of my swap partition, but this is my part. > > Thank you, > > Michael > >> -- >> WBR, Andrey V. Elsukov >> > ___________________________________________________________ > GRATIS für alle WEB.DE Nutzer: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://movieflat.web.de