Re-sparse a file-backed IO device + zfs

Miroslav Lachman 000.fbsd at quip.cz
Wed Dec 14 09:57:33 UTC 2016


Jan Bramkamp wrote on 2016/12/13 10:59:
> On 13/12/2016 07:54, Karli Sjöberg wrote:

>> Wouldn't you have needed TRIM on the disk(s) inside the VM and it
>> would have taken care of all this for you?
>
> The ahci-hd driver supports TRIM on ZFS volumes. Why do you use sparse
> file instead of a ZFS volume?

I something had not changed you need twice the space of ZVOL to make a 
snapshot. So in some scenarios it is better to use files instead of ZVOL.

Miroslav Lachman



More information about the freebsd-fs mailing list