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:

  • New directory (tree) to store files
    • partition and format your device using your filesystem of choice (ext3/4 and XFS are the most commonly used)
    • mount the FS to, say, /srv (do it manualy with mount command and add it to fstab)
    • create the needed directories with mkdir /srv/{isos,images,templates,backups,containers}
    • create the Proxmox storage resources of type directory in the web UI.
  • LVM volume group to store VMs disks "images" as logical volumes:
    • partition your device and set the LVM (8e) flag
    • create a new physical volume with pvcreate /dev/<DEVNAME>
    • create a new volume group with vgcreate <VGNAME> /dev/<DEVNAME>
    • create the Proxmox storage resource of type LVM group in the web UI

Or you can use it to increase size of the default one:

  • LVM physical volume to extend the default pve-data LVM logical volume and /var/lib/vz filesystem:
    • partition your device and set the LVM (8e) flag
    • create a new physical volume with pvcreate /dev/<DEVNAME>
    • extend default VG with vgextend pve /dev/<DEVNAME>
    • extend data logical volume with lvextend /dev/mapper/pve-data /dev/<DEVNAME>
    • verify your FS is clean with fsck -nv /dev/mapper/pve-data
    • resize your FS with resize2fs -F /dev/mapper/pve-data

Checkout http://pve.proxmox.com/wiki/Storage_Model

| improve this answer | |
  • Is it better to extend pve-data or make a new group? I don't understand the ramifications of either. – AllanT Jan 23 '16 at 3:26
  • 1
    Oh my goodness thank you for this clear answer. All the wiki they have kinda sucks as far as CLI or even GUI instructions. – Tmanok Mar 27 '19 at 4:29
  • Hang on though, now at a terminal, "Bad magic number in super-block while trying to open /dev/mapper/pve-data hmmmmm – Tmanok Mar 27 '19 at 4:37

Finally found the page that talks about it:


| improve this answer | |


Use "GNU parted" for partitions > 2TB and partition type "ee" (GPT)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.