Hi,

When upgrading zfs pool there is only an example for legacy boot
systems, there doesn't seem to be an example for EFI systems in either
the handbook, gpart(8), or zfs(8).

I've attached a small patch to zfs-zpool.html which amends the warning
already given.

Regards,
Sine Astris
--- zfs-zpool.html	Thu Oct 25 09:35:21 2018
+++ zfs-zpool.html.new	Thu Oct 25 10:14:56 2018
@@ -763,7 +763,10 @@
   filesystem_limits</pre><div xmlns="" class="warning"><h3 class="admontitle">Warning: </h3><p xmlns="http://www.w3.org/1999/xhtml";>The boot code on systems that boot from a pool must be
 	  updated to support the new pool version.  Use
 	  <code class="command">gpart bootcode</code> on the partition that
-	  contains the boot code.  See <a class="citerefentry" href="https://www.FreeBSD.org/cgi/man.cgi?query=gpart&amp;sektion=8&amp;manpath=freebsd-release-ports";><span class="citerefentry"><span class="refentrytitle">gpart</span>(8)</span></a> for more
+	  contains the boot code.  
+	  <p>For legacy boot using GPT <code class="command">gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1</code></p>
+	  <p>For EFI boot <code class="command">gpart bootcode -p /boot/boot1.efifat -i 1 ada1</code></p>
+	  Apply the bootcode to all bootable disks, see <a class="citerefentry" href="https://www.FreeBSD.org/cgi/man.cgi?query=gpart&amp;sektion=8&amp;manpath=freebsd-release-ports";><span class="citerefentry"><span class="refentrytitle">gpart</span>(8)</span></a> for more
 	  information.</p></div></div><div class="sect2"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml"; class="title"><a id="zfs-zpool-history"></a>19.3.12. Displaying Recorded Pool History</h3></div></div></div><p>Commands that modify the pool are recorded.  Recorded
 	actions include the creation of datasets, changing properties,
 	or replacement of a disk.  This history is useful for
_______________________________________________
freebsd-doc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"

Reply via email to