Hi
I have a Corsair Flash Voyager GTX USB3 memory stick which is
advertised as supporting TRIM.

I assume there are several other manufacturers with similar devices

My device is working well (ext4) and is very fast but does not appear to
respond to the TRIM command even though hdparm suggests it should

I have found the same problem referenced here
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1336541
but following the kernel link I am not totally convinced things
are happening upstream

Should I bugzilla this against Fedora this or just wait?

John

On fully updated F20
ja@paxos ~ 1$ uname -a
Linux paxos 3.15.10-200.fc20.x86_64 #1 SMP Thu Aug 14 15:39:24 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux

[root@paxos:~]$ hdparm -I /dev/sdb
ATA device, with non-removable media
        Model Number:       Voyager GTX                             
        Serial Number:      FF1807470C0800110923
        Firmware Revision:  S9FM01.7
        Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II
Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
...
           *    Data Set Management TRIM supported (limit 8 blocks)
...


root@paxos:~]$ mount -o noatime,discard /dev/sdb1 /media/gtx
[root@paxos:~]$ mount |grep sd
...
/dev/sdb1 on /media/gtx type ext4 (rw,noatime,seclabel,discard,data=ordered)

However dmesg shows
[Aug19 21:21] EXT4-fs (sdb1): mounting with "discard" option, but the device 
does not support discard
[  +0.000004] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: 
discard
[  +0.000005] SELinux: initialized (dev sdb1, type ext4), uses xattr
[Aug19 21:24] SELinux: initialized (dev 0:47, type nfs4), uses genfs_contexts

and
[root@paxos:~]$ fstrim -v /media/gtx
fstrim: /media/gtx: discard operation not supported.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to