<div dir="ltr"><div dir="ltr">No. It&#39;s impossible to use OpenVZ 6 with kernel 4.x, unless you put lots of effort to port their patches over the fresh kernel.<div><br></div><div>The latest OpenVZ 6 kernel is 2.6.32-openvz-042stab136.1-amd64 and there is an issue with discard (it doesn&#39;t work).</div><div><br></div><div>The discard issue has been fixed in 3.1-mainline kernel I think, you can look over newish RHEL kernel and try to port those changes to the old legacy OpenVZ 6 kernel.</div><div><br></div><div>Regarding 4.x kernel:</div><div>I&#39;m using Proxmox with 4.x kernel (there is no OpenVZ) - only LXC containers and KVM - and there is no issue with discards at all.</div><div>and what I also meant is: that you can easily migrate your existing OpenVZ containers to the Proxmox.<br></div><div><br></div><div>Proxmox is based on latest Debian Stretch and specifically designed as a distro for contrainers.</div><div>It has GUI, networking support (including openvswitch and other), KVM/LXC support and many other things (e.g. ceph/glusterfs support).</div><div><br></div><div>Though, reading you again you&#39;ve mentioned that you need a specific simfs quota in containers:</div><div>most likely that would be impossible for unprivileged containers with directory storage (simfs analogue), althrough you could use qcow2 or LVM-based storage for containers.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 28 апр. 2019 г. в 09:47, Narcis Garcia &lt;<a href="mailto:informatica@actiu.net">informatica@actiu.net</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El 27/4/19 a les 22:15, spameden ha escrit:<br>
&gt; <br>
&gt; сб, 27 апр. 2019 г. в 20:16, Narcis Garcia &lt;<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a><br>
&gt; &lt;mailto:<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>&gt;&gt;:<br>
&gt; <br>
&gt;     I responded about OpenVZ/6 vs LXC, and Proxmox doesn&#39;t solve the Discard<br>
&gt; <br>
&gt; <br>
&gt; What do you mean it doesn&#39;t solve the issue with discard? It does.<br>
&gt; <br>
&gt; Discard is perfectly working on Proxmox kernel 4.15.18-12-pve or even on<br>
&gt; 4.13 kernel on DM-Crypt/LUKS setup.<br>
&gt; <br>
&gt; I&#39;m using on all my servers DM-Crypt/LUKS + LVM so I know what I&#39;m<br>
&gt; talking about.<br>
<br>
Are you really using OpenVZ 6 with Linux kernel 4.x?<br>
Did you see any difficult with Discard when using other context with<br>
Linux 4.x ?<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div>