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?
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?