Added all example storage XML files

This commit is contained in:
Daniel P. Berrange 2008-02-20 15:52:40 +00:00
parent b7db975135
commit b49b628ab5
10 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1,6 @@
<pool type="dir">
<name>virtimages</name>
<target>
<path>/var/lib/virt/images</path>
</target>
</pool>

15
docs/storage/pool-fs.xml Normal file
View File

@ -0,0 +1,15 @@
<pool type="fs">
<name>virtimages</name>
<source>
<device path="/dev/VolGroup00/VirtImages"/>
</source>
<target>
<path>/var/lib/virt/images</path>
<permissions>
<mode>0700</mode>
<owner>0</owner>
<group>0</group>
<label>system_u:object_r:xen_image_t:s0</label>
</permissions>
</target>
</pool>

View File

@ -0,0 +1,9 @@
<pool type="logical">
<name>HostVG</name>
<source>
<device path="/dev/sda1"/>
</source>
<target>
<path>/dev/HostVG</path>
</target>
</pool>

View File

@ -0,0 +1,16 @@
<pool type="netfs">
<name>virtimages</name>
<source>
<host name="nfs.example.com"/>
<directory path="/var/lib/virt/images"/>
</source>
<target>
<path>/var/lib/virt/images</path>
<permissions>
<mode>0700</mode>
<owner>0</owner>
<group>0</group>
<label>system_u:object_r:xen_image_t:s0</label>
</permissions>
</target>
</pool>

10
docs/storage/vol-cow.xml Normal file
View File

@ -0,0 +1,10 @@
<volume type="file">
<name>cow.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<target>
<format type="cow"/>
</target>
</volume>

10
docs/storage/vol-qcow.xml Normal file
View File

@ -0,0 +1,10 @@
<volume type="file">
<name>qcow.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<target>
<format type="qcow"/>
</target>
</volume>

View File

@ -0,0 +1,10 @@
<volume type="file">
<name>qcow2.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<target>
<format type="qcow2"/>
</target>
</volume>

7
docs/storage/vol-raw.xml Normal file
View File

@ -0,0 +1,7 @@
<volume type="file">
<name>raw.img</name>
<storage>
<allocation unit="M">10</allocation>
<capacity unit="M">1000</capacity>
</storage>
</volume>

View File

@ -0,0 +1,7 @@
<volume type="file">
<name>sparse.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
</volume>

10
docs/storage/vol-vmdk.xml Normal file
View File

@ -0,0 +1,10 @@
<volume type="file">
<name>vmdk3.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<target>
<format type="vmdk"/>
</target>
</volume>