Do I need a new SSD?

Moderators: Andrey.Mazlin, Andrey.Mazlin

Post Reply
fpeelo
Posts: 5
Joined: Wed Jan 09, 2019 10:57 am

Do I need a new SSD?

Post by fpeelo »

Hi

I think my SSD may be wearing out, could you tell me how to diagnose it, whether it needs replacing, and what exactly are my options for replacement?

The PC is a FITLET2-CJ3455 S/N 1181129-02568 bought Jan 2019. But I had a previous Fitlet2 that I couldn't get it to work reliably and replaced it-- so I am not sure that the SSD comes from 2019, it may have been from the previous machine. It's running Linux Mint 19.1 with all updates installed.

Yesterday the printer started having problems, CUPS wasn't able to write to the print queue. Then I wasn't able to save a file, and I found that the SSD partition had become read-only. I tried rebooting and fsck said there were unexpected problems... but it was getting late so I powered it down and went to bed so I could look at it when more awake.

Today I installed smartmontools. It gave some info, which I tried to understand with the aid of web searches. The output is below for reference. I note:
  • Device is: Not in smartctl database -- so there are some attributes that might be useful but cannot be interpreted
  • Warning! SMART ATA Error Log Structure error: invalid SMART checksum. -- could that be the result of not being in the database? Or does it mean something is going wrong?
  • No self-tests have been logged. [To run self-tests, use: smartctl -t]
The lack of self-test info could be down to the log not being readable. From my web searches it seems that smartctl should be able to test the drive without it having to be unmounted, so I tried

Code: Select all

sudo smartctl -t short /dev/sda
It said the test would take about a minute... after a minute the computer locked for a few seconds, and then the drive was read-only again. In dmesg there was a lot of this:

Code: Select all

[ 6173.411895] ata1.00: exception Emask 0x0 SAct 0xffe8000 SErr 0x50000 action 0x6 frozen
[ 6173.411909] ata1: SError: { PHYRdyChg CommWake }
[ 6173.411918] ata1.00: failed command: WRITE FPDMA QUEUED
[ 6173.411933] ata1.00: cmd 61/08:78:58:8c:13/00:00:00:00:00/40 tag 15 ncq dma 4096 out
                        res 40/00:01:06:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 6173.411939] ata1.00: status: { DRDY }
[ 6173.411945] ata1.00: failed command: WRITE FPDMA QUEUED
[ 6173.411958] ata1.00: cmd 61/08:88:a8:8c:13/00:00:00:00:00/40 tag 17 ncq dma 4096 out
                        res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 6173.411963] ata1.00: status: { DRDY }
[ 6173.411969] ata1.00: failed command: WRITE FPDMA QUEUED
...
[ 6173.412200] ata1.00: status: { DRDY }
[ 6173.412211] ata1: hard resetting link
[ 6183.455747] ata1: softreset failed (device not ready)
[ 6183.455760] ata1: hard resetting link
[ 6193.495709] ata1: softreset failed (device not ready)
[ 6193.495724] ata1: hard resetting link
[ 6203.995750] ata1: link is slow to respond, please be patient (ready=0)
[ 6228.527490] ata1: softreset failed (device not ready)
[ 6228.527506] ata1: limiting SATA link speed to 1.5 Gbps
[ 6228.527511] ata1: hard resetting link
[ 6233.691469] ata1: softreset failed (device not ready)
[ 6233.691484] ata1: reset failed, giving up
[ 6233.691491] ata1.00: disabled
[ 6233.692610] ata1: EH complete
[ 6233.692692] sd 0:0:0:0: [sda] tag#17 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 6233.692703] sd 0:0:0:0: [sda] tag#17 CDB: Write(10) 2a 00 00 13 a9 80 00 00 08 00
[ 6233.692710] blk_update_request: I/O error, dev sda, sector 1288576 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[ 6233.692723] EXT4-fs warning (device sda2): ext4_end_bio:315: I/O error 10 writing to inode 2097551 (offset 0 size 0 starting block 161073)
[ 6233.692729] Buffer I/O error on device sda2, logical block 29744
[ 6233.692764] sd 0:0:0:0: [sda] tag#18 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 6233.692771] sd 0:0:0:0: [sda] tag#18 CDB: Write(10) 2a 00 00 13 a9 60 00 00 08 00
I rebooted...

So now I think I need a new SSD, or is this a software problem?

it seems M.2 SATA 2280 SSDs can be bought locally but 2260 and 2242 are much harder to find.

If I need a new SSD, what can I use? On https://fit-iot.com/web/products/fitlet2/ I see M.2 SATA, 2.5″ HDD/SSD and eMMC on an M.2 module are options, so I guess PCIe (NVMe) is right out, yes? I have not used eMMC, if I get one of those do I just partition and use it like any other hard drive, and is it cheaper because it is slower, or because it won't last as long?

If the SSD is wearing out, can I get it going again by partitioning off the affected

On
http://www.fit-pc.com/wiki/index.php?ti ... 2_SATA_SSD
there's talk of some SSDs not working because pins used for eMMC are interfering with what the manufacturer wanted to use them for; it links to

http://www.fit-pc.com/wiki/index.php?ti ... _/_Airtop3
which goes to
https://docs.google.com/spreadsheets/d/ ... sp=sharing
which doesn't list very many suitable SSDs. Has the list grown since that was published? Apparently there is a FACET card to allow 2280 SSDs to be used; can I run a 2280 SSD in the machine, maybe with the top off, until such a FACET would arrive in the post? Or can/should I boot off a USB drive? (might be the cheapest/most convenient option - if it works).

For reference, here is the output of sudo smartctl -i -a /dev/sda

Code: Select all

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-5.4.0-60-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     Maximus 512G
Serial Number:    201812100054
LU WWN Device Id: 0 000000 000000000
Firmware Version: P0921A
User Capacity:    511,272,906,752 bytes [511 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jan  9 14:17:40 2021 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x11) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					No Selective Self-test supported.
SMART capabilities:            (0x0002)	Does not save SMART data before
					entering power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (   1) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0000   100   100   050    Old_age   Offline      -       0
  5 Reallocated_Sector_Ct   0x0002   100   100   050    Old_age   Always       -       0
  9 Power_On_Hours          0x0000   100   100   050    Old_age   Offline      -       192
 12 Power_Cycle_Count       0x0000   100   100   050    Old_age   Offline      -       200
160 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       0
161 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       361
162 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       1
163 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       33
164 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       179295
165 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       56
166 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       5
167 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       42
168 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       3000
169 Unknown_Attribute       0x0000   099   099   050    Old_age   Offline      -       99
192 Power-Off_Retract_Count 0x0000   100   100   050    Old_age   Offline      -       109
194 Temperature_Celsius     0x0000   100   100   050    Old_age   Offline      -       36
195 Hardware_ECC_Recovered  0x0000   100   100   050    Old_age   Offline      -       3
196 Reallocated_Event_Count 0x0000   100   100   050    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0000   100   100   050    Old_age   Offline      -       0
241 Total_LBAs_Written      0x0000   100   100   050    Old_age   Offline      -       205736
242 Total_LBAs_Read         0x0000   100   100   050    Old_age   Offline      -       162709
245 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       562628

Warning! SMART ATA Error Log Structure error: invalid SMART checksum.
SMART Error Log Version: 1
Invalid Error Log index = 0x24 (T13/1321D rev 1c Section 8.41.6.8.2.2 gives valid range from 1 to 5)

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

Selective Self-tests/Logging not supported

Andrey.Mazlin
Posts: 27
Joined: Tue May 05, 2020 7:02 am

Re: Do I need a new SSD?

Post by Andrey.Mazlin »

Hello
First of all fitlet2 does not support NVMe storage. It can be either SATA M.2 SSD or SATA 2.5" HDD.
You are right regarding the size, 2280 is supported by using one of the appropriate FACET cards (like FC-PCI: http://www.fit-pc.com/wiki/index.php?ti ... FACET_Card). By default this device supports 2242 or 2260 only.
You can try to use meanwhile the external USB disk and if you for sure wish to replace your current SSD with a new 2280 one, order the FACET:
https://fit-iot.com/web/product/minipcie-fc-pci/
For any other question please don't hesitate to write us directly (see support mail in my signature)
Andrey Mazlin, Application Support Engineer
Useful links:
https://fit-iot.com/web/
Support Wiki: http://www.fit-pc.com/wiki/
Support mail: fitpcsupport@compulab.co.il

Post Reply

Return to “fitlet2 hardware”