pool-define

Creates a persistent definition of a storage pool configuration.

Syntax


1  pool-define!  --file <XML-filename>
Where:
<XML-filename>
Is the name of the storage pool configuration-XML file.

Selected options

--file
Specifies the storage pool configuration-XML file.

Usage

Managing storage pools

Example

This example defines the storage pool that is configured by the storage pool configuration-XML file named pool1.xml.
# virsh pool-define pool1.xml