From Fedora Project Wiki
Description
How to test
- create a logical pool
- # pvcreate /dev/sda3
- # vgcreate lv_pool /dev/lv_pool
- # virsh pool-create-as lv_pool logical --source-dev /dev/sda3 --target /dev/lv_pool
- Pool lv_pool created
- destroy the logical pool
- # virsh pool-destroy lv_pool
- Pool lv_pool destroyed
- create a logical pool with arg source-name
#virsh pool-create-as lv_pool logical --source-name sda3 --target /dev/lv_pool
- destroy the logical pool
- # virsh pool-destroy lv_pool
- Pool lv_pool destroyed
Expected Results
- step#1 output:
- # virsh pool-list --all
- Name State Autostart
- -----------------------------------------
- default active yes
- lv_pool active no
- step#2 output:
- # virsh pool-list --all
- Name State Autostart
- -----------------------------------------
- default active yes
- step#3 output:
- # virsh pool-list --all
- Name State Autostart
- -----------------------------------------
- default active yes
- lv_pool active no
- step#4 output:
- # virsh pool-list --all
- Name State Autostart
- -----------------------------------------
- default active yes