On 2020-07-12 15:13, Felix Palmen wrote:
* Andrea Venturoli <m...@netfence.it> [20200707 18:18]:
I have yet to try this, but, as I said, I switched temporaly to ahci-hd and
used the instructions at the following link to reclaim space (without the
need to start a new zvol):
https://winaero.com/blog/trim-ssd-windows-10/
Thanks for this hint, I can now confirm this also works with virtio-blk
(applied Allan's patch to 12.1). REFER for the zvol backing my Windows
Server 2016 dropped from 315G to 72.5G.
Hmm...
I applied the same patch and, still using virtio-blk, when trying to
retrim, Windows says "Optimize-Volume : The volume optimization
operation requested is not supported by the hardware backing the volume."
Seems like the guest doesn't think TRIM support is available.
Do I have to set anything?
I have the following in the machine config (I'm using vm-bhyve):
disk0_type="virtio-blk"
disk0_name="disk0"
disk0_dev="zvol"
disk0_opts="sectorsize=512"
bye & Thanks
av.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to
"freebsd-virtualization-unsubscr...@freebsd.org"