[mythtv-users] Is my hard drive (SSD) starting to fail?

James Linder jam at tigger.ws
Tue Jul 2 05:14:40 UTC 2024



> On Jul 2, 2024, at 02:54, James Abernathy <jfabernathy at gmail.com> wrote:
> 
> 
> 
> On Mon, Jul 1, 2024 at 2:23 PM Jay Harbeston <jharbestonus at gmail.com> wrote:
> 
> 
>> On Jul 1, 2024, at 2:16 PM, James Abernathy <jfabernathy at gmail.com> wrote:
>> 
>> So on one of my systems I have a Mythtv Storage group for additional TV shows and Music that is stored on a 2.5" SATA SSD.  I've noticed at times that clicking in the file manager on a directory on that drive has a delayed response.  After rebooking I saw this is the dmesg output:
>> 
>> [   22.393887] ata1.00: exception Emask 0x10 SAct 0x200000 SErr 0x40d0000 action 0xe frozen
>> [   22.393896] ata1.00: irq_stat 0x00000040, connection status changed
>> [   22.393897] ata1: SError: { PHYRdyChg CommWake 10B8B DevExch }
>> [   22.393903] ata1.00: failed command: WRITE FPDMA QUEUED
>> [   22.393904] ata1.00: cmd 61/08:a8:00:08:04/00:00:1d:00:00/40 tag 21 ncq dma 4096 out
>>                        res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x10 (ATA bus error)
>> [   22.393911] ata1.00: status: { DRDY }
>> [   22.393915] ata1: hard resetting link
>> [   23.133903] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
>> [   23.136400] ata1.00: supports DRM functions and may not be fully accessible
>> [   23.140991] ata1.00: supports DRM functions and may not be fully accessible
>> [   23.145219] ata1.00: configured for UDMA/133
>> [   23.145269] ata1: EH complete
>> [   23.145854] ata1.00: Enabling discard_zeroes_data
>> 
>> This doesn't look normal to me but I'm not an SSD expert.
>> 
>> Maybe copy all the data off to a new SSD?
> 
> Might be a good idea. What does smartmon tools tell you about that drive?
> 
> Overall-health self-assessment test results: PASSED
> 
> The drive is /dev/sda vendor: Samsung model: SSD 860 QVO 1TB size: 931.51 GiB
> I just ordered a 1TB WD blue that should be delivered in about 3 hours.  I'll put that in and copy the files over from a NAS which has Mirrored backup of all those files.  I don't have to depend on these files on the Samsung to be my only copy.  I just hope the SATA cable is good because it's inside a NUC and it's custom to that NUC.
> 
>  If the occasional delays go away and the dmesg messages look better then I'll know I've solved it.
> 
> Jim A
> 

Jim the wear life of a 1T SSD is probably greater than yours, so is the SSD failing or maybe motherboard (you use nucs don’t you)
The Samsung is not a SATA device (nvme), so are any other devices SATA ?
As Jay suggested spelunk with smartmon.
You have got a daily (1T might even be weekly) trim setup?
James

PS
my crontab

#! /bin/bash
/sbin/fstrim -v /
/sbin/fstrim -v /home

[poohcorner] /home/jam [500]% ll /etc/cron.daily/fstrim
-rwxr-xr-x 1 jam jam 53 Jul  2 11:17 /etc/cron.daily/fstrim



More information about the mythtv-users mailing list