Sysadmin/Add resources to a VM: Difference between revisions

m update template
No edit summary
Line 19: Line 19:
  sudo virsh start "name_of_vm"
  sudo virsh start "name_of_vm"


=== Adding disk space to a VM (file based VM)
=== Hot-adding a virtio volume to a running VM ====
virsh vol-create-as housetree jita-srv 20G
virsh attach-disk  jita /dev/housetree/jita-srv vdb
 
 
=== Extending the disk file of a VM ===


Create a file containing the amount of space you want to add to the VM
Create a file containing the amount of space you want to add to the VM