Add a caution against using whole disks for

zpools that are used for booting, mirrors,
and RAIDZ.

PR:		241956
Submitted by:	pauamma@gundo.com
Approved by:	tsoome@
Differential Revision:	https://reviews.freebsd.org/D22663
This commit is contained in:
Benedict Reuschling 2019-12-08 14:21:38 +00:00
parent 7969799554
commit 2276e5640c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53667

View file

@ -3553,6 +3553,18 @@ vfs.zfs.vdev.cache.size="5M"</programlisting>
a partition rather than the entire disk. This
differs from recommendations made by the Solaris
documentation.</para>
<caution>
<para>Using an entire disk as part of a bootable
pool is strongly discouraged, as this may render
the pool unbootable. Likewise, you should not
use an entire disk as part of a mirror or
<acronym>RAID-Z</acronym> vdev. These are
because it it impossible to reliably determine
the size of an unpartitioned disk at boot time
and because there's no place to put in boot
code.</para>
</caution>
</listitem>
<listitem>