Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2013 03:58:11 -0400
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        Tim Gustafson <tjg@ucsc.edu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS: unsupported ZFS version 5000 (should be 28)
Message-ID:  <CAOFF%2BZ0XZFpzjMF=marWsQ=21ETPZgX80fQnh6nkMq=sMya9Uw@mail.gmail.com>
In-Reply-To: <CAPyBAS4ELa_w7Zm3JKcrqH9EvohRP6%2BMOuqDc3p9i=i1gdPpjg@mail.gmail.com>
References:  <CAPyBAS6Sf-5-HF%2BVGGZN1bp2Q2YebF5=Aw_Qj0OTED8oppk6SA@mail.gmail.com> <CAOFF%2BZ2ff8%2BwPQBR6YM2n9vX8qsZoq_VWXVHFKXB5qWp11Hddg@mail.gmail.com> <CAPyBAS4ELa_w7Zm3JKcrqH9EvohRP6%2BMOuqDc3p9i=i1gdPpjg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
>
> And then re-run that for each of da1 through da5, to install the boot
> code on each.  (I don't know if that helps or not, but it's a habit of
> mine, in case a drive dies in the future).
>
> Is that the right command to run for this?
>

Yes, that SHOULD have worked, I just re looked at my script I used to setup
my zpool
for reference here  is what I did from a -HEAD snapshot image

gpart create -s gpt ada0 > /dev/null 2>&1
gpart add -b 34 -s 64k -t freebsd-boot ada0 > /dev/null 2>&1
gpart add -t freebsd-zfs -a 4k -l tank-disk0 ada0 > /dev/null 2>&1
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 > /dev/null 2>&1
gnop create -S 4096 /dev/gpt/tank-disk0 > /dev/null 2>&1


Sam Fourman Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ0XZFpzjMF=marWsQ=21ETPZgX80fQnh6nkMq=sMya9Uw>