The first step to adding a new hard drive to Proxmox is to run:
fdisk -l
It's likely that you'll see a list of drives in the format:
/dev/sda
Next, create a new partition:
fdisk /dev/sda
Press 'n' and hit enter at the 4 prompts to follow. Type w and press enter to write the changes.
Next, create a new volume:
pvcreate /dev/sda1
This assumes that /dev/sda is the drive path from above.
Next, create a volume group. The name chosen here will show up in Proxmox:
vgcreate YOUR-DRIVE-NAME /dev/sda1
Finally, login to Proxmox and peform the following steps to add your drive:
- Click on the Datacenter icon along the left
- Click on Storage
- Click on Add
- Select LVM
- Insert an ID of your choice
- Select the newly created volume group
- Leave other options as default
- Click on Add
You have now successfully added a new hard drive to Proxmox