How to Extend All Available Disk to Local Data

How to extend all available disk to local-data

After install Proxmove VE, the local-data only have about 50GB disk availabe. But how to let all availabld disk space to the local-data? Here we go:

1
2
3
4
5
6
7
8
# Remove local-data
lvremove /dev/pve/data

# Extend all available disk to /dev/pve/root
lvresize -l +100%FREE /dev/pve/root

#recreate pve-root
resize2fs /dev/mapper/pve-root

Reference

Licensed under CC BY-NC-SA 4.0
Last updated on Nov 08, 2024 12:49 UTC
Built with Hugo
Theme Stack designed by Jimmy