Create storage pool KVM

From wiki.techunit.org
Jump to: navigation, search

How to create a storage pool on QEMU/KVM using virsh?

#Create a pool
virsh pool-define-as isos dir - - - - "/data/iso"
#Create the directory and apply permissions
virsh pool-build isos
#Activate the pool
virsh pool-start isos
#To check, use this command
virsh pool-list --all