I am trying to resize a kvm disk using proxmox 2.x used
and it worked as a lvs shows the newly resized disk, however when i try to use resize2fs i get error
Of course once inside VM 102 there is no extra space
So i try to lvextend it to 150G to match the newly resized proxmox logical volume
Next i try to resize the filesystem from within vm 110 im stumped please help
PS i made a similar post in someone elses thread link below as i have had this problem before. I really do think this topic deserves a new thread as there must be lots of time when resizing a KVM VM is important.
http://forum.proxmox.com/threads/7177-error-with-pve-cluster-and-pve-manager
Code:
lvextend -L +140G /dev/vg1/vm-110-disk-1
Extending logical volume vm-110-disk-1 to 150.00 GiB
and it worked as a lvs shows the newly resized disk, however when i try to use resize2fs i get error
Code:
vm-110-disk-1 vg1 -wi-ao 150.00g
Code:
resize2fs /dev/vg1/vm-110-disk-1
resize2fs 1.41.12 (17-May-2010)
resize2fs: Bad magic number in super-block while trying to open /dev/vg1/vm-110-disk-1
Couldn't find valid filesystem superblock.
Of course once inside VM 102 there is no extra space
Code:
root u10043lts64base -wi-ao 9.29g
So i try to lvextend it to 150G to match the newly resized proxmox logical volume
Code:
lvextend -L +140G /dev/mapper/u10043lts64base-root
Extending logical volume root to 149.29 GiB
Insufficient free space: 35840 extents needed, but only 0 available
Code:
resize2fs /dev/mapper/u10043lts64base-root
resize2fs 1.41.11 (14-Mar-2010)
The filesystem is already 2436096 blocks long. Nothing to do!
PS i made a similar post in someone elses thread link below as i have had this problem before. I really do think this topic deserves a new thread as there must be lots of time when resizing a KVM VM is important.
http://forum.proxmox.com/threads/7177-error-with-pve-cluster-and-pve-manager