mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 13:47:13 +03:00
Added all example storage XML files
This commit is contained in:
parent
b7db975135
commit
b49b628ab5
6
docs/storage/pool-dir.xml
Normal file
6
docs/storage/pool-dir.xml
Normal 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
15
docs/storage/pool-fs.xml
Normal 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>
|
9
docs/storage/pool-logical.xml
Normal file
9
docs/storage/pool-logical.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<pool type="logical">
|
||||
<name>HostVG</name>
|
||||
<source>
|
||||
<device path="/dev/sda1"/>
|
||||
</source>
|
||||
<target>
|
||||
<path>/dev/HostVG</path>
|
||||
</target>
|
||||
</pool>
|
16
docs/storage/pool-netfs.xml
Normal file
16
docs/storage/pool-netfs.xml
Normal 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
10
docs/storage/vol-cow.xml
Normal 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
10
docs/storage/vol-qcow.xml
Normal 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>
|
10
docs/storage/vol-qcow2.xml
Normal file
10
docs/storage/vol-qcow2.xml
Normal 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
7
docs/storage/vol-raw.xml
Normal 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>
|
7
docs/storage/vol-sparse.xml
Normal file
7
docs/storage/vol-sparse.xml
Normal 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
10
docs/storage/vol-vmdk.xml
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user