I installed proxmox on a single 250GB hard drive and I would like to add a second identical hard drive to put more VM's on. I already tried once, and didn't get very far. I added it and formatted it as an ext4, but when I went to use the disk, it said only 8GB was available. That's not quite right. So I did some searching and found that I had to make the device ID 8e for a linux lvm. After I did this, it said I had to restart, so I did... and it wouldn't boot!!!
What did I do wrong? And how do I do it right? (I know I could throw in a RAID card and do a RAID 0, but I'd rather not).
You can either use your new disk to create new storage resources:
mkdir /srv/{isos,images,templates,backups,containers}
directory
in the web UI.pvcreate /dev/<DEVNAME>
vgcreate <VGNAME> /dev/<DEVNAME>
LVM group
in the web UIOr you can use it to increase size of the default one:
pve-data
LVM logical volume and/var/lib/vz
filesystem:pvcreate /dev/<DEVNAME>
vgextend pve /dev/<DEVNAME>
data
logical volume withlvextend /dev/mapper/pve-data /dev/<DEVNAME>
fsck -nv /dev/mapper/pve-data
resize2fs -F /dev/mapper/pve-data
Checkout http://pve.proxmox.com/wiki/Storage_Model
Finally found the page that talks about it:
http://pve.proxmox.com/wiki/Storage_Model
https://pve.proxmox.com/wiki/Extending_Local_Container_Storage
Use "GNU parted" for partitions > 2TB and partition type "ee" (GPT)