[mythtv-users] Playback drops with news crawl
Barry Martin
barry3martin at gmail.com
Sat Feb 15 15:08:19 UTC 2025
Hi Will!
>> It sounds like a disk drive error if the file copy fails at that point.
>> If the file copy fails there is not much chance that MythTV could read
>> past that point. I recommend replacing the drive. Copy as much as you
>> can from the old drive to the new drive.
> Easy to check by installing smartmontools and running:
> sudo smartctl -adev<device> (e.g. /dev/sda)
>
> It might be obvious that it's dying, or if not, I'm sure somebody here
> could provide some insight if you paste the input here.
I'm guessing with all the 'old-age' and 'pre-fails' in the output and
the drive is around ten years old Peter's suggestion to replace it is
probably a good one. ...When putting together this new Backend I sort
of grabbed the first about-the-right-size drive I saw in the box and
didn't even look at the date - oops!
Anyway, below are the test results. I'm thinking your comments would be
a great way for me and the rest of the readers to learn. I'm also
thinking it might be a good idea for me to create a script to look at
the smartctl results to monitor the hard drives in the various computers
around here and so catch any problems early. So the sub-question is
which items should I be monitoring?
<start of test results>
barry at BE5:~$ sudo smartctl -a /dev/sdb
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-51-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Re
Device Model: WDC WD4000FYYZ-05UL1B0
Serial Number: WD- <BJM: Deleted>
LU WWN Device Id: 5 0014ee 25f977da3
Firmware Version: 00.0NS05
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Device is: In smartctl database 7.3/5528
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat Feb 15 08:25:13 2025 CST
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: (48480) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 523) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 182 051 Pre-fail
Always - 15
3 Spin_Up_Time 0x0027 227 227 021 Pre-fail
Always - 7633
4 Start_Stop_Count 0x0032 100 100 000 Old_age
Always - 90
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age
Always - 0
9 Power_On_Hours 0x0032 065 065 000 Old_age
Always - 26111
10 Spin_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 90
16 Total_LBAs_Read 0x0022 003 197 000 Old_age
Always - 189260942824
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age
Always - 0
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age
Always - 50
193 Load_Cycle_Count 0x0032 200 200 000 Old_age
Always - 39
194 Temperature_Celsius 0x0022 112 093 000 Old_age
Always - 40
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age
Always - 8
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age
Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Short offline Aborted by host 10% 20981 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
The above only provides legacy SMART information - try 'smartctl -x' for
more
<end of test results>
The replacement drive has been ordered: for $10 more I got a 6 TB over 4
TB WD6004FZBX: 256 MB cache (seems more is better), 7200 RPM, (seems
less of a bottleneck possibility that the 5400 RPM versions), 5 year
warranty (seems if the manufacturer stands behind their product for a
longer time), Transfer Rate up to 267 Mbps (faster is better, though is
it reading or writing....). SSDs and NVMe's are faster but I'm not a fan
of when they fail they take everything. OTOH I do back up my hard
drives.......
Thanks!
Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250215/a81a9790/attachment.htm>
More information about the mythtv-users
mailing list