Changes

Jump to navigation Jump to search

ProxMox Drive Shrink

14 bytes added, 10:32, 24 November 2015
m
no edit summary
* Once booted into the live enviornment be extremly careful that you don't screw things up. If your smart you will have a backup just in case. If your dumb then you probably shouldn't be doing this. From here find your virtual disk image and resize it to the amount that you think is sufficient for the VM.
* From here you need to go to the console of your proxmox host and issue the following command
<code>proxmox02:/mnt/data2/images/101# qemu-img resize vm-101-disk-1.raw -- -1G</code> 
Keep in mind that the path will be slightly different if you have shared storage and multiple hosts clustered. When in doubt start issueing the "ls" command to find out the proper path. Also be sure to be mindful of the VM id and dont resize lower than what you have allocated within the OS.
<br/>
Original info found [http://forum.proxmox.com/threads/6580-Shrink-a-disk-with-qemu-img-parsing-error?p=37299#post37299 HERE]
[[Category:ProxMox]]

Navigation menu