Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 11-15-2011, 09:19 AM   #1
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
cat /proc/mounts
show the discard flag for my ext4 partitions anymore.

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:54 PM.

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