Hey Everyone,

Does anyone have any information on enabling discard support KVM VM's?

I have the hdd configured with scsi + virtio-scsi, but I am coming up short on 
the flag to enable discard via prlctl or the line to edit directly in the 
config.

Any thoughts?

Thanks!

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, September 27, 2019 12:12 PM, John <j...@interserver.net> wrote:

> I don't see any way to automatically mount with discard. On a test server I 
> can remount with discard. I also see a commit removing discards by default:
> --
> commit b6837a0629ec1c8417ef0dda64a7aada634a6d8c
> Author: Konstantin Khorenko <khore...@virtuozzo.com>
> Date:   Mon May 27 15:57:18 2019 +0300
>
>     Revert "ext4: Module parameter to disable discard mount param on ploop"
>
>     This reverts commit e805a2a7f746da36c475e651b93d224938b1bb82.
>
> --
>
> It looks like we are limited to prl_disk_tool compact for ploop on containers 
> still.
>
> ---------------------------------------------------------------
>
> From: users-boun...@openvz.org <users-boun...@openvz.org> on behalf of 
> Jonathan Wright <jonat...@knownhost.com>
> Sent: Wednesday, September 25, 2019 12:50:44 PM
> To: users@openvz.org
> Subject: Re: [Users] Native Ploop Discard Support in 7.0.11
>  I was wondering if anyone had any input on this?  I was thinking maybe
> it's just a matter of telling vz to mount the ploop device with the
> discard flag for ext4 but I can't find a way to pass any mounting flags
> to vz when starting containers either.
>
> On 8/26/2019 5:51 PM, Jonathan Wright wrote:
>> I noticed this line in the changelogs:
>>
>> ---
>> Native discard support in ploop enabling automatic discard requests on
>> all ext4 filesystems over ploop block devices, except containers
>> running on Virtuozzo Storage.
>> ---
>>
>> How do we go about enabling this?  It doesn't seem to be enabled by
>> default as part of the update.  Is it the "--autocompact" flag for
>> prlctl set?  If so, this doesn't appear to add/modify anything in
>> ve.conf.  If this is the correct setting, where is it actually set, ie
>> how could this be changed aside from the --autocompact flag?
>>
> _______________________________________________
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to