Last edited:
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root
Well i have a question for this, before i got to this post i already did that of unticking the enable thing on local, but even tho it says its just a directory, i dont think thats right, cause i have a 500gb nvme, my lvm is only 400g space and local had 100g asigned to it which fter disable it, it doesnt get added to the lvm space, how can i add this space to the lvm disk?For others coming here for the same question:
local-lvm
- Remove local-lvm from the storage configuration of the Datacenter
- Execute the following commands on the node's console:
Code:lvremove /dev/pve/data lvresize -l +100%FREE /dev/pve/root resize2fs /dev/mapper/pve-root
local
Cannot be removed from the storage configuration. If you try it, it will not disappear.
Instead, disable it, so that it will no longer be available in the dropdown lists when creating a VM or LXC.
View attachment 46934
After a normal installation: local is a directory (/var/lib/vz as you can see at Datacenter > Storage) on the Proxmox installation (root filesystem, which is not unallocated but contains the OS). Proxmox is on a LV on the local-lvm (a VG in LVM terms). The rest of the local-lvm can be used for virtual disks. Resizing LVs is possible but you better shrink the filesystem on it first. Booting GParted Live might help you.My guess is that data is the lvm, root is that unalocated space, or, that root is the OS and data is the space proxmox asign for VMs? im new to proxmox so im still learning its functions, but if this root space is unalocated, how can i add it to lvm?
Oh ok ok tyvm, that was my doubt if the root was the system, cause i did saw that data was a directory but i wasnt sure about the root partition, i will tho follow @janvv advice and investigate about LVM, i wanna learn every aspect of this thing and i havent had to mess with that before heheAfter a normal installation: local is a directory (/var/lib/vz as you can see at Datacenter > Storage) on the Proxmox installation (root filesystem, which is not unallocated but contains the OS). Proxmox is on a LV on the local-lvm (a VG in LVM terms). The rest of the local-lvm can be used for virtual disks. Resizing LVs is possible but you better shrink the filesystem on it first. Booting GParted Live might help you.