Listing current pools:
|
$ virsh pool-list Name State Autostart ------------------------------------------- default active yes |
Destroying pool:
|
$ virsh pool-destroy default Pool default destroyed |
Undefine pool:
|
$ virsh pool-undefine default Pool default has been undefined |
Defining a new pool with name “default”:
|
$ virsh pool-define-as --name default --type dir --target /media/work/kvm Pool default defined |
Set pool to be started when libvirt daemons starts:
|
$ virsh pool-autostart default Pool default marked as autostarted |
Start pool:
|
$ virsh pool-start default Pool default started |
Checking pool state:
|
$ virsh pool-list Name State Autostart ------------------------------------------- default active yes |
source
Thanks for reading! If you enjoyed this article, share it!! It makes me happier.