pool-dumpxml

Displays the current libvirt-internal configuration of a storage pool.

Syntax

Read syntax diagramSkip visual syntax diagram pool-dumpxml  --pool <pool-name><pool-UUID>
Where:
<pool-name>
Is the name of the storage pool.
<pool-UUID>
Is the UUID of the storage pool.

Selected options

--pool
Specifies the storage pool.

Usage

Managing storage pools

Example

# virsh pool-dumpxml pool1 default
<pool type="dir">
  <name>default</name>
  <uuid>09382b31-03ac-6726-45be-dfcaaf7b01cc</uuid>
  <capacity unit="bytes">243524067328</capacity>
  <allocation unit="bytes">109275693056</allocation>
  <available unit="bytes">134248374272</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/images</path>
    <permissions>
      <mode>0711</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</pool>