<div dir="ltr"><div>My 2 cents.<br></div><div><br>*OpenVZ vs LXC*<br></div><div>OpenVZ requires a patched kernel, but it&#39;s finally updated with OVZ7<br></div><div>OpenVZ is gradually porting its technology to mainline Linux kernel<br></div><div>OpenVZ has a more battle tested OS virtualization technology<br></div><div>LXC is still more insecure<br></div><div>LXC has a more complex way to configure networks<br><br></div><div>*Virtuozzo vs Proxmox*<br></div><div>Virtuozzo better integrates OpenVZ with its features and capabilities, like live migration, distributed storage, live snapshots, etc<br></div><div>Virtuozzo is made and maintained by the same company that maintains OpenVZ itself, and buying its licenses helps the future of OpenVZ<br></div><div>Virtuozzo includes specialized tools to manage and ensure the healthy of your distributed storage cluster, subdivides it in different layers of performance and purpose, etc<br></div><div>Virtuozzo has a great and responsive support team, in my experience<br></div><div>Virtuozzo enhanced KVM a lot, that provides more server density and performance<br></div><div>Virtuozzo is one of the main KVM contributors, and contributes to other projects as well, as Linux Kernel, OpenStack, etc<br></div><div>Proxmox was famous when offered OpenVZ on its platform (not offering anymore, replacing it by LXC)<br></div><div>Proxmox is made and maintained by a company not related to OpenVZ project itself<br></div><div>Proxmox has a great and responsive support team, in my experience</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 10:48 AM Narcis Garcia &lt;<a href="mailto:informatica@actiu.net">informatica@actiu.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes, these are the right comparisons:<br>
<br>
OpenVZ vs LXC<br>
Virtuozzo distro vs Proxmox distro<br>
CentOS vs Debian vs Other general purpose distros<br>
<br>
+ Interesting to know the support to run OpenVZ 7 on CentOS.<br>
It should be documented at OpenVZ wiki!<br>
<br>
<br>
El 29/4/19 a les 4:16, Website Solution - George ha escrit:<br>
&gt; <br>
&gt; From my understanding, Virtuozzo 7 (or OpenVZ 7) supports user quota<br>
&gt; inside guest container.<br>
&gt; <br>
&gt; However, for unprivileged LXC guest, it does not support quota inside<br>
&gt; container natively.<br>
&gt; <br>
&gt; It is important if we run the guest container for multiple end-users.<br>
&gt; <br>
&gt; (Privileged LXC guests support user quota inside container, but they<br>
&gt; share the same root UID between guest and host, which implies some kind<br>
&gt; of potential security)<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On 29-Apr-19 3:55 AM, Jehan PROCACCIA wrote:<br>
&gt;&gt; regarding distros and virtuozzo vs proxmox (reason I modified the<br>
&gt;&gt; subject, orig: SSD trim support over a LUKS layer)<br>
&gt;&gt; I understand that it could be frustrating to rely on a dedidcated<br>
&gt;&gt; distro (virtuozzo 7), but I guess it comes with simplicity and<br>
&gt;&gt; consistency regarding set of packages and updates<br>
&gt;&gt; after all it&#39;s very similar to centos/rhel 7 as it is based on it, and<br>
&gt;&gt; if you wish , you could add openvz7 feature to native centos7 :<br>
&gt;&gt; <a href="https://enjoyko.blogspot.com/2018/05/how-to-install-openvz-7-to-centos-7.html" rel="noreferrer" target="_blank">https://enjoyko.blogspot.com/2018/05/how-to-install-openvz-7-to-centos-7.html</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I guess that <a href="https://wiki.openvz.org/Comparison" rel="noreferrer" target="_blank">https://wiki.openvz.org/Comparison</a> is quite up to date as<br>
&gt;&gt; it dates from jan/2019<br>
&gt;&gt; but i am still wondering what technology virtuozzo 7 uses for<br>
&gt;&gt; containers if not LXC ?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ll be glad to know as I have regularly discussions between sysadmins<br>
&gt;&gt; around proxmox and virtuozzo , and finally it ends on debian vs<br>
&gt;&gt; centos/rhel !<br>
&gt;&gt;<br>
&gt;&gt; ----- Mail original -----<br>
&gt;&gt; De: &quot;Narcis Garcia&quot; &lt;<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>&gt;<br>
&gt;&gt; À: &quot;OpenVZ users&quot; &lt;<a href="mailto:users@openvz.org" target="_blank">users@openvz.org</a>&gt;<br>
&gt;&gt; Envoyé: Samedi 27 Avril 2019 19:19:43<br>
&gt;&gt; Objet: Re: [Users] SSD trim support over a LUKS layer<br>
&gt;&gt;<br>
&gt;&gt; The problem of Virtuozzo 7 for me is that this is a distro.<br>
&gt;&gt; I prefer to use general purpose distros, for many reasons around<br>
&gt;&gt; packaged software, community support, future plans and others.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; El 27/4/19 a les 19:09, Paulo Coghi - Coghi IT ha escrit:<br>
&gt;&gt;&gt; LXC is far to be an option, IMHO.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m happily using Virtuozzo 7 with multiple NVMe storages with zero<br>
&gt;&gt;&gt; issues for more than a year.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sat, Apr 27, 2019 at 4:28 PM CoolCold &lt;<a href="mailto:coolthecold@gmail.com" target="_blank">coolthecold@gmail.com</a><br>
&gt;&gt;&gt; &lt;mailto:<a href="mailto:coolthecold@gmail.com" target="_blank">coolthecold@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;      I believe to have fixes and backports like this in to legacy<br>
&gt;&gt;&gt; version<br>
&gt;&gt;&gt;      of product will not happen, and you should consider upgrading.<br>
&gt;&gt;&gt;      Personally, I&#39;ve upgraded to lxc.. it&#39;s quite primitive<br>
&gt;&gt;&gt; comparing to<br>
&gt;&gt;&gt;      ovz 6, but it&#39;s enough for my needs.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;      On Sat, Apr 27, 2019, 17:49 spameden &lt;<a href="mailto:spameden@gmail.com" target="_blank">spameden@gmail.com</a><br>
&gt;&gt;&gt;      &lt;mailto:<a href="mailto:spameden@gmail.com" target="_blank">spameden@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;          Yes, it&#39;s an issue in kernel.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;          As dm-crypt/luks layer isn&#39;t passing TRIM to the underlying<br>
&gt;&gt;&gt; device.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;          /boot is not encrypted that&#39;s why it works for you.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;          сб, 27 апр. 2019 г. в 11:11, Narcis Garcia<br>
&gt;&gt;&gt;          &lt;<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a> &lt;mailto:<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>&gt;&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              See in the case that /dev/sda1 (Directly mounted as Ext4 on<br>
&gt;&gt;&gt;              /boot) works with Trim/Discard.<br>
&gt;&gt;&gt;              It&#39;s the sda2_crypt (layer over sda2) that is not detected<br>
&gt;&gt;&gt;              to be trimmable. Devuan&#39;s stock kernel does.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              CentOS issue #6548 may not be this same bug; I&#39;ve tested<br>
&gt;&gt;&gt; now<br>
&gt;&gt;&gt;              with CentOS 6.8 with a similar (but not same) result*:*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ lsb_release -d<br>
&gt;&gt;&gt;              Description:    CentOS release 6.8 (Final)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ uname -a<br>
&gt;&gt;&gt;              Linux localhost.localdomain 2.6.32-642.el6.x86_64 #1 SMP<br>
&gt;&gt;&gt; Tue<br>
&gt;&gt;&gt;              May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ lsblk --discard /dev/sda<br>
&gt;&gt;&gt;              NAME<br>
&gt;&gt;&gt;              DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO<br>
&gt;&gt;&gt;              sda<br>
&gt;&gt;&gt;              0      512B       2G         0<br>
&gt;&gt;&gt;              ├─sda1<br>
&gt;&gt;&gt;              0      512B       2G         0<br>
&gt;&gt;&gt;              └─sda2<br>
&gt;&gt;&gt;              0      512B       2G         0<br>
&gt;&gt;&gt;                └─luks-f691f48b-8556-487d-ac64-50daa99ed4c9 (dm-0)<br>
&gt;&gt;&gt;              0      512B       2G         0<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ cat /etc/crypttab<br>
&gt;&gt;&gt;              luks-f691f48b-8556-487d-ac64-50daa99ed4c9<br>
&gt;&gt;&gt;              UUID=f691f48b-8556-487d-ac64-50daa99ed4c9 none luks,discard<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ mount | grep -e discard<br>
&gt;&gt;&gt;              /dev/mapper/luks-f691f48b-8556-487d-ac64-50daa99ed4c9 on /<br>
&gt;&gt;&gt;              type ext4 (rw,discard)<br>
&gt;&gt;&gt;              /dev/sda1 on /boot type ext4 (rw,discard)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ sudo fstrim /boot<br>
&gt;&gt;&gt;              # (same result as Devuan/1 and OpenVZ/6 kernel: success)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              $ sudo fstrim /<br>
&gt;&gt;&gt;              fstrim: /: FITRIM ioctl failed: Operation not supported<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;              El 26/4/19 a les 21:36, spameden ha escrit:<br>
&gt;&gt;&gt;&gt;              Hi.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;              I&#39;ve asked this question years ago (in<br>
&gt;&gt;&gt;&gt;             <br>
&gt;&gt;&gt;&gt; 2013): <a href="https://lists.openvz.org/pipermail/users/2013-August/005250.html" rel="noreferrer" target="_blank">https://lists.openvz.org/pipermail/users/2013-August/005250.html</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;              Let me know if it helps, but this bug should have been<br>
&gt;&gt;&gt;&gt;              fixed in CentOS and RHEL at<br>
&gt;&gt;&gt;&gt;              least: <a href="https://bugs.centos.org/view.php?id=6548" rel="noreferrer" target="_blank">https://bugs.centos.org/view.php?id=6548</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;              Maybe OpenVZ maintainers didn&#39;t pick up this fix in the<br>
&gt;&gt;&gt;&gt;              openvz6 legacy kernel?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;              Thanks.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;              ср, 10 апр. 2019 г. в 10:45, Narcis Garcia<br>
&gt;&gt;&gt;&gt;              &lt;<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a> &lt;mailto:<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>&gt;&gt;:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  Does anybody know how can I solve this?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  $ lsb_release -d<br>
&gt;&gt;&gt;&gt;                  Description:    Devuan GNU/Linux 1.0 (jessie)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  $ uname -a<br>
&gt;&gt;&gt;&gt;                  Linux bell1 2.6.32-openvz-042stab134.8-amd64 #1 SMP<br>
&gt;&gt;&gt;&gt;                  Fri Dec 7 17:18:40<br>
&gt;&gt;&gt;&gt;                  MSK 2018 x86_64 GNU/Linux<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  $ lsblk --discard /dev/sda<br>
&gt;&gt;&gt;&gt;                  NAME           DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO<br>
&gt;&gt;&gt;&gt;                  sda                   0      512B       2G         0<br>
&gt;&gt;&gt;&gt;                  ├─sda1                0      512B       2G         0<br>
&gt;&gt;&gt;&gt;                  └─sda2                0      512B       2G         0<br>
&gt;&gt;&gt;&gt;                    └─sda2_crypt        0        0B       0B         0<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  $ cat /etc/crypttab<br>
&gt;&gt;&gt;&gt;                  sda2_crypt UUID=***** none luks,discard<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  $ mount | grep -e discard<br>
&gt;&gt;&gt;&gt;                  /dev/mapper/sda2_crypt on / type ext4<br>
&gt;&gt;&gt;&gt;                 <br>
&gt;&gt;&gt;&gt; (rw,noatime,errors=remount-ro,barrier=1,data=ordered,discard)<br>
&gt;&gt;&gt;&gt;                  /dev/sda1 on /boot type ext4<br>
&gt;&gt;&gt;&gt;                  (rw,relatime,barrier=1,data=ordered,discard)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  $ sudo fstrim /<br>
&gt;&gt;&gt;&gt;                  fstrim: /: the discard operation is not supported<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  Thank you.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                  _______________________________________________<br>
&gt;&gt;&gt;&gt;                  Users mailing list<br>
&gt;&gt;&gt;&gt;                  <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a> &lt;mailto:<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a>&gt;<br>
&gt;&gt;&gt;&gt;                  <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;              _______________________________________________<br>
&gt;&gt;&gt;&gt;              Users mailing list<br>
&gt;&gt;&gt;&gt;              <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a> &lt;mailto:<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a>&gt;<br>
&gt;&gt;&gt;&gt;              <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;&gt;              _______________________________________________<br>
&gt;&gt;&gt;              Users mailing list<br>
&gt;&gt;&gt;              <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a> &lt;mailto:<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a>&gt;<br>
&gt;&gt;&gt;              <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;          _______________________________________________<br>
&gt;&gt;&gt;          Users mailing list<br>
&gt;&gt;&gt;          <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a> &lt;mailto:<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a>&gt;<br>
&gt;&gt;&gt;          <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;      _______________________________________________<br>
&gt;&gt;&gt;      Users mailing list<br>
&gt;&gt;&gt;      <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a> &lt;mailto:<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a>&gt;<br>
&gt;&gt;&gt;      <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
&gt;&gt;&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
&gt;&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
&gt;&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><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></div>