I was able to shrink something like: qemu-img resize vdisk1.img -5G
The only problem I've got is the initial size in Windows VM remains the same. I don't see the option to change it from VM settings in unRaid as someone suggested earlier.
I'm running unRaid 6.3.5 so I can see only Primary vDisk Location and reference to the vmdisk file in the settings.
Increase vdisk
in VM Engine (KVM)
Posted
Hi everyone
I was able to shrink something like: qemu-img resize vdisk1.img -5G
The only problem I've got is the initial size in Windows VM remains the same. I don't see the option to change it from VM settings in unRaid as someone suggested earlier.
I'm running unRaid 6.3.5 so I can see only Primary vDisk Location and reference to the vmdisk file in the settings.
Also I can't find that setting in the XML file
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source file='/mnt/user/vm_disks/Windows 10/vdisk1.img'/>
<target dev='hdc' bus='virtio'/>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
So how to modify the size of the drive then?