Hello everyone,
I decided that Windows 7 will be my last Windows OS and to install Debian Jessie on my Thinkpad.
To ensure a clean installation I will install Debian on a new SSD.
From many sources I read that SSD-support in Linux is not the best. Especially one said that there are problems with the NCQ-TRIM command.
Apparently data corruption will occur on some SSD devices, which was the reason to put many SSD onto a blacklist written in the kernel (for reference: https://github.com/torvalds/linux/blob/ ... ata-core.c starting at line 4109).
I figured out that NCQ-TRIM is an advanced version of the "normal" TRIM command.
My question now is, if normal TRIM works in Debian with the blacklisted devices?
I want to buy a Crucial MX300 which is not named in the blacklist but I read that it also wont support NCQ-TRIM.
Will it work if I create a cron for weekly or daily "normal" TRIM?
Or could it be that there is no real difference between NCQ-TRIM and TRIM and both wont work with a blacklisted SSD?
I hope that you could help me with this problem because real information about it is very rare.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian SSD support
Re: Debian SSD support
There are several good threads on here, some pretty long about trim, did you try a search of the forum?... real information about it is very rare.
I think your questions are contradictory, because you say that the drive you want to buy is not blacklisted for 'discard' use, but then ask if trim will work at all for a blacklisted device?
From what I've read, the manual fstrim works on all devices, while 'discard' option when mounting does have some issues, perhaps only on the early ssd drives?
There are different opinions on how to do a periodic trim, some prefer a cron job, while some use a systemd unit file I believe.
I use a sandisk plus, and mount it with 'discard' option on all partitions and it has performed well for about 6 months now.
I used this method to verify discard works on the drive
http://techgage.com/article/enabling_an ... r_linux/2/
p.s.
CONGRATULATIONS!!I decided that Windows 7 will be my last Windows OS
resigned by AI ChatGPT
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Debian SSD support
http://forums.debian.net/viewtopic.php?f=16&t=130965
The data corruption issues of which you speak were fixed a while ago and only applied to certain RAID configurations with the discard option applied:
http://www.spinics.net/lists/raid/msg49452.html
The method outlined in my linked HowTo does not require special filesystem options and so would have been "safe" in respect of that bug
The data corruption issues of which you speak were fixed a while ago and only applied to certain RAID configurations with the discard option applied:
http://www.spinics.net/lists/raid/msg49452.html
The method outlined in my linked HowTo does not require special filesystem options and so would have been "safe" in respect of that bug
deadbang
Re: Debian SSD support
I want to thank you both for your answers.
My next steps will be to learn a little bit more about TRIM and discard ...but to hear that fstrim should work is really reassuring.
My next steps will be to learn a little bit more about TRIM and discard ...but to hear that fstrim should work is really reassuring.