diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2009-01-27 18:30:03 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2009-01-27 18:30:03 +0000 |
commit | 489fde76802bfbae71c0d2639b8905a343016ca9 (patch) | |
tree | 45a78b00c781cd9bca65152afdc739a845919568 /docs/formatstorage.html.in | |
parent | * POTFILES.in: update: remove src/lxc_conf.c; Add src/bridge.c. (diff) | |
download | libvirt-489fde76802bfbae71c0d2639b8905a343016ca9.tar.gz libvirt-489fde76802bfbae71c0d2639b8905a343016ca9.tar.bz2 libvirt-489fde76802bfbae71c0d2639b8905a343016ca9.zip |
Add support for copy-on-write storage volumes
Diffstat (limited to 'docs/formatstorage.html.in')
-rw-r--r-- | docs/formatstorage.html.in | 52 |
1 files changed, 50 insertions, 2 deletions
diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index 366339af1..2055f0427 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -234,14 +234,14 @@ ... <target> <path>/var/lib/virt/images/sparse.img</path> + <format>qcow2</format> <permissions> <owner>0744</owner> <group>0744</group> <mode>0744</mode> <label>virt_image_t</label> </permissions> - </target> - </volume></pre> + </target></pre> <dl> <dt><code>path</code></dt> @@ -271,6 +271,54 @@ </dd> </dl> + <h3><a name="StorageVolBacking">Backing store elements</a></h3> + + <p> + A single <code>backingStore</code> element is contained within the top level + <code>volume</code> element. This tag is used to describe the optional copy + on write, backing store for the storage volume. It can contain the following + child elements: + </p> + + <pre> + ... + <backingStore> + <path>/var/lib/virt/images/master.img</path> + <format>raw</format> + <permissions> + <owner>0744</owner> + <group>0744</group> + <mode>0744</mode> + <label>virt_image_t</label> + </permissions> + </backingStore> + </volume></pre> + + <dl> + <dt><code>path</code></dt> + <dd>Provides the location at which the backing store can be accessed on + the local filesystem, as an absolute path. If omitted, there is no + backing store for this volume. + <span class="since">Since 0.6.0</span></dd> + <dt><code>format</code></dt> + <dd>Provides information about the pool specific backing store format. + For disk pools it will provide the partition type. For filesystem + or directory pools it will provide the file format type, eg cow, + qcow, vmdk, raw. Consult the pool-specific docs for the list of valid + values. Most file formats require a backing store of the same format, + however, the qcow2 format allows a different backing store format. + <span class="since">Since 0.6.0</span></dd> + <dt><code>permissions</code></dt> + <dd>Provides information about the permissions of the backing file. + It contains 4 child elements. The + <code>mode</code> element contains the octal permission set. The + <code>owner</code> element contains the numeric user ID. The <code>group</code> + element contains the numeric group ID. The <code>label</code> element + contains the MAC (eg SELinux) label string. + <span class="since">Since 0.6.0</span> + </dd> + </dl> + <h2><a name="examples">Example configuration</a></h2> <p> |