Add a warning about gmirror truncating the last sector, which may, in

some cases, cause data loss.

PR:		128804
Reviewed by:	keramida, pgj, rene (as part of a larger change set)
This commit is contained in:
Tom Rhodes 2008-12-23 12:07:28 +00:00
parent 3a79129cfe
commit ae6381451f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=33494

View file

@ -264,6 +264,13 @@ Done.</screen>
<filename class="devicefile">/dev/mirror/gm</filename> device
using the following command:</para>
<warning>
<para>Creating a mirror out of the boot drive may result in
data loss if any data has been stored on the last sector of
the disk. This risk is reduced if creating the mirror is
done promptly after a fresh install of &os;.</para>
</warning>
<screen>&prompt.root; <userinput>gmirror label -vb round-robin gm0 /dev/da0</userinput></screen>
<para>The system should respond with:</para>