redhat:virtualization-redhat:start

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
redhat:virtualization-redhat:start [2020/04/01 12:01] michaelredhat:virtualization-redhat:start [2020/04/01 12:05] – [Configure KVM Environment] michael
Line 209: Line 209:
  
 <code> <code>
-usermod -aG libvirt YOURUSERNAME+mkdir -p /data01/vm-storage 
 +# mkdir /data01/iso-images
 </code> </code>
  
Line 223: Line 224:
 </sxh> </sxh>
   - Destroying pool:<code># virsh pool-destroy default</code><sxh bash; gutter: false;>Pool default destroyed</sxh>   - Destroying pool:<code># virsh pool-destroy default</code><sxh bash; gutter: false;>Pool default destroyed</sxh>
-  - Undefine pool:<code> +  - Undefine pool:<code>virsh pool-undefine default</code><sxh bash; gutter: false;>Pool default has been undefined</sxh> 
-virsh pool-undefine default +  Defining a new pool with name "default":<code># virsh pool-define-as --name default --type dir --target /data01/vm-storage</code><sxh bash; gutter: false;>Pool default defined</sxh> 
-Pool default has been undefined +  Set pool to be started when libvirt daemons starts:<code># virsh pool-autostart default</code><sxh bash; gutter: false;>Pool default marked as autostarted</sxh> 
-Defining a new pool with name "default": +  Start pool:virsh pool-start default</code><sxh bash; gutter: false;>Pool default started</sxh> 
- +  Checking pool state:<code># virsh pool-list</code><sxh bash; gutter: false;>
-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  Name                 State      Autostart 
 ------------------------------------------- -------------------------------------------
 default              active     yes   default              active     yes  
-From now, when creating virtual machines, Virtual Machine Manager will inform you that the *.img file (virtual disk of your VM), will be saved at /media/work/kvm. +</sxh> 
-</code>+ 
 +From now, when creating virtual machines, Virtual Machine Manager will inform you that the *.img file (virtual disk of your VM), will be saved at ''/data01/vm-storage/''.
 </WRAP> </WRAP>
  
  • redhat/virtualization-redhat/start.txt
  • Last modified: 2020/09/02 12:37
  • by michael