Hey Everyone,<br><br>Does anyone have any information on enabling discard support KVM VM's?<br><br>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.<br><br>Any thoughts?<br><br>Thanks!<br><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Friday, September 27, 2019 12:12 PM, John &lt;<a href="mailto:john@interserver.net">john@interserver.net</a>&gt; wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div dir="ltr"><div dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif"><p><br></p><div>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:<br></div><div>--<br></div><div>commit b6837a0629ec1c8417ef0dda64a7aada634a6d8c<br></div><div>Author: Konstantin Khorenko &lt;<a href="mailto:khorenko@virtuozzo.com">khorenko@virtuozzo.com</a>&gt;<br></div><div>Date:&nbsp; &nbsp;Mon May 27 15:57:18 2019 +0300<br></div><div><br></div><div>&nbsp; &nbsp; Revert "ext4: Module parameter to disable discard mount param on ploop"<br></div><div>&nbsp; &nbsp;&nbsp;<br></div><div>&nbsp; &nbsp; This reverts commit e805a2a7f746da36c475e651b93d224938b1bb82.<br></div><div>&nbsp; &nbsp;&nbsp;<br></div><div>--<br></div><div><br></div><div>It looks like we are limited to&nbsp;<span style="font-size:12pt">prl_disk_tool compact for ploop on containers still.</span><br></div><div><br></div><p><br></p></div><div><hr tabindex="-1" style="display:inline-block; width:98%"><br></div><div dir="ltr"><div><span style="font-family:Calibri, sans-serif"><span style="color:#000000"><b>From:</b> <a href="mailto:users-bounces@openvz.org">users-bounces@openvz.org</a> &lt;<a href="mailto:users-bounces@openvz.org">users-bounces@openvz.org</a>&gt; on behalf of Jonathan Wright &lt;<a href="mailto:jonathan@knownhost.com">jonathan@knownhost.com</a>&gt;<br> <b>Sent:</b> Wednesday, September 25, 2019 12:50:44 PM<br> <b>To:</b> <a href="mailto:users@openvz.org">users@openvz.org</a><br> <b>Subject:</b> Re: [Users] Native Ploop Discard Support in 7.0.11</span></span> </div><div>&nbsp;<br></div></div></div><span style="font-size:13px"><span style="font-size:10pt"><div><div>I was wondering if anyone had any input on this?&nbsp; I was thinking maybe <br></div><div> it's just a matter of telling vz to mount the ploop device with the <br></div><div> discard flag for ext4 but I can't find a way to pass any mounting flags <br></div><div> to vz when starting containers either.<br></div><div> <br></div><div> On 8/26/2019 5:51 PM, Jonathan Wright wrote:<br></div><div> &gt; I noticed this line in the changelogs:<br></div><div> &gt;<br></div><div> &gt; ---<br></div><div> &gt; Native discard support in ploop enabling automatic discard requests on <br></div><div> &gt; all ext4 filesystems over ploop block devices, except containers <br></div><div> &gt; running on Virtuozzo Storage.<br></div><div> &gt; ---<br></div><div> &gt;<br></div><div> &gt; How do we go about enabling this?&nbsp; It doesn't seem to be enabled by <br></div><div> &gt; default as part of the update.&nbsp; Is it the "--autocompact" flag for <br></div><div> &gt; prlctl set?&nbsp; If so, this doesn't appear to add/modify anything in <br></div><div> &gt; ve.conf.&nbsp; If this is the correct setting, where is it actually set, ie <br></div><div> &gt; how could this be changed aside from the --autocompact flag?<br></div><div> &gt;<br></div><div> _______________________________________________<br></div><div> Users mailing list<br></div><div> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br></div><div> <a href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a><br></div></div></span></span></blockquote><div><br></div>