I just added a new NVME disk to my Proxmox node and want to extend the current LVM to include this new disk. I really don’t know how to do this really, so I did a little bit of research here is the step that I took.
-
Open the shell on the Proxmox node by navigate
Datacenter-><your node>->Shell -
Find your disk device name
fdisk -lIn my case, it’s /dev/nvme0n1
-
Create the volume
pvcreate /dev/nvme0n1If your disk has been partitioned before, you need to wipe it first.
wipefs /dev/nvme0n1 --all --backup --force -
Add the volume to the
pveLVM of Proxmoxvgextend pve /dev/nvme0n1 -
Extend the LVM
lvextend /dev/pve/data -L +968.62gYou can run
vgscommand to know the size of your new volume.