<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Feb 15, 2025 at 4:08 PM Barry Martin <<a href="mailto:barry3martin@gmail.com">barry3martin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    <p><br>
    </p>
    <p>Hi Will!<br>
    </p>
    <blockquote type="cite">
      <pre><blockquote type="cite" style="color:rgb(0,124,255)"><pre>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.
</pre></blockquote><pre>Easy to check by installing smartmontools and running:
sudo smartctl -a <i>dev</i><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.
</pre></pre>
    </blockquote>
    <p><br>
    </p>
    <p>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!</p>
    <p><br>
    </p>
    <p>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?<br>
    </p>
    <p><start of test results><br>
    </p>
    <p><font face="monospace">barry@BE5:~$ sudo smartctl -a  /dev/sdb<br>
        smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-51-generic]
        (local build)<br>
        Copyright (C) 2002-23, Bruce Allen, Christian Franke,
        <a href="http://www.smartmontools.org" target="_blank">www.smartmontools.org</a><br>
        <br>
        === START OF INFORMATION SECTION ===<br>
        Model Family:     Western Digital Re<br>
        Device Model:     WDC WD4000FYYZ-05UL1B0<br>
        Serial Number:    WD- <BJM: Deleted><br>
        LU WWN Device Id: 5 0014ee 25f977da3<br>
        Firmware Version: 00.0NS05<br>
        User Capacity:    4,000,787,030,016 bytes [4.00 TB]<br>
        Sector Size:      512 bytes logical/physical<br>
        Rotation Rate:    7200 rpm<br>
        Device is:        In smartctl database 7.3/5528<br>
        ATA Version is:   ATA8-ACS (minor revision not indicated)<br>
        SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)<br>
        Local Time is:    Sat Feb 15 08:25:13 2025 CST<br>
        SMART support is: Available - device has SMART capability.<br>
        SMART support is: Enabled<br>
        <br>
        === START OF READ SMART DATA SECTION ===<br>
        SMART overall-health self-assessment test result: PASSED<br>
        <br>
        General SMART Values:<br>
        Offline data collection status:  (0x00)    Offline data
        collection activity<br>
                            was never started.<br>
                            Auto Offline Data Collection: Disabled.<br>
        Self-test execution status:      (   0)    The previous
        self-test routine completed<br>
                            without error or no self-test has ever <br>
                            been run.<br>
        Total time to complete Offline <br>
        data collection:         (48480) seconds.<br>
        Offline data collection<br>
        capabilities:              (0x7b) SMART execute Offline
        immediate.<br>
                            Auto Offline data collection on/off support.<br>
                            Suspend Offline collection upon new<br>
                            command.<br>
                            Offline surface scan supported.<br>
                            Self-test supported.<br>
                            Conveyance Self-test supported.<br>
                            Selective Self-test supported.<br>
        SMART capabilities:            (0x0003)    Saves SMART data
        before entering<br>
                            power-saving mode.<br>
                            Supports SMART auto save timer.<br>
        Error logging capability:        (0x01)    Error logging
        supported.<br>
                            General Purpose Logging supported.<br>
        Short self-test routine <br>
        recommended polling time:      (   2) minutes.<br>
        Extended self-test routine<br>
        recommended polling time:      ( 523) minutes.<br>
        Conveyance self-test routine<br>
        recommended polling time:      (   5) minutes.<br>
        SCT capabilities:            (0x70bd)    SCT Status supported.<br>
                            SCT Error Recovery Control supported.<br>
                            SCT Feature Control supported.<br>
                            SCT Data Table supported.<br>
        <br>
        SMART Attributes Data Structure revision number: 16<br>
        Vendor Specific SMART Attributes with Thresholds:<br>
        ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH
        TYPE      UPDATED  WHEN_FAILED RAW_VALUE<br>
          1 Raw_Read_Error_Rate     0x002f   200   182   051   
        Pre-fail  Always       -       15<br>
          3 Spin_Up_Time            0x0027   227   227   021   
        Pre-fail  Always       -       7633<br>
          4 Start_Stop_Count        0x0032   100   100   000   
        Old_age   Always       -       90<br>
          5 Reallocated_Sector_Ct   0x0033   200   200   140   
        Pre-fail  Always       -       0<br>
          7 Seek_Error_Rate         0x002e   100   253   000   
        Old_age   Always       -       0<br>
          9 Power_On_Hours          0x0032   065   065   000   
        Old_age   Always       -       26111<br>
         10 Spin_Retry_Count        0x0032   100   253   000   
        Old_age   Always       -       0<br>
         11 Calibration_Retry_Count 0x0032   100   253   000   
        Old_age   Always       -       0<br>
         12 Power_Cycle_Count       0x0032   100   100   000   
        Old_age   Always       -       90<br>
         16 Total_LBAs_Read         0x0022   003   197   000   
        Old_age   Always       -       189260942824<br>
        183 Runtime_Bad_Block       0x0032   100   100   000   
        Old_age   Always       -       0<br>
        192 Power-Off_Retract_Count 0x0032   200   200   000   
        Old_age   Always       -       50<br>
        193 Load_Cycle_Count        0x0032   200   200   000   
        Old_age   Always       -       39<br>
        194 Temperature_Celsius     0x0022   112   093   000   
        Old_age   Always       -       40<br>
        196 Reallocated_Event_Count 0x0032   200   200   000   
        Old_age   Always       -       0<br>
        197 Current_Pending_Sector  0x0032   200   200   000   
        Old_age   Always       -       8<br>
        198 Offline_Uncorrectable   0x0030   100   253   000   
        Old_age   Offline      -       0<br>
        199 UDMA_CRC_Error_Count    0x0032   200   200   000   
        Old_age   Always       -       0<br>
        200 Multi_Zone_Error_Rate   0x0008   100   253   000   
        Old_age   Offline      -       0<br>
        <br>
        SMART Error Log Version: 1<br>
        No Errors Logged<br>
        <br>
        SMART Self-test log structure revision number 1<br>
        Num  Test_Description    Status                  Remaining 
        LifeTime(hours)  LBA_of_first_error<br>
        # 1  Short offline       Aborted by host               10%    
        20981         -<br>
        <br>
        SMART Selective self-test log data structure revision number 1<br>
         SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS<br>
            1        0        0  Not_testing<br>
            2        0        0  Not_testing<br>
            3        0        0  Not_testing<br>
            4        0        0  Not_testing<br>
            5        0        0  Not_testing<br>
        Selective self-test flags (0x0):<br>
          After scanning selected spans, do NOT read-scan remainder of
        disk.<br>
        If Selective self-test is pending on power-up, resume after 0
        minute delay.<br>
        <br>
        The above only provides legacy SMART information - try 'smartctl
        -x' for more</font><br>
    </p>
    <p><end of test results><br>
      <br>
    </p>
    <p>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.......</p>
    <p><br>
    </p>
    <p>Thanks! </p>
    <p>Barry</p></div></blockquote><div><br></div><div>The above information confuses me:</div><div><span style="font-family:arial,sans-serif">26111 of power on hours are roughly 3 years, but the hint on </span></div><div><span style="font-family:arial,sans-serif">the end of your test results says</span></div><div><font face="monospace">The above only provides legacy SMART information - try 'smartctl
        -x' for more</font></div><div><font face="arial,sans-serif"><br></font></div><div><font face="arial,sans-serif">I always use the "-x" option.</font></div><div><font face="arial,sans-serif">Could you please post that output with the "-x" option ?</font></div><div><font face="arial,sans-serif"><br></font></div><div><font face="arial,sans-serif">I have 24 TBytes of multimedia data, almost no backup, and thought</font></div><div><font face="arial,sans-serif">the WD drives work at least 5 years, until I replace them.</font></div><div><font face="arial,sans-serif">I am getting nervous....</font></div><div><font face="arial,sans-serif"><br></font></div><div><font face="arial,sans-serif">Thanks,</font></div><div><font face="arial,sans-serif">Roland <br></font></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></div></div>