3/17/2021 0 Comments Proxmox Decrease Disk Size
I found the virt-resize tool, but it only seems to work with raw disk partitions, not disk images.How do I remove this from the KVM disk image and give it back to the underlying hypervisor.The trick that most guides miss is the need to actually delete the physical partitions, and recreate them with the correct size, because parted is unable to resize lvm partitions.
The article daxroc posted wont work for filesystems other than ext234. The image will expand over time as its over written to again. You need to boot off a LiveCD in your guest for this, since you wont be able to mess with a mounted partition. Its quite a lot to copy here, so Ill just link instead for now. Use fdisk or cfdisk, or whatever you feel comfortable with - you should see a whole bunch of unallocated space on your guest disk now. Provide details and share your research But avoid Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. Not the answer youre looking for Browse other questions tagged linux virtual-machines kvm-virtualization or ask your own question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |