Skip to content

Adding new disk to Proxmox volume group

Updated: at 10:17 AM

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.

  1. Open the shell on the Proxmox node by navigate Datacenter -> <your node> -> Shell

  2. Find your disk device name

    fdisk -l

    In my case, it’s /dev/nvme0n1

  3. Create the volume

    pvcreate /dev/nvme0n1 

    If your disk has been partitioned before, you need to wipe it first.

    wipefs /dev/nvme0n1 --all --backup --force 
  4. Add the volume to the pve LVM of Proxmox

    vgextend pve /dev/nvme0n1  
  5. Extend the LVM

    lvextend /dev/pve/data -L +968.62g  

    You can run vgs command to know the size of your new volume.