Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 15:15:09 +0200
From:      Michael Gusek <michael.gusek@web.de>
To:        freebsd-current@freebsd.org
Subject:   Re: Problem with ZFS version 15
Message-ID:  <4C48445D.5070008@web.de>
In-Reply-To: <212927891.6184084.1279625456256.JavaMail.fmail@mwmweb017>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <bu7cher@yandex.ru>
> Gesendet: 20.07.2010 12:47:49
> An: Michael Gusek <michael.gusek@web.de>
> 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




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