No subject


Mon Jan 21 08:55:17 EST 2013


"The only DM targets that do not support discards are dm-snapshot,
dm-crypt, and dm-raid45. Discard support for the dm-mirror was added in Red
Hat Enterprise Linux 6.1. "

Very sad, any chance of adding this support?


2013/8/27 LightDot <lightdot at gmail.com>

> What's Arch got to do with OpenVZ RHEL based kernel?
>
> Red Hat backports different functionality into RHEL kernel and the thing
> you're using is far far from plain vanilla 2.6.32 or any other distro's
> 2.6.32.
>
> Anyway, RHEL 6 does have trim support, simply refer to the relevant docs:
>
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/newmds-ssdtuning.html
>
> There's also a myriad of how-to's on the net about RHEL and SSDs... There
> are also Proxmox threads about SSDs and Debian converted OpenVZ RHEL
> kernels, if that's what you're using.
>
> Regards
>
>
>
>
> On Tue, Aug 27, 2013 at 5:20 PM, spameden <spameden at gmail.com> wrote:
>
>> ArchLinux wiki says:
>> *Warning: *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 discard flag. Data loss can occur otherwise!
>>
>> So I guess it's not in the OpenVZ kernel?
>>
>> I'd like to use TRIM because it increases performance to SSD drastically!
>>
>>
>> 2013/8/27 spameden <spameden at gmail.com>
>>
>>> is it implemented?
>>>
>>> I've tried on 3.2.0-4 debian wheezy default kernel it's working just
>>> fine:
>>> # dmsetup table
>>> vg0-home: 0 443277312 linear 9:1 25166208
>>> home: 0 443273216 crypt aes-cbc-plain
>>> 0000000000000000000000000000000000000000000000000000000000000000 0 253:2
>>> 4096 1 allow_discards
>>>
>>> But not on OpenVZ's 2.6.32.xxxx:
>>> # dmsetup table
>>> vg0-home: 0 443277312 linear 9:1 25166208
>>> home: 0 443273216 crypt aes-cbc-plain
>>> 0000000000000000000000000000000000000000000000000000000000000000 0 253:2
>>> 4096
>>> vg0-swap: 0 4194304 linear 9:1 20971904
>>> vg0-root: 0 20971520 linear 9:1 384
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
>

--089e0122ead47819a504e4f0b811
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Please forgive me once again, I&#39;ve found the prob=
lem.<br><br>My initial request was about discard on dm-crypt (encrypted LUK=
S device).<br><br>From the link you sent it seems to be not supported:<br>
<br>&quot;The only DM targets that do not support discards are dm-snapshot,=
=20
dm-crypt, and dm-raid45. Discard support for the dm-mirror was added in=20
Red Hat Enterprise Linux=A06.1.
		&quot;<br><br></div>Very sad, any chance of adding this support?<br></div=
><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2013/8/27 Li=
ghtDot <span dir=3D"ltr">&lt;<a href=3D"mailto:lightdot at gmail.com" target=
=3D"_blank">lightdot at gmail.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div>What&#39;s A=
rch got to do with OpenVZ RHEL based kernel?<br><br>Red Hat backports diffe=
rent functionality into RHEL kernel and the thing you&#39;re using is far f=
ar from plain vanilla 2.6.32 or any other distro&#39;s 2.6.32.<br>


<br></div>Anyway, RHEL 6 does have trim support, simply refer to the releva=
nt docs:<br><a href=3D"https://access.redhat.com/site/documentation/en-US/R=
ed_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/newmds-ssdtunin=
g.html" target=3D"_blank">https://access.redhat.com/site/documentation/en-U=
S/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/newmds-ssdtu=
ning.html</a><br>


<br></div>There&#39;s also a myriad of how-to&#39;s on the net about RHEL a=
nd SSDs... There are also Proxmox threads about SSDs and Debian converted O=
penVZ RHEL kernels, if that&#39;s what you&#39;re using.<br><br></div>

Regards<br>
<div><br><div><br></div></div></div><div class=3D"gmail_extra"><br><br><div=
 class=3D"gmail_quote"><div><div class=3D"h5">On Tue, Aug 27, 2013 at 5:20 =
PM, spameden <span dir=3D"ltr">&lt;<a href=3D"mailto:spameden at gmail.com" ta=
rget=3D"_blank">spameden at gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"><div dir=
=3D"ltr"><div>ArchLinux wiki says:<br><strong>Warning: </strong>Users need =
to be certain that kernel version=20
2.6.33 or above is being used AND that their SSD supports TRIM before=20
attempting to mount a partition with the <code style=3D"display:inline-bloc=
k;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 l=
ike to use TRIM because it increases performance to SSD drastically!<br>



</div><div><div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quot=
e">2013/8/27 spameden <span dir=3D"ltr">&lt;<a href=3D"mailto:spameden at gmai=
l.com" target=3D"_blank">spameden at gmail.com</a>&gt;</span><br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div dir=3D"ltr"><div><div>is it implemented?<br><br></div>I&#39;ve tried o=
n 3.2.0-4 debian wheezy default kernel it&#39;s working just fine:<br># dms=
etup table<br>vg0-home: 0 443277312 linear 9:1 25166208<br>home: 0 44327321=
6 crypt aes-cbc-plain 00000000000000000000000000000000000000000000000000000=
00000000000 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 0000=
000000000000000000000000000000000000000000000000000000000000 0 253:2 4096<b=
r>




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>
</div></div><br></div></div>_______________________________________________=
<br>
Users mailing list<br>
<a href=3D"mailto:Users at openvz.org" target=3D"_blank">Users at openvz.org</a><=
br>
<a href=3D"https://lists.openvz.org/mailman/listinfo/users" target=3D"_blan=
k">https://lists.openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at openvz.org">Users at openvz.org</a><br>
<a href=3D"https://lists.openvz.org/mailman/listinfo/users" target=3D"_blan=
k">https://lists.openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>

--089e0122ead47819a504e4f0b811--


More information about the Users mailing list