vol-create

Creates a volume for a storage pool from a volume configuration-XML file.

Syntax

Read syntax diagramSkip visual syntax diagram vol-create <pool-name> <volume-XML-filename>
Where:
<pool-name>
Is the name of the storage pool.
<volume-XML-filename>
Is the name of the volume configuration-XML file.

Selected options

None.

Usage

Volume management commands

Example

# virsh vol-create pool1 vol1.xml