There are four steps you need to do.
Resize partition to 100%
You can do this via fdisk. Run fdisk on /dev/nvme0n1, note the start sector of partition 3, delete partition 3, create a new partition 3, set the end sector to the last available sector and don't remove LVM2_member signature! Then...
Yes thats correct. I assumed that your partition has already the correct size.
You can follow the approach but keep in mind that they delete the LVM partition. If you do that all your data will be lost if you don't have a backup.
You can first extend your metadata and then use lvresize -l...
Here are a few commands to check the current configuration in host shell.
pvs
vgs
lvs
lsblk
First make sure your volume group (VG) called pve takes up almost the entire partition.
After that extending local-lvm is quite simple. Just make sure you don't forget to also extend metadata.
lvextend...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.