KVM: Difference between revisions

485 bytes added ,  5 July 2018
→‎Configure bridged networking: create and set up a storage pool
→‎Configure bridged networking: create and set up a storage pool
Line 95: Line 95:
<source lang="bash">
<source lang="bash">
# brctl show
# brctl show
</source>
== Create and set up a storage pool ==
Define a storage pool:
<source lang="bash">
# virsh pool-define-as --name libvirt-images --type dir --target /var/lib/libvirt/images --source-format raw
Pool libvirt-images defined
</source>
Set it to autostart on boot:
<source lang="bash">
# virsh pool-autostart libvirt-images
Pool libvirt-images marked as autostarted
</source>
Start for now:
<source lang="bash">
# virsh pool-start libvirt-images
Pool libvirt-images started
</source>
</source>