Virsh pool-dumpxml: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<pool type='fs'> | <pool type='fs'> | ||
<font color=teal><'''name'''></font>main-storage-pool | <font color=teal><'''name'''></font>main-storage-pool</name> | ||
<font color=teal><'''uuid'''</font | <font color=teal><'''uuid'''></font>5e3b81b6-a596-404f-a091-ef738dc21df5</uuid> | ||
<font color=teal><'''capacity'''</font> unit='bytes'>938496245760</capacity> | <font color=teal><'''capacity'''</font> unit='bytes'>938496245760</capacity> | ||
<font color=teal><'''allocation'''</font> unit='bytes'>610673180672</allocation> | <font color=teal><'''allocation'''</font> unit='bytes'>610673180672</allocation> |
Latest revision as of 20:25, 3 November 2017
Internal
Overview
Dumps the XML configuration of the specified storage pool. The XML contains detailed information about the storage pool, including:
- the name
- the ID
- the capacity/used space/available space
- the virtualization host device the pool resides on
- the mount point in the virtualization host file system
- etc.
virsh pool-dumpxml main-storage-pool
<pool type='fs'> <name>main-storage-pool</name> <uuid>5e3b81b6-a596-404f-a091-ef738dc21df5</uuid> <capacity unit='bytes'>938496245760</capacity> <allocation unit='bytes'>610673180672</allocation> <available unit='bytes'>327823065088</available> <source> <device path='/dev/sda7'/> <format type='auto'/> </source> <target> <path>/main-storage-pool</path> <permissions> <mode>0755</mode> <owner>0</owner> <group>0</group> <label>system_u:object_r:unlabeled_t:s0</label> </permissions> </target> </pool>