SDA is the drive where the proxmox installation is running
SDB is the new drive that will be added to the proxmox.
Open the Proxmox Shell
With fdisk you can find your drives that you want to add, if you are not sure what the device name is for your hard drive that you want to add.
Type: fdisk -l
Find the “Disk" with no valid partition table. That will be probably your hard drive you want to add.
“Disk /dev/sdb doesn’t contain a valid partition table"
To make a partion on the new drive type the following:
Type: cfdisk /dev/sdb
Choose the following options:
New –> Primary –> Specify size in MB
Write
Quit
Now a physical volume has to be created.
Type: pvcreate /dev/sdb1
Create a volume group. The name “Data-Storage" is an example. You can name it anyway you want. Consider a logical name, because this is the name that will be used in the proxmox web interface:
Type: vgcreate Data-Storage /dev/sdb1
Add the storage in ProxMox
– In the webinterface click on the directory Datacenter and then click on tab Storage.
– Click Add – LVM Group
o Type an ID Name for example data-storage
o Base Storage: Existing Volume Groups
o Volume Group: Data-Storage
o Enabled: Checked
o Other options should be adjusted accordenly to what you want with it.
Now the extra storage has been added in Proxmox and ready for use.