Problem with ZFS version 15

Michael Gusek michael.gusek at
Tue Jul 20 09:52:01 UTC 2010

-----Ursprüngliche Nachricht-----
Von: Xin LI <delphij at>
Gesendet: 19.07.2010 23:20:28
An: Michael Gusek <michael.gusek at>
Betreff: Re: Problem with ZFS version 15

>Hash: SHA256
>On 2010/07/17 06:40, Michael Gusek wrote:
>> Hi,
>> i updated my 8.1-PRERELEASE to ZFS version 15. The patch applies fine and after reboot i upgrade my pool successfully to version 15. Now, after a new reboot the bootloader can't boot from version 15, it supports only 13. Well, i build a bootable usb pen with 8.1-PRERELEASE and ZFS version 15, boot from it 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.
>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 what can i do ? What if i initialize the gpt header: "gpart create -s GPT ad0" ? Do i lost my data ?


>- -- 
>Xin LI
>FreeBSD - The Power to Serve!	       Live free or die
>Version: GnuPG v2.0.15 (FreeBSD)
>freebsd-current at mailing list
>To unsubscribe, send any mail to "freebsd-current-unsubscribe at"
GRATIS für alle WEB.DE Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter

More information about the freebsd-current mailing list