LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-15-2011, 09:19 AM   #1
revinary
LQ Newbie
 
Registered: Mar 2011
Posts: 12

Rep: Reputation: 1
TRIM/discard not working any more for ext4 partition on SSD


Hi everybody,

recently I noticed that neither
Code:
cat /proc/mounts
nor
Code:
mount
show the discard flag for my ext4 partitions anymore.

The discard option is present in fstab.
Code:
mount -oremount,discard /dev/sda1
and
Code:
tune2fs -o discard /dev/sda1
don't change anything.

Code:
dmesg |grep discard
shows this:
EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,data=writeback,nobarrier,nobh,discard

So, dmesg indicates that the filesystem was mounted with discard enabled
(but again /proc/mounts does not).

Remember everything was OK until yesterday or so.
Already tried different kernel versions to no avail.

Also, when I boot another distro everything shows up correct.

Any ideas?

Im running Debian sid, amd64.
SSD is a Crucial M4 128 GB, newest F/W (009).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Online block discard support (aka TRIM) isn't working with kernel 3.0.4 TheOneKEA Linux - Hardware 2 09-10-2011 07:33 AM
[SOLVED] RAID 1 SSD drives with TRIM grolendaves Linux - Hardware 2 06-05-2011 08:44 AM
ssdnow s100 ext4 trim not working gettons1980 Linux - Hardware 3 05-09-2011 08:50 PM
[SOLVED] TRIM on SSD mira.mikes Linux - Kernel 8 01-08-2011 06:36 PM
SSD TRIM support on Linux Thoreau Linux - Kernel 2 03-25-2009 04:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration