<div dir="ltr"><div>ArchLinux wiki says:<br><strong>Warning: </strong>Users need to be certain that kernel version 
2.6.33 or above is being used AND that their SSD supports TRIM before 
attempting to mount a partition with the <code style="display:inline-block;padding:0.1em 0.3em">discard</code> flag. Data loss can occur otherwise!<br><br></div>So I guess it&#39;s not in the OpenVZ kernel?<br><br>I&#39;d like to use TRIM because it increases performance to SSD drastically!<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/27 spameden <span dir="ltr">&lt;<a href="mailto:spameden@gmail.com" target="_blank">spameden@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>is it implemented?<br><br></div>I&#39;ve tried on 3.2.0-4 debian wheezy default kernel it&#39;s working just fine:<br># dmsetup table<br>vg0-home: 0 443277312 linear 9:1 25166208<br>home: 0 443273216 crypt aes-cbc-plain 0000000000000000000000000000000000000000000000000000000000000000 0 253:2 4096 1 allow_discards<br>

<br>But not on OpenVZ&#39;s 2.6.32.xxxx:<br># dmsetup table<br>vg0-home: 0 443277312 linear 9:1 25166208<br>home: 0 443273216 crypt aes-cbc-plain 0000000000000000000000000000000000000000000000000000000000000000 0 253:2 4096<br>

vg0-swap: 0 4194304 linear 9:1 20971904<br>vg0-root: 0 20971520 linear 9:1 384<br><br><br></div><br></div>
</blockquote></div><br></div>