Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2018 10:28:57 +0100
From:      sine astris <sineastris@gmail.com>
To:        freebsd-doc@freebsd.org
Subject:   Possible patch for zfs-zpool.html
Message-ID:  <CAA1LepbOsY4ntczNUoBGCyCeeLPhbLtTOeug%2B2rQ49DC0VoVCQ@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
--- 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
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA1LepbOsY4ntczNUoBGCyCeeLPhbLtTOeug%2B2rQ49DC0VoVCQ>