Skip to content

Resize LVM root and Data partitions

Root (pve/root)

Follow this for root resize: Resize root

Data (pve/data)

Its not possible to resize thin partition, you'd need to migrate disks, delete and recreate. Use following commands

1
2
3
4
5
lvremove pve/data
lvcreate -L<pool size>G -ndata pve
lvconvert --type thin-pool --poolmetadatasize <metadata size>G pve/data

#PVE normally uses 1% of pool size for metadata, mimimum 1G.
The content provided is generated with the help of artificial intelligence (AI) and may contain inaccuracies or outdated information due to the limitations of AI. While I strive to review and validate the content, some errors or inaccuracies may still be present in the final output. Please use this content as a general guide only and verify any critical information through reputable sources before relying on it. I appreciate your understanding and feedback in helping us improve the accuracy and quality of our AI-generated content."