Comment 2 for bug 1690466

Revision history for this message
Lee Trager (ltrager) wrote :

The default virsh pool is in /var/lib/libvirt/images I want to be able to access ISOs I download in my home directory which is why I added a second pool.

You can see the path by looking at the XML.

$ virsh pool-dumpxml default
<pool type='dir'>
  <name>default</name>
  <uuid>f2bb24f2-deca-4f87-a09d-b7eb9677671d</uuid>
  <capacity unit='bytes'>474545455104</capacity>
  <allocation unit='bytes'>289206239232</allocation>
  <available unit='bytes'>185339215872</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/images</path>
    <permissions>
      <mode>0711</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</pool>

$ virsh pool-dumpxml ISOs
<pool type='dir'>
  <name>ISOs</name>
  <uuid>109ba190-305d-44de-ab05-e64da6e7ae53</uuid>
  <capacity unit='bytes'>474545455104</capacity>
  <allocation unit='bytes'>286747004928</allocation>
  <available unit='bytes'>187798450176</available>
  <source>
  </source>
  <target>
    <path>/home/lee/ISOs</path>
    <permissions>
      <mode>0775</mode>
      <owner>1000</owner>
      <group>1000</group>
    </permissions>
  </target>
</pool>