ssd trim for kernel 2.6.32-279.9.1.el6.x86_64

Issues related to hardware problems

ssd trim for kernel 2.6.32-279.9.1.el6.x86_64

Postby mhtan88 » 2012/11/08 15:16:11

hi all,
my ssd always hang or I/O error after 4 ~ 5 days. i suspect is the trim support. before that,
with SWAP space enabled. every 1 ~ 2 days. after i disabled swap. it can last longer, sometimes
2 weeks, sometimes 5 days. i read a lot article, saying that, the trim support is 2.6.33.
but, latest centos is only 2.6.32. any way to solve this issue?
it is running OpenEdge Progress Database.


Regards,
MH
mhtan88
 
Posts: 3
Joined: 2012/11/08 15:11:40

ssd trim for kernel 2.6.32-279.9.1.el6.x86_64

Postby TrevorH » 2012/11/08 16:32:51

The way to find out if it is TRIM support or not is to remove the option "discard" from the /etc/fstab entries. Without this present, trim is not used.

While the CentOS kernel may only report itself as 2.6.32, there are huge numbers of backports applied to the code within it that bring features from much more recent kernels back to the 2.6.32 line. Since TRIM is officially supported on CentOS 6, you should assume that RH have backported all the necessary fixes for it to work properly.

What SSD are you using and does it have the latest firmware?
User avatar
TrevorH
Forum Moderator
 
Posts: 9146
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ssd trim for kernel 2.6.32-279.9.1.el6.x86_64

Postby mhtan88 » 2012/11/08 21:31:47

hi there,

thanks for the reply. but, i read a lot article, they said, be make sure your kernal is 2.6.33+ before apply discard in /etc/fstab,
else, it might caused data lost, that 's why i'm waiting for 2.6.33+. did CentOS 6 officially announced that they are supported ssd trim?

i' m using 6.3 CentOS 64bit with Ext4.

Regards,
MH
mhtan88
 
Posts: 3
Joined: 2012/11/08 15:11:40

Re: ssd trim for kernel 2.6.32-279.9.1.el6.x86_64

Postby TrevorH » 2012/11/09 00:14:36

Redhat kernel features often bear no relation to mainline kernels. Redhat are one of the main contributors to the mainline kernel and you will find features are often backported by RH to their distro kernels. The page here about backporting might help to clarify this.

CentOS/RHEL 6 will have a 2.6.32 kernel for the entire 10 year lifetime of the distro until 2020. You will not see a kernel with a higher version number until RHEL 7 appears and then it will not appear in CentOS 6.

The link you seem to be missing is https://access.redhat.com/knowledge/doc ... uning.html
User avatar
TrevorH
Forum Moderator
 
Posts: 9146
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ssd trim for kernel 2.6.32-279.9.1.el6.x86_64

Postby mhtan88 » 2012/11/09 16:10:59

thanks for the information. :-)
mhtan88
 
Posts: 3
Joined: 2012/11/08 15:11:40


Return to CentOS 6 - Hardware Support

Who is online

Users browsing this forum: No registered users and 1 guest