Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


kvm_recover_space_from_vm

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
kvm_recover_space_from_vm [2014/12/02 21:06] – [Test] adminkvm_recover_space_from_vm [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 3: Line 3:
 =====Archlinux - KVM Recover space from VM===== =====Archlinux - KVM Recover space from VM=====
 Note: A VM image on NFS storage might not work. I had success with local and iSCSI storage. Note: A VM image on NFS storage might not work. I had success with local and iSCSI storage.
-~~TOC~~ 
 ====Create VM==== ====Create VM====
   * Create VM with virtio-scsi controler and unmap setting: <code>--disk path=$IMAGEFILE,format=qcow2,bus=scsi,discard=unmap \   * Create VM with virtio-scsi controler and unmap setting: <code>--disk path=$IMAGEFILE,format=qcow2,bus=scsi,discard=unmap \
kvm_recover_space_from_vm.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1