[SOLVED] delete local storage lvm on proxmox4.4

debi@n

Active Member
Nov 12, 2015
121
1
38
Málaga,Spain
Hi guys, i have a cluster with proxmox 4.1 and proxmox 4.4 and i use local storage for backups and vm image.

i want to delete "lvm-thin-local" .

i did on my lab:
Code:
#lsblk        #list partitions
#lvremove /dev/pve/data
#lvextend -L+10G /dev/pve/root
#lsblk #all is right, the size changed.

but the size didn´t change on proxmox web. can you help me?
 
did you also resize the filesystem or just the lv ?
 
Hi,

you also have to extend the filesystem size after extending the block device.

For ext2/3/4 you can use the `resize2fs` tool which works also on mounted filesystems
Code:
resize2fs /dev/pve/root

This could be done by lvextend automatically the next time by adding "--resizefs" to the lvextend command.