[Users] discard support for SSD in OpenVZ kernel

spameden spameden at gmail.com
Tue Aug 27 12:51:28 EDT 2013


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

> What's Arch got to do with OpenVZ RHEL based kernel?
>

I'm sorry If I quoted wrong, I just found this info occasionally.
And as I stated below it's not working on OpenVZ kernel for me.


> 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.
>

Thanks. I'll check this out!

>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20130827/b2dab2e4/attachment.html>


More information about the Users mailing list