Problem with ZFS version 15
michael.gusek at web.de
Tue Jul 20 11:30:58 UTC 2010
Von: "Andrey V. Elsukov" <bu7cher at yandex.ru>
Gesendet: 20.07.2010 12:47:49
An: Michael Gusek <michael.gusek at 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.
>WBR, Andrey V. Elsukov
GRATIS für alle WEB.DE Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100720/ae07da1d/signature.pgp
More information about the freebsd-current