<path> as child element of <pool><target>

Specifies the path to the device backing a storage pool.

Text content

The text content depends on the pool type:
dir | netfs
Specifies the fully qualified path of the host or network directory.
fs
Specifies the device node of the disk or the partition.

Selected attributes

None.

Usage

Configuring storage pools

Parent elements

<target> as child element of <pool>

Child elements

None.

Example

This example specifies a directory backing a storage pool of type directory:
<pool type="dir">
  <name>directoryPool</name>
  <target>
    <path>/var/lib/libvirt/images</path>
  </target>
</pool>
This example specifies an FC-attached SCSI disk backing a storage pool of type file system:
<pool type="fs">
    <name>fspool01</name>
    <source>
        <device path="/dev/s356001/fspool"/>
    </source>
    <target>
        <path>/var/lib/libvirt/images/fspool01</path>
    </target>
</pool>