Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Nov 2013 18:14:49 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        "bsd@todoo.biz" <bsd@todoo.biz>,  Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Running gpart boot code after upgrade zfs pool to feature flag ?
Message-ID:  <527D0DF9.4030503@gmail.com>
In-Reply-To: <A6334569-B846-43D4-8BD7-E72106892C28@todoo.biz>
References:  <A6334569-B846-43D4-8BD7-E72106892C28@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
07.11.2013 22:45, bsd@todoo.biz wrote:
> My gpart config is as follow :
>
>
>> tube:root 21:11:05 /usr/ports/ports-mgmt/poudriere screen # gpart show
>> =>        34  1677721533  da0  GPT  (800G)
>>            34         128    1  freebsd-boot  (64k)
>>           162           6       - free -  (3.0k)
>>           168     8388608    2  freebsd-swap  (4.0G)
>>       8388776  1669332784    3  freebsd-zfs  (796G)
>>    1677721560           7       - free -  (3.5k)
>>
>> =>       63  113246145  da1  MBR  (54G)
>>           63  113242122    1  freebsd  [active]  (54G)
>>    113242185       4023       - free -  (2M)
>>
>> =>        0  113242122  da1s1  BSD  (54G)
>>            0    4194304      1  freebsd-ufs  (2.0G)
>>      4194304    8388608      2  freebsd-swap  (4.0G)
>>     12582912    4194304      4  freebsd-ufs  (2.0G)
>>     16777216   31457280      5  freebsd-ufs  (15G)
>>     48234496   65007626      6  freebsd-ufs  (31G)
>>
>
> Shall I run the command provided or not ?
>
>
>>   gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0

'da0' is a hardcoded string. It just matches for you. Same as the part 
number.

cddl/contrib/opensolaris/cmd/zpool/zpool_main.c:4976 @^/stable/10

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?527D0DF9.4030503>