Virsh pool-dumpxml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 19: | Line 19: | ||
<pool type='fs'> | <pool type='fs'> | ||
<font color=teal><'''name'''></font>main-storage-pool<font color=teal></'''name'''></font> | <font color=teal><'''name'''></font>main-storage-pool<font color=teal></'''name'''></font> | ||
<uuid>5e3b81b6-a596-404f-a091-ef738dc21df5</uuid> | <font color=teal><uuid>5e3b81b6-a596-404f-a091-ef738dc21df5</uuid> | ||
<capacity unit='bytes'>938496245760</capacity> | <font color=teal><'''capacity'''</font> unit='bytes'>938496245760</capacity> | ||
<allocation unit='bytes'>610673180672</allocation> | <font color=teal><'''allocation'''</font> unit='bytes'>610673180672</allocation> | ||
<available unit='bytes'>327823065088</available> | <font color=teal><'''available'''</font> unit='bytes'>327823065088</available> | ||
<source> | <source> | ||
<device path='/dev/sda7'/> | <font color=teal><'''device'''</font> path='/dev/sda7'/> | ||
<format type='auto'/> | <format type='auto'/> | ||
</source> | </source> | ||
<target> | <target> | ||
<path>/main-storage-pool</path> | <font color=teal><'''path'''></font>/main-storage-pool</path> | ||
<permissions> | <permissions> | ||
<mode>0755</mode> | <mode>0755</mode> |
Revision as of 20:24, 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>