Virsh vol-create-as: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Managing_guest_virtual_mac...")
 
Line 10: Line 10:


<pre>
<pre>
virsh vol-create-as --pool <pool-name> --name <volume-name> --capacity <capacity>
virsh vol-create-as --pool <pool-name> --name <volume-name> --capacity <capacity> --format <fomat>
</pre>
</pre>


Line 16: Line 16:


Use the following suffixes: 'b', 'k', 'M', 'G', 'T'.
Use the following suffixes: 'b', 'k', 'M', 'G', 'T'.
====--format====
Acceptable format types: "raw", "bochs", "qcow", "qcow2", "qed", "host_device", and "vmdk". These are, however, only meant for file based storage pools. By default the qcow version that is used is version 3.

Revision as of 17:02, 26 June 2017

External

Internal

Overview

virsh vol-create-as --pool <pool-name> --name <volume-name> --capacity <capacity> --format <fomat>

--capacity

Use the following suffixes: 'b', 'k', 'M', 'G', 'T'.

--format

Acceptable format types: "raw", "bochs", "qcow", "qcow2", "qed", "host_device", and "vmdk". These are, however, only meant for file based storage pools. By default the qcow version that is used is version 3.