[PVE-User] Creating VM with thin provisioning (ESXi fashion)

Alexandre DERUMIER aderumier at odiso.com
Tue Mar 10 12:11:56 CET 2020


Hi,

almost all storages are thin provisionned by default in proxmox

(Create a new disk of 400Gb, it'll use 0 until you create datas on it)


----- Mail original -----
De: "Leandro Roggerone" <leandro at tecnetmza.com.ar>
À: "proxmoxve" <pve-user at pve.proxmox.com>
Envoyé: Lundi 9 Mars 2020 12:53:29
Objet: [PVE-User] Creating VM with thin provisioning (ESXi fashion)

Sorry to compare ... between systems , I just want to get to the same 
function: 
When you create a VM on vmware you assign a max storage , for example 400Gb. 
Then you can see from vm dashboard that this VM is using 194Gb. 

But ,if I look inside the VM , you will see: 

[root at ftp ~]# lsblk 
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 
sda 8:0 0 * 400G 0 disk* 
├─sda1 8:1 0 1G 0 part /boot 
└─sda2 8:2 0 398.9G 0 part 
├─centos-root 253:0 0 395G 0 lvm / 
└─centos-swap 253:1 0 3.9G 0 lvm [SWAP] 
sr0 11:0 1 918M 0 rom 

The VM "believes" it has a 400Gb drive, and can continue automatically 
growing up to those 400 GB but it is currently using only 194Gb. 
I would like to work same way on my PVE environment if possible .. or what 
is best approach. 
Leandro. 

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> 
Libre 
de virus. www.avast.com 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> 
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 



More information about the pve-user mailing list