Sparse ZVOL disk space consumption for compressed VMs

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I think I posted about this a while back, I still don't know what I did to achieve it.

I have 4 VMs on a drive, using ztd compression and they are consuming very little disk space.
GVxIVHd.png


VQEIFpB.png




You can see that my UbuntuVM has an 80GB hard disk, only 33% used (25GB) and it's using, 21.4GB on the drive itself.
I do not recall making these ZVOLS with sparse ticked, I did however, zfs send / recv them off the disk at one point and back.

I am now trying to recreate this, with a 130GB VM for UbuntuServer.
If I make a zvol using SPARSE enabled, the install of Ubuntu will say that the disk is 0 bytes and be unable to install.
If I make the zvol without sparse, it says 130GB is used (see above)

How do I recreate the magic I made previously with my other 4 VMs?
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I am also unable to snapshot this, send it elsewhere and send it back, to try and recreate either.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Anyone?
 
Top