I enlarged an old Centos 7 guest's virtual disk with file system XFS, by first enlarging disk in Proxmox host (web interface or qm command), then enlarging partition from within VM with "growpart" and "xfs_growfs" commands.
Problem is, I made a mistake...
The Proxmox host physical disk is 1 Tb; Centos 7 VM was originally 300 Gb size and wanted to enlarge it to use all rest of available physical space. But though I did specify the correct values when enlarging the VM's file system, in Proxmox host I enlarged the "disk" to 1.3 Tb total...
I really expected to get an error, but didn't. And then I read on Proxmox host shrinking back is not supported at all...
Since I specified correct values in VM's partition, it should perhaps work well for now, but what if I add more VM guests in the future?
Is there a way to fix this mistake?
Thanks again.
Problem is, I made a mistake...
The Proxmox host physical disk is 1 Tb; Centos 7 VM was originally 300 Gb size and wanted to enlarge it to use all rest of available physical space. But though I did specify the correct values when enlarging the VM's file system, in Proxmox host I enlarged the "disk" to 1.3 Tb total...
I really expected to get an error, but didn't. And then I read on Proxmox host shrinking back is not supported at all...
Since I specified correct values in VM's partition, it should perhaps work well for now, but what if I add more VM guests in the future?
Is there a way to fix this mistake?
Thanks again.