Virsh vol-create

From NovaOrdis Knowledge Base
Revision as of 22:40, 3 November 2017 by Ovidiu (talk | contribs) (Created page with "=Overview= Volumes can be created from an XML definition file produced by a previous virsh vol-dumpxml command. virsh vol-create <''pool-name''> ./volume-definition-file.xm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Volumes can be created from an XML definition file produced by a previous virsh vol-dumpxml command.

virsh vol-create <pool-name> ./volume-definition-file.xml 
virsh vol-create main-storage-pool ./node3.qcow2.xml

Note that at the moment of creation, the qcow2 volumes are empty, while the raw volumes show as fully allocated.