Assign vm its own hdd

Bob_Blow

New Member
Nov 20, 2018
3
0
1
32
I am new to this. I am trying to install a vm and assign its own hdd for it. Not sure how to do this. My goal is that I want each vm to have its own hdd. And proxmox is on its own hdd. I keep getting an error when i try.

Here is the error: lvcreate (ServerName) error: Volume group X has insufficient free space (49extents): 12800 required. What am i doing wrong??
 
I think we need more information.

When you say you want to assign its own HDD, you mean you have, say, 4 physical HDDs on your server, and you want to use one for Proxmox, then one for VM1, one for VM2, and one for VM3?

In order to be able to do this, you would install Proxmox on HDD1 (sda) and I think you would then need to create separate Volume Groups for each of the other three HDD (sdb, sdc and sdd). And within each VG, you'd need to create a LVM-Thin volume.

You may have already done this.

But then you'd need to tell Proxmox that each of those LVM-Thin volumes can be used to store disks for VMs. And finally you'd need to select which LVM-Thin volume to us to store the VM's disk when you create the VM (although you can move it later).

The error you are getting sounds to me as though you are trying to create a disk in a storage that doesn't have enough disk space.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!