RAW disk images "real" size taken

mokaz

Member
Nov 30, 2021
83
17
13
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 =)
 

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!