Proxmox LVM cant add as a second hard drive due to disk size incorrect

MarcMorgan

Member
Feb 5, 2021
36
1
8
37
I have a 1.64 Tib drive that i want to add to a new VM ive created (this will be used for raw data)

When i go into the VM and add hard drive - i get stuck on the disk size, i select the storage as the new LVM i created but no matter what size i put in its saying now

1.64TB in GB should be 1679.36 - this fails

I must be doing something so simple wrong

1615470080812.png

1615470111490.png
 
Hey,

the amount of free space is rounded, therefore it might be off a little. As the error message indicates, there are 897 extents[1] missing, which would roughly be 3.5 GiB (the default extent size is 4 MiB). So reducing the size by ~4 GiB should fix the problem.

[1] https://unix.stackexchange.com/a/341085
 

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!