ssd+3.7 kernel trim: problems, read-only.

Uwe Brauer <[email protected]>
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <[email protected]>
Hello


I tried to send this email via gmane, but I never saw it on that list,
so I resend it.



Using a Thinkpad Laptop with a new Samsung ssd, I have installed kubuntu
10.04 and chosen jfs. Since 10.04 is too old to support trimming, I
compiled and installed kernel 3.7 and complied fstrim.

The relevant entry of my fstab reads as follows.


UUID=8e06979b-2dbf-4192-8513-957bafa74a1e /               jfs
nodiratime,noatime,errors=remount-ro 0       

The recommendation to use nodiratime and noatime for ssd I found
for example in http://askubuntu.com/questions/1400/how-do-i-optimize-the-os-for-ssds

I run fstrim periodically via cron and everything seems fine.

However from time to time by system ends up to be mounted *read-only*.

 dmesg  gives errors like this:

[105074.721310] ERROR: (device sda5): dbDiscardAG: no memory for trim array
 
(I could send the complete result of dmesg, but it is large. I obtained
it by dmesg | pastebinit).

Since the fstab entry states errors=remount-ro I presumed this is the
source for the read only remount.

I can remount my hard disk and continue as if nothing has happened or I
can reboot. 

In any case I would like to know:

    -  what can I do to prevent this problem, since it is annoying and
       might result in  loss.

    -  is it safe just to remount or should I reboot?

Thanks and regards

Uwe Brauer

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion
smime.p7s (application/pkcs7-signature, 4.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.