Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #188881
| From | Christian Seiler <christian@iwakd.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Followup-To | debian-user <debian-user@lists.debian.org> |
| Subject | Re: how to enable trim for an external encrypted SSD? |
| Date | 2017-11-11 15:30 +0100 |
| Message-ID | <uKEXf-2U0-1@gated-at.bofh.it> (permalink) |
| References | <uIOo1-2L5-5@gated-at.bofh.it> <uIPDr-3uR-9@gated-at.bofh.it> <uKDHP-28K-7@gated-at.bofh.it> <uKDRw-2ci-1@gated-at.bofh.it> <uKEaR-2lH-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Followups directed to: debian-user <debian-user@lists.debian.org>
On 11/11/2017 02:31 PM, Joerg Desch wrote: > Am Sat, 11 Nov 2017 14:13:12 +0100 schrieb Christian Seiler: > >> Also, did you mount the device with -o discard or set that option with >> tune2fs (_before_ mounting it)? > > No, not now. I want to use fstrim in favour to the discard option. But > I've tested it with an Arch Linux installation with a more fresh kernel. > There both vairante (fstrim and discard-option in fstab) fails too. In > case of the discard option, the error is written to the logs. > >> What does the command >> findmnt | grep /media/jd/TEST > > $ findmnt | grep /media/jd/TEST > ├─/media/jd/TEST /dev/sdg1 ext4 > rw,nosuid,nodev,relatime,data=ordered > > $ sudo lsblk -D > [sudo] password for jd: > NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO > sda 0 512B 2G 0 > ├─sda1 0 512B 2G 0 > └─sda2 0 512B 2G 0 > sdb 0 0B 0B 0 > sdg 0 0B 0B 0 > └─sdg1 0 0B 0B 0 > > > In this case, sda is a internal SSD (Samsung EVO) with working TRIM and > sdb is a HDD. Well, then it appears that the chip (or the kernel driver for it) doesn't support passing through the TRIM command to the underyling SSD. If it's the kernel driver there's a chance that'll be fixed in a future kernel version. If it's the the chip itself you're stuck without TRIM on the external SSD. Unfortunately I can't say much more about that, I've never had an external SSD. Regards, Christian
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-06 13:10 +0100
Re: how to enable trim for an external encrypted SSD? Christian Seiler <christian@iwakd.de> - 2017-11-06 14:30 +0100
Re: how to enable trim for an external encrypted SSD? "Alexander V. Makartsev" <avbetev@gmail.com> - 2017-11-06 21:10 +0100
Re: how to enable trim for an external encrypted SSD? Michael Stone <mstone@debian.org> - 2017-11-06 21:50 +0100
Re: how to enable trim for an external encrypted SSD? "Alexander V. Makartsev" <avbetev@gmail.com> - 2017-11-06 22:30 +0100
Re: how to enable trim for an external encrypted SSD? Michael Stone <mstone@debian.org> - 2017-11-06 23:10 +0100
Re: how to enable trim for an external encrypted SSD? "Alexander V. Makartsev" <avbetev@gmail.com> - 2017-11-07 00:20 +0100
Re: ow to enable trim for an external encrypted SSD? dekkzz78@gmail.com - 2017-11-07 13:40 +0100
Re: how to enable trim for an external encrypted SSD? Henrique de Moraes Holschuh <hmh@debian.org> - 2017-11-07 02:10 +0100
Re: how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-07 08:20 +0100
Re: how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-07 08:10 +0100
Re: how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-11 14:10 +0100
Re: how to enable trim for an external encrypted SSD? Christian Seiler <christian@iwakd.de> - 2017-11-11 14:20 +0100
Re: how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-11 14:40 +0100
Re: how to enable trim for an external encrypted SSD? Christian Seiler <christian@iwakd.de> - 2017-11-11 15:30 +0100
Re: how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-11 16:50 +0100
Re: how to enable trim for an external encrypted SSD? Stefan Monnier <monnier@iro.umontreal.ca> - 2017-11-16 04:10 +0100
Re: how to enable trim for an external encrypted SSD? Joerg Desch <news@jdesch.de> - 2017-11-21 18:40 +0100
Re: how to enable trim for an external encrypted SSD? Christian Seiler <christian@iwakd.de> - 2017-12-18 13:20 +0100
csiph-web