commit eef1623392c75e7cc94772b77f5fc04334e85f84
Author: Petr Bokoc <pbokoc(a)redhat.com>
Date: Fri Oct 31 17:07:05 2014 +0100
Updating descriptions of logvol --size and --percent in Kickstart
en-US/Kickstart_Syntax_Reference.xml | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/en-US/Kickstart_Syntax_Reference.xml b/en-US/Kickstart_Syntax_Reference.xml
index 3d8bd93..e0ab490 100644
--- a/en-US/Kickstart_Syntax_Reference.xml
+++ b/en-US/Kickstart_Syntax_Reference.xml
@@ -1185,39 +1185,44 @@
<term><option>--size=</option></term>
<listitem>
<para>
- The minimum size of the logical volume in megabytes. This option is mandatory when creating a new logical volume, and optional if you are reusing an existing logical volume using the <option>--useexisting</option> or <option>--noformat</option> option.
+ The size of the logical volume in megabytes. This option can not be used together with the <option>--percent=</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--maxsize=</option></term>
+ <term><option>--percent=</option></term>
<listitem>
<para>
- The maximum size in megabytes when the logical volume is set to grow. Specify an integer value here such as <literal>500</literal> (do not include the unit).
+ Specify the amount by which to grow the logical volume, as a percentage of the free space in the volume group after any statically-sized logical volumes are taken into account. This option can not be used together with the <option>--size=</option> and <option>--grow</option> options.
</para>
+ <important>
+ <para>
+ When creating a new logical volume, you must either specify its size statically using the <option>--size=</option> option, or as a percentage of remaining free space using the <option>--percent=</option> option. You can not use both of these options on the same logical volume.
+ </para>
+ </important>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--recommended</option></term>
+ <term><option>--maxsize=</option></term>
<listitem>
<para>
- Use this option when creating a <systemitem>swap</systemitem> logical volume to determine the size of this volume automatically, based on your system's hardware. For details about the recommended scheme, see <remark>TODO: xref to section with partitioning recommendations</remark>
+ The maximum size in megabytes when the logical volume is set to grow. Specify an integer value here such as <literal>500</literal> (do not include the unit).
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--resize</option></term>
+ <term><option>--recommended</option></term>
<listitem>
<para>
- Resize an existing logical volume. If you use this option, you must also specify <option>--useexisting</option> and <option>--size</option>.
+ Use this option when creating a <systemitem>swap</systemitem> logical volume to determine the size of this volume automatically, based on your system's hardware. For details about the recommended scheme, see <remark>TODO: xref to section with partitioning recommendations</remark>
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--percent=</option></term>
+ <term><option>--resize</option></term>
<listitem>
<para>
- Specify the amount by which to grow the logical volume, as a percentage of the free space in the volume group after any statically-sized logical volumes are taken into account. This option must be used in conjunction with the <option>--size</option> and <option>--grow</option> options.
+ Resize an existing logical volume. If you use this option, you must also specify <option>--useexisting</option> and <option>--size</option>.
</para>
</listitem>
</varlistentry>