How can I Increase local storage

Aug 30, 2017
2
0
1
37
I try to install proxmox on Virtual Box it working well

but I need to extend local storage so I add more disk size on virtual box and used gpart for extend the disk it working well , and I try to increase local-lvm volume by lvextend -l +50%FREE /dev/pve/data

the storage size of local-lvm is increased but when I try to extend on lvm volume by lvextend -l +100%FREE /dev/pve/root it said complete and look like partition was increased it increased to 7.93GB as below but in the web management the size is not going up How can I increase the lvm volume please suggest.

root@pve:~# lvdisplay
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID CbtMDm-M8cN-l42P-eojr-SWKa-1PTU-YocxbY
LV Write Access read/write
LV Creation host, time proxmox, 2017-08-29 16:27:49 +0800
LV Status available
# open 2
LV Size 1.88 GiB
Current LE 480
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID JrKiE7-KfIa-Bv8d-5Q41-mOUH-Excq-1vSkoL
LV Write Access read/write
LV Creation host, time proxmox, 2017-08-29 16:27:49 +0800
LV Status available
# open 1
LV Size 7.93 GiB
Current LE 2029
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name data
VG Name pve
LV UUID zf4sLH-SCq2-Ujt6-lUVe-fP2n-YTN3-zzottn
LV Write Access read/write
LV Creation host, time proxmox, 2017-08-29 16:27:50 +0800
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 0
LV Size 11.67 GiB
Allocated pool data 0.00%
Allocated metadata 0.65%
Current LE 2988
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
 

Attachments

  • 1.png
    1.png
    78.5 KB · Views: 60
Did you reload the page ignoring the cache? You may still be stuck on the old worker. Also, did you reboot the VM? LVM may be designed to handle hot resizing, but partitions are not.
Also you need to grow the FS inside the LV of course. Otherwise the space won't be usable.
 
Last edited:
Also you need to grow the FS inside the LV of course. Otherwise the space won't be usable. As you mention

Could you please suggest how to grow the FS inside the LV

Because when I lvextend the /dev/pve/data capacity is grow up immediately
buy when lvextend the /dev/pve/root it say succeed too when you lvdisplay volume is increased size but not work with WEBUI Management

Thank in advance.
 
Because pve/data is used more like a partition than like a filesystem. pve/root is usually formatted with ext4 so man resize2fs will tell you how to grow the FS.
 

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!