Wrong disk size inside VM

zBrain

Active Member
Apr 27, 2013
37
0
26
I had an issue growing a disk. It is on LVM.

I tried increasing the disk from 300GB to 400 via GUI. I got permission denied.

After trying a few things, I found I was missing quorum. Fixed that.

Increased disk size via GUI. Now it reported 700GB. Ugh. Ok. It's because I ran the command to increment by 100 and though the config failed to update it was obviously increasing the LV size.

Ran lvreduce and got the LV to 400GB.
Updated the vm conf file to say 400G
Rebooted vm.....

fdisk says the disk is 700GB.

So my current situation is:
300GB filesystem
400GB LV
QEMU HDD reporting inside the VM as 700GB.

If I can fix the 700GB to report 400 as expected I can resize my filesystem and call it a day. But How do I do that?
 
Rebooted vm.....
Did you reboot from withing the VM? Have you tried shutting down the VM and starting it again? Qemu should then see the 400GB LV and pass it through as that.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!