Re: bhyve, Windows guest and trim support

2020-07-14 Thread Felix Palmen
* Andrea Venturoli [20200714 09:53]: > 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." The reason is the same I a

Re: bhyve, Windows guest and trim support

2020-07-14 Thread Peter Grehan
Hi Andrea, Where would I download a fresher driver? Do I need RedHad's virtio-win-latest? Is it in there? Or else, what? The link in the PR pointed to https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.185-1/ (currently an alias of https://fedo

Re: bhyve, Windows guest and trim support

2020-07-14 Thread Andrea Venturoli
On 2020-07-14 10:34, Peter Grehan wrote:  You may need a recent Windows viostor driver. A working configuration was reported in     https://github.com/virtio-win/kvm-guest-drivers-windows/issues/392 Thanks. I saw that page and hoped the binary version I downloaded already had that change a

Re: bhyve, Windows guest and trim support

2020-07-14 Thread Peter Grehan
Hi Andrea, 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 "O

Re: bhyve, Windows guest and trim support

2020-07-14 Thread Andrea Venturoli
On 2020-07-12 15:13, Felix Palmen wrote: * Andrea Venturoli [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-windo