Difference between revisions of "/etc/libvirt/storage/"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Libvirt/storage/ to /etc/libvirt/storage/)
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 30: Line 30:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[virsh pool-create]]</code>
 
* <code>[[virsh pool-create]]</code>
 +
* <code>[[/var/lib/libvirt/images/]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 07:36, 4 April 2021

/etc/libvirt/storage/ folder contains files with names of your storage pools.


For example:

/etc/libvirt/storage/MY_FIRST_POOL.xml


<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh pool-edit default
or other application using the libvirt API.
-->

<pool type='dir'>
  <name>default</name>
  <uuid>645cccbe-db09-427b-be76-1f3d0788f6e0</uuid>
  <capacity unit='bytes'>0</capacity>
  <allocation unit='bytes'>0</allocation>
  <available unit='bytes'>0</available>
  <source>
  </source>
  <target>
    <path>/path/to/your/images/created/with/virsh/create-pool/</path>
  </target>
</pool>

Related commands

See also

Advertising: