Answer the question
In order to leave comments, you need to log in
What is the reason for the constantly dying SSD?
Greetings!
Machine available -
Proc - Intel® Core™ i7-3770 Processor (8 MB Cache, 3.40 GHz)
Mother - Dell Optiplex 9010 0KV62T LGA 1155
RAM - Samsung DDR3 M378B5273DH0-CH9 x4
SSD - Kingston SSD SATA 2.5" 480GB TLC SA400S37/ 480GB
- --
A couple of months after the first installation of the OS (Ubuntu 18.04), short friezes of the system began. Over time, they became more frequent and longer. As a result, everything ended with errors like - Read-Only file system. As a temporary solution, the `fsck` + command helped reboot the system, a little later it was possible not to boot due to the fact that grub was not working.In the end, I decided not to suffer, and buy a new ssd.(UPD: Second disk, exactly the same)
With the new ssd, the problem began to repeat again after a couple of months. Reinstalling the OS in both cases helped for 3-4 weeks, and again everything is new. What could be the problem? Shoveled a bunch of forums, and solutions. Everything is useless. Could the reason be not in the ssd, but in some other component?
Below I will attach the results of several commands
-----
Answer the question
In order to leave comments, you need to log in
First of all, you need to look at the PSU, since if there is any voltage mismatch (or strong deviations under load), then this can directly affect the controller itself and the duration of its operation. Usually, when working with hard drives and SSDs, a deviation rate of 5% is acceptable, but sometimes, depending on the PSU, these deviations can be even larger (due to drawdowns or power surges).
There are many articles on the net on the topic “voltage tolerance during hard drive operation” (which also applies to SSDs). Might be worth going in that direction.
1. SMART from the disk you need to watch.
2. What file system is worth, do we support TRIM.
3. How is the journal in the file system - it increases the load on the SSD.
Also check that ahci mode for sata is enabled in the bios.
Most likely you have ext4, it supports TRIM. And if the disk supports it, you can find something like this:
Well, if the disk and file system support TRIM, then you can include the discard option in /etc/fstab:
Possibly a bad sata cable, or possibly a sata socket on the mat. board. There may be a problem with the power supply.
You can also try running `iostat 60` in a terminal to see if there might be a really large number of entries in idle or from some application. In SMART, it is not clear with the counter of the written, if only Total_LBAs_Written is in GB (then it turns out 2911 against 1702 read).
Somewhere else I saw advice to leave unallocated space on the SSD that does not belong to any partition. I always do this and so far everything is alive with comparable wear.
I had a problem with my mother. Completely replaced under warranty. It was very similar, but it hung even during the start of the iron for 1 minute somewhere and could not turn off when it was turned off (randomly). In the same way, ridonly and rude did not appear and the system did not see and friezes and reinstalled. I immediately thought about the disk, but the service said everything was ok with the disk. I've been with him for over a year now.
A similar situation under Windows 10 - SanDisk SSD began to fall off at system startup. Updating the BIOS, replacing the PSU does not help, I suspect that the matter is in the disk. In general, desktop SSDs in terms of survivability can present surprises - not so long ago, two AData SSDs ceased to be detected anywhere without any warnings - they simply disappeared from the system and that's it.
On Ubuntu there was a bug in the laptop-mode-tools package. He often extinguished the disk when idle. As a result, the start / stop HDD parameter failed. And I don't remember fixing it. It was solved by a clear config setting.
Show the result of the command:
The problem may be in the size of the swap file. On my laptop with 8 GB of RAM, Ubuntu 18.04 automatically set it to 2 GB during installation, and I observed regular freezes up to 5 minutes. After increasing the size of the swap file to 16 GB, everything began to work fine. Manual is here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question