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

MarcMorgan

Active Member
Feb 5, 2021
36
1
28
38
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