Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:kvm [15/06/2017 16:17]
127.0.0.1 external edit
rb:kvm [25/09/2019 15:25] (current)
andrew [Storage Pools]
Line 120: Line 120:
  ​iso ​                 active ​    ​yes ​        ​iso ​                 active ​    ​yes ​      
  ​vm01 ​                ​active ​    ​yes ​        ​vm01 ​                ​active ​    ​yes ​      
 +</​code>​
 +
 +
 +Removing default pool
 +
 +The "​default"​ pool is replaced by two new storage pools, ''​vm''​ for machine images and ''​iso''​ for iso images to install from and should be removed from the configuration.
 +
 +<​code>​
 +root@vm1:/​data#​ virsh pool-list
 + ​Name ​                ​State ​     Autostart ​
 +-------------------------------------------
 + ​default ​             active ​    ​yes ​      
 + ​iso ​                 active ​    ​yes ​      
 + ​vm ​                  ​active ​    ​yes ​      
 +
 +
 +root@vm1:/​data# ​
 +root@vm1:/​data#​ virsh pool-delete default
 +error: Failed to delete pool default
 +error: Requested operation is not valid: storage pool '​default'​ is still active
 +
 +root@vm1:/​data#​ virsh pool-destroy default
 +Pool default destroyed
 +
 +root@vm1:/​data#​ virsh pool-delete default
 +Pool default deleted
 +
 +root@vm1:/​data#​ virsh pool-list
 + ​Name ​                ​State ​     Autostart ​
 +-------------------------------------------
 + ​iso ​                 active ​    ​yes ​      
 + ​vm ​                  ​active ​    ​yes ​      
 +
 +root@vm1:/​data# ​
 </​code>​ </​code>​
  

rb/kvm.1497539851.txt.gz ยท Last modified: 15/06/2017 16:17 by 127.0.0.1