<div dir="ltr">Hi.<div><br></div><div>I&#39;ve asked this question years ago (in 2013): <a href="https://lists.openvz.org/pipermail/users/2013-August/005250.html">https://lists.openvz.org/pipermail/users/2013-August/005250.html</a></div><div><br></div><div>Let me know if it helps, but this bug should have been fixed in CentOS and RHEL at least: <a href="https://bugs.centos.org/view.php?id=6548">https://bugs.centos.org/view.php?id=6548</a></div><div><br></div><div>Maybe OpenVZ maintainers didn&#39;t pick up this fix in the openvz6 legacy kernel?</div><div><br></div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 10 апр. 2019 г. в 10:45, 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">Does anybody know how can I solve this?<br>
<br>
$ lsb_release -d<br>
Description:    Devuan GNU/Linux 1.0 (jessie)<br>
<br>
$ uname -a<br>
Linux bell1 2.6.32-openvz-042stab134.8-amd64 #1 SMP Fri Dec 7 17:18:40<br>
MSK 2018 x86_64 GNU/Linux<br>
<br>
$ lsblk --discard /dev/sda<br>
NAME           DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO<br>
sda                   0      512B       2G         0<br>
├─sda1                0      512B       2G         0<br>
└─sda2                0      512B       2G         0<br>
  └─sda2_crypt        0        0B       0B         0<br>
<br>
$ cat /etc/crypttab<br>
sda2_crypt UUID=***** none luks,discard<br>
<br>
$ mount | grep -e discard<br>
/dev/mapper/sda2_crypt on / type ext4<br>
(rw,noatime,errors=remount-ro,barrier=1,data=ordered,discard)<br>
/dev/sda1 on /boot type ext4 (rw,relatime,barrier=1,data=ordered,discard)<br>
<br>
$ sudo fstrim /<br>
fstrim: /: the discard operation is not supported<br>
<br>
Thank you.<br>
<br>
<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>