[virtualization-guide] minor update, Partition -virsh in progress
Chris Curran
tsagadai at fedoraproject.org
Thu Jun 17 07:14:53 UTC 2010
commit f49193e1ba9f682c1de429d5341405834149be51
Author: Chris Curran <ccurran at redhat.com>
Date: Thu Jun 17 17:14:41 2010 +1000
minor update, Partition -virsh in progress
en-US/Storage_Pools_Partitions.xml | 37 ++++++++++++++++++++++++++++-------
1 files changed, 29 insertions(+), 8 deletions(-)
---
diff --git a/en-US/Storage_Pools_Partitions.xml b/en-US/Storage_Pools_Partitions.xml
index b798572..7b25502 100644
--- a/en-US/Storage_Pools_Partitions.xml
+++ b/en-US/Storage_Pools_Partitions.xml
@@ -145,23 +145,44 @@
<para>
Use the virsh <command>pool-define-as</command> command to create a new storage pool definition. There are three options that must be provided to define a pre-formatted disk as a storage pool:
</para>
- <itemizedlist>
+ <variablelist><varlistentry><term>Partition name</term><listitem>
+ <para>
+ The <parameter>name</parameter> parameter determines the name of the storage pool. This example uses the name <replaceable>guest_images_fs</replaceable> in the example below.
+ </para>
+ </listitem></varlistentry>
+ <!--<varlistentry><term> <device path='<replaceable>/dev/sdb</replaceable>'/></term>
<listitem>
<para>
- The <parameter>name</parameter> of the storage pool. All further <command>virsh</command> command used for this storage pool use the name defined by this option.
- </para>
+ The <parameter>device</parameter> parameter with the <parameter>path</parameter> attribute
+ specifies the device path of the storage device. This example uses the device <replaceable>/dev/sdb</replaceable> .
+ </para>
+ </listitem></varlistentry>
+ <varlistentry><term><target> <path><replaceable>/dev</replaceable></path></term>
+ <listitem>
<para>
- The name <replaceable>guest_images_fs</replaceable> is used in this example.
- </para>
- </listitem>
+ The file system <parameter>target</parameter> parameter with the <parameter>path</parameter> sub-parameter determines the location on the host file system to attach volumes created with this this storage pool.
+ </para>
+ <para>
+ For example, sdb1, sdb2, sdb3. Using <replaceable>/dev/</replaceable>, as in the example below, means volumes created from this storage pool can be accessed as <replaceable>/dev</replaceable>/sdb1, <replaceable>/dev</replaceable>/sdb2, <replaceable>/dev</replaceable>/sdb3.
+ </para>
+ </listitem></varlistentry>
+ <varlistentry><term><format type='<replaceable>gpt</replaceable>'/></term>
<listitem>
<para>
- The <parameter>/path/to/source</parameter> to the formatted file system. If the directory does not exist, the <command>virsh</command> command can create the directory.
+ The <parameter>format</parameter> parameter specifies the partition table type. his example uses the <replaceable>gpt</replaceable> in the example below, to match the GPT disk label type created in the previous step.
+ </para>
+ </listitem></varlistentry>-->
+ </variablelist>
+
+ <!--<listitem>
+ <para>
+ The <replaceable>/path/to/source</replaceable> to the formatted file system. If the directory does not exist, the <command>virsh</command> command can create the directory.
</para>
<para>
The directory <replaceable>/guest_images</replaceable> is used in this example.
</para>
</listitem>
+
<listitem>
<para>
The <parameter>mountpoint</parameter> on the local file system where the formatted device will be mounted. If the mount point directory does not exist, the <command>virsh</command> command can create the directory.
@@ -170,7 +191,7 @@
The directory <replaceable>/guest_images</replaceable> is used in this example.
</para>
</listitem>
- </itemizedlist>
+ </itemizedlist>-->
<screen># virsh pool-define-as <replaceable>guest_images_fs</replaceable> fs - - <replaceable>/dev/sdc1</replaceable> - "<replaceable>/guest_images</replaceable>"
Pool guest_images_fs defined
</screen>
More information about the docs-commits
mailing list