<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/27/2013 08:20 AM, spameden wrote:<br>
</div>
<blockquote
cite="mid:CAHCALewvfJObPZJ_kMsPJRjLSSb3739rWg7Zv_1Vj7CWAWFVJg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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's not in the OpenVZ kernel?<br>
<br>
I'd like to use TRIM because it increases performance to SSD
drastically!<br>
</div>
</blockquote>
<br>
You'd better check it with Red Hat, looking into their RHEL6
documentation.<br>
<br>
My quick googling for "rhel6 kernel ssd discard" shows that rhel6
kernel<br>
do support trim, they have backported it (as well as tons of other
stuff,<br>
so this is hardly 2.6.32 kernel anymore).<br>
<br>
<br>
<blockquote
cite="mid:CAHCALewvfJObPZJ_kMsPJRjLSSb3739rWg7Zv_1Vj7CWAWFVJg@mail.gmail.com"
type="cite">
<div dir="ltr">
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/27 spameden <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:spameden@gmail.com"
target="_blank">spameden@gmail.com</a>></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've tried on 3.2.0-4 debian wheezy default kernel it'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'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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>