RAW disk images "real" size taken

mokaz

Active Member
Nov 30, 2021
88
21
28
Hi there all,

Let me apologize for my lack of Proxmox experience. I'm trying to understand Proxmox storage options etc and migrating (loads) my VMs from ESXi to Proxmox.

I've migrated that VM id 106 box today, which is pretty big and I just wanted to understand if what I'm importing within the local-lvmthin is effectively taken as thin provisioned disks. Here is the disk image i'm talking about.

Code:
root@fSSience:/dev/pve# pvesm list local-lvmthin
Volid                       Format  Type              Size VMID
...
local-lvmthin:vm-106-disk-0 raw     images    274877906944 106
...

Is there any way for me to find out exactly what's the consumption of that RAW image on the physical disk?

Thanks a lot and again, sorry for my ignorance.
Kind regards,
M
 
Did you try lvs in the CLI?

As far as I understand it...
Code:
root@Hypervisor:~# lvs
  LV            VG     Attr       LSize    Pool   Origin Data%  Meta%  Move Log Cpy%Sync Convert                                                    
  vm-121-disk-0 vgluks Vwi-aotz--  100.00g lvthin        20.43
...20.43 Data% of 100.00g LSize should mean the virtual disk should consume 100GB * 0.2043 = 20.43GB of space
 
Last edited:
Thanks a lot Dunuin, that made it =)


Code:
root@fSSience:/~# lvs
  LV            VG            Attr       LSize   Pool          Origin Data%  Meta%  Move Log Cpy%Sync Convert
  local-lvmthin local-lvmthin twi-aotz-- xxxxxg                      36.64  2.00                           
  ...                               
  vm-106-disk-0 local-lvmthin Vwi-aotz-- 256.00g local-lvmthin        45.96 
  ...

Nice one =)