sparse VM sizing

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
449
I have scale up on my testing server(see signature) and i setup a 150 gig zvol as the disk per the wizard. According to storage it is using 150 gigs of disk space which leads me to believe this was not a thin provisioned VM. Can kvm not work with thin provisioned drives or is this an artifact of the webui not being quite finished in this regard?
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
I think spares is an additional setting you need to check the checkbox for on the zvol....
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737
zfs inherit -S refreservation mypool/my/zvol ...
Might have slightly different syntax on SCALE than on CORE, but clearing the refreservation attribute turns your volume into a sparse one.
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
449
in scale that sparse option is not in the web ui...heance the question....:) If it's supposed tob e there then i'll fle a bug report..:)
 

craigywsm

Cadet
Joined
Jul 29, 2021
Messages
3
I have tried to get Sparse storage working in SCALE and it look like it is not working, Please can this be added as a feature request?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737
What's the result of zfs get refreservation yourpool/path/to/volume?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737
Yes, this looks like a sparse volume. :wink:
 
Top