<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 10, 2019 at 10:48 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</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">On Fri, 10 May 2019 10:41:31 -0400, you wrote:<br>
<br>
>On Fri, May 10, 2019 at 10:22 AM Daryl McDonald <<a href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</a>><br>
>wrote:<br>
><br>
>><br>
>><br>
>> On Fri, May 10, 2019 at 7:17 AM Stephen Worthington <<br>
>> <a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
>><br>
>>> On Fri, 10 May 2019 06:34:59 -0400, you wrote:<br>
>>><br>
>>> >Greetings Mythizens, my storage1 drive dropped out yesterday, recordings<br>
>>> on<br>
>>> >that drive are now red on the FE the drive does not show up in either<br>
>>> disks<br>
>>> >or gparted, but in files (GUI) I see storage1 under /etc/mnt/mythtv, and<br>
>>> in<br>
>>> >files I see banners and fanart, no recordings or videos, etcetra. I<br>
>>> assume<br>
>>> >hardware failure, but partial disk failure? Any ideas?<br>
>>><br>
>>> First find the /dev partition name that is on the mount point:<br>
>>><br>
>>> df -l | grep -w /etc/mnt/mythtv | awk {'print $1'}<br>
>>><br>
>><br>
>> Initial post has an erronious path:<br>
>>  daryl@trieli:~$ df -l | grep -w /mnt | awk {'print $1'}<br>
>> /dev/sdc1<br>
>> /dev/sdb1<br>
>> daryl@trieli:~$<br>
>> But these two devices are storage2 and storage3<br>
>><br>
><br>
>I've edited fstab to #out mounting storage1, otherwise the system wont<br>
>boot. running e2fsck -y /dev/sd**  has got me up and running again. this<br>
>time I cant do anything because the disk is not virtually present to the<br>
>system, although it is physically present.<br>
><br>
>daryl@trieli:/mnt/storage1$ ls -al<br>
>total 12<br>
>drwxr-xr-x 3 root   root   4096 Jan  4 22:36 .<br>
>drwxrwxrwx 7 root   root   4096 Sep  8  2018 ..<br>
>drwxr-xr-x 4 mythtv mythtv 4096 May 10 10:10 mythtv<br>
>daryl@trieli:/mnt/storage1$<br>
><br>
>Above is the result of right clicking on storage1 in the GUI of files and<br>
>selecting "open in terminal". Normally (pre-corruption) storage1 mounts as<br>
>/dev/sdb3,(I extended the recordings partition over the boot partition of<br>
>my original system drive, hence 3) but because the system does not<br>
>recognize it storage2 gets /dev/sdb1 and storage3 gets /dev/sdc1 system is<br>
>on an SSD /dev/sda6.<br>
>I'm thinking I should physically remove the disk and see if it is visable<br>
>with a USB drive mounting hardware? And then run e2fsck -y from there.<br>
<br>
That sounds like a good idea.  But first check the log files to see if<br>
the drive is mentioned there and if there are error messages about it.<br>
_______________________________________________<br><br></blockquote><div>On a lark, I shut down my system, disconnected the drive power and sata cables, restarted the system, reconnected the drive, found it in /media, ran e2fsck -y /dev/sdd3, added it back into storage directories BE, and voilla, I'm back. The curious thing is that the check showed "clean" and didn't fix anything, and here is the smartmon report:</div><div><div>smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-48-generic] (local build)</div><div>Copyright (C) 2002-16, Bruce Allen, Christian Franke, <a href="http://www.smartmontools.org">www.smartmontools.org</a></div><div><br></div><div>=== START OF INFORMATION SECTION ===</div><div>Model Family:     Toshiba 3.5" DT01ACA... Desktop HDD</div><div>Device Model:     TOSHIBA DT01ACA100</div><div>Serial Number:    53QYNJ2NS</div><div>LU WWN Device Id: 5 000039 ff6db934a</div><div>Firmware Version: MS2OA750</div><div>User Capacity:    1,000,204,886,016 bytes [1.00 TB]</div><div>Sector Sizes:     512 bytes logical, 4096 bytes physical</div><div>Rotation Rate:    7200 rpm</div><div>Form Factor:      3.5 inches</div><div>Device is:        In smartctl database [for details use: -P show]</div><div>ATA Version is:   ATA8-ACS T13/1699-D revision 4</div><div>SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)</div><div>Local Time is:    Fri May 10 11:25:54 2019 EDT</div><div>SMART support is: Available - device has SMART capability.</div><div>SMART support is: Enabled</div><div><br></div><div>=== START OF READ SMART DATA SECTION ===</div><div>SMART overall-health self-assessment test result: PASSED</div><div><br></div><div>General SMART Values:</div><div>Offline data collection status:  (0x84)<span style="white-space:pre">  </span>Offline data collection activity</div><div><span style="white-space:pre">                                      </span>was suspended by an interrupting command from host.</div><div><span style="white-space:pre">                                   </span>Auto Offline Data Collection: Enabled.</div><div>Self-test execution status:      (   0)<span style="white-space:pre">    </span>The previous self-test routine completed</div><div><span style="white-space:pre">                                      </span>without error or no self-test has ever </div><div><span style="white-space:pre">                                      </span>been run.</div><div>Total time to complete Offline </div><div>data collection: <span style="white-space:pre">             </span>( 7944) seconds.</div><div>Offline data collection</div><div>capabilities: <span style="white-space:pre">                  </span> (0x5b) SMART execute Offline immediate.</div><div><span style="white-space:pre">                                      </span>Auto Offline data collection on/off support.</div><div><span style="white-space:pre">                                  </span>Suspend Offline collection upon new</div><div><span style="white-space:pre">                                   </span>command.</div><div><span style="white-space:pre">                                      </span>Offline surface scan supported.</div><div><span style="white-space:pre">                                       </span>Self-test supported.</div><div><span style="white-space:pre">                                  </span>No Conveyance Self-test supported.</div><div><span style="white-space:pre">                                    </span>Selective Self-test supported.</div><div>SMART capabilities:            (0x0003)<span style="white-space:pre">   </span>Saves SMART data before entering</div><div><span style="white-space:pre">                                      </span>power-saving mode.</div><div><span style="white-space:pre">                                    </span>Supports SMART auto save timer.</div><div>Error logging capability:        (0x01)<span style="white-space:pre">    </span>Error logging supported.</div><div><span style="white-space:pre">                                      </span>General Purpose Logging supported.</div><div>Short self-test routine </div><div>recommended polling time: <span style="white-space:pre">  </span> (   1) minutes.</div><div>Extended self-test routine</div><div>recommended polling time: <span style="white-space:pre"> </span> ( 133) minutes.</div><div>SCT capabilities: <span style="white-space:pre">    </span>       (0x003d)<span style="white-space:pre">  </span>SCT Status supported.</div><div><span style="white-space:pre">                                 </span>SCT Error Recovery Control supported.</div><div><span style="white-space:pre">                                 </span>SCT Feature Control supported.</div><div><span style="white-space:pre">                                        </span>SCT Data Table supported.</div><div><br></div><div>SMART Attributes Data Structure revision number: 16</div><div>Vendor Specific SMART Attributes with Thresholds:</div><div>ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE</div><div>  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0</div><div>  2 Throughput_Performance  0x0005   140   140   054    Pre-fail  Offline      -       75</div><div>  3 Spin_Up_Time            0x0007   207   207   024    Pre-fail  Always       -       110 (Average 112)</div><div>  4 Start_Stop_Count        0x0012   099   099   000    Old_age   Always       -       4858</div><div>  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0</div><div>  7 Seek_Error_Rate         0x000b   091   091   067    Pre-fail  Always       -       131079</div><div>  8 Seek_Time_Performance   0x0005   110   110   020    Pre-fail  Offline      -       36</div><div>  9 Power_On_Hours          0x0012   098   098   000    Old_age   Always       -       18420</div><div> 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0</div><div> 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3484</div><div>192 Power-Off_Retract_Count 0x0032   096   096   000    Old_age   Always       -       4946</div><div>193 Load_Cycle_Count        0x0012   096   096   000    Old_age   Always       -       4951</div><div>194 Temperature_Celsius     0x0002   150   150   000    Old_age   Always       -       40 (Min/Max 17/50)</div><div>196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0</div><div>197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0</div><div>198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0</div><div>199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       94</div><div><br></div><div>SMART Error Log Version: 1</div><div>ATA Error Count: 94 (device log contains only the most recent five errors)</div><div><span style="white-space:pre">  </span>CR = Command Register [HEX]</div><div><span style="white-space:pre">   </span>FR = Features Register [HEX]</div><div><span style="white-space:pre">  </span>SC = Sector Count Register [HEX]</div><div><span style="white-space:pre">      </span>SN = Sector Number Register [HEX]</div><div><span style="white-space:pre">     </span>CL = Cylinder Low Register [HEX]</div><div><span style="white-space:pre">      </span>CH = Cylinder High Register [HEX]</div><div><span style="white-space:pre">     </span>DH = Device/Head Register [HEX]</div><div><span style="white-space:pre">       </span>DC = Device Command Register [HEX]</div><div><span style="white-space:pre">    </span>ER = Error register [HEX]</div><div><span style="white-space:pre">     </span>ST = Status register [HEX]</div><div>Powered_Up_Time is measured from power on, and printed as</div><div>DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,</div><div>SS=sec, and sss=millisec. It "wraps" after 49.710 days.</div><div><br></div><div>Error 94 occurred at disk power-on lifetime: 15823 hours (659 days + 7 hours)</div><div>  When the command that caused the error occurred, the device was active or idle.</div><div><br></div><div>  After command completion occurred, registers were:</div><div>  ER ST SC SN CL CH DH</div><div>  -- -- -- -- -- -- --</div><div>  84 51 00 00 00 00 00</div><div><br></div><div>  Commands leading to the command that caused the error were:</div><div>  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name</div><div>  -- -- -- -- -- -- -- --  ----------------  --------------------</div><div>  ec 00 00 00 00 00 a0 08      00:08:13.719  IDENTIFY DEVICE</div><div>  ec 00 01 01 00 00 00 04      00:08:13.558  IDENTIFY DEVICE</div><div>  ec 00 00 00 00 00 a0 ff      00:08:13.245  IDENTIFY DEVICE</div><div>  ec 00 00 00 00 00 a0 08      00:08:08.109  IDENTIFY DEVICE</div><div>  ec 00 01 01 00 00 00 04      00:08:07.948  IDENTIFY DEVICE</div><div><br></div><div>Error 93 occurred at disk power-on lifetime: 15823 hours (659 days + 7 hours)</div><div>  When the command that caused the error occurred, the device was active or idle.</div><div><br></div><div>  After command completion occurred, registers were:</div><div>  ER ST SC SN CL CH DH</div><div>  -- -- -- -- -- -- --</div><div>  84 51 00 00 00 00 00</div><div><br></div><div>  Commands leading to the command that caused the error were:</div><div>  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name</div><div>  -- -- -- -- -- -- -- --  ----------------  --------------------</div><div>  ec 00 00 00 00 00 a0 08      00:08:08.109  IDENTIFY DEVICE</div><div>  ec 00 01 01 00 00 00 04      00:08:07.948  IDENTIFY DEVICE</div><div>  ec 00 00 00 00 00 a0 ff      00:08:07.635  IDENTIFY DEVICE</div><div>  ec 00 00 00 00 00 a0 08      00:08:02.483  IDENTIFY DEVICE</div><div>  60 00 01 01 00 00 00 04      00:08:02.322  READ FPDMA QUEUED</div><div><br></div><div>Error 92 occurred at disk power-on lifetime: 15823 hours (659 days + 7 hours)</div><div>  When the command that caused the error occurred, the device was active or idle.</div><div><br></div><div>  After command completion occurred, registers were:</div><div>  ER ST SC SN CL CH DH</div><div>  -- -- -- -- -- -- --</div><div>  84 51 00 00 00 00 00</div><div><br></div><div>  Commands leading to the command that caused the error were:</div><div>  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name</div><div>  -- -- -- -- -- -- -- --  ----------------  --------------------</div><div>  ec 00 00 00 00 00 a0 08      00:08:02.483  IDENTIFY DEVICE</div><div>  60 00 01 01 00 00 00 04      00:08:02.322  READ FPDMA QUEUED</div><div>  60 00 51 af 0a 00 00 ff      00:08:02.009  READ FPDMA QUEUED</div><div>  60 00 58 00 0a 00 40 08      00:08:01.998  READ FPDMA QUEUED</div><div>  60 80 40 80 08 00 40 08      00:08:01.995  READ FPDMA QUEUED</div><div><br></div><div>Error 91 occurred at disk power-on lifetime: 15823 hours (659 days + 7 hours)</div><div>  When the command that caused the error occurred, the device was active or idle.</div><div><br></div><div>  After command completion occurred, registers were:</div><div>  ER ST SC SN CL CH DH</div><div>  -- -- -- -- -- -- --</div><div>  84 51 51 af 0a 00 00  Error: ICRC, ABRT at LBA = 0x00000aaf = 2735</div><div><br></div><div>  Commands leading to the command that caused the error were:</div><div>  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name</div><div>  -- -- -- -- -- -- -- --  ----------------  --------------------</div><div>  60 00 58 00 0a 00 40 08      00:08:01.998  READ FPDMA QUEUED</div><div>  60 80 40 80 08 00 40 08      00:08:01.995  READ FPDMA QUEUED</div><div>  ef 10 02 00 00 00 a0 08      00:08:01.994  SET FEATURES [Enable SATA feature]</div><div>  27 00 00 00 00 00 e0 08      00:08:01.994  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]</div><div>  ec 00 00 00 00 00 a0 08      00:08:01.994  IDENTIFY DEVICE</div><div><br></div><div>Error 90 occurred at disk power-on lifetime: 15823 hours (659 days + 7 hours)</div><div>  When the command that caused the error occurred, the device was active or idle.</div><div><br></div><div>  After command completion occurred, registers were:</div><div>  ER ST SC SN CL CH DH</div><div>  -- -- -- -- -- -- --</div><div>  84 51 91 6f 09 00 00  Error: ICRC, ABRT at LBA = 0x0000096f = 2415</div><div><br></div><div>  Commands leading to the command that caused the error were:</div><div>  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name</div><div>  -- -- -- -- -- -- -- --  ----------------  --------------------</div><div>  60 80 30 80 08 00 40 08      00:08:01.505  READ FPDMA QUEUED</div><div>  60 38 28 40 08 00 40 08      00:08:01.505  READ FPDMA QUEUED</div><div>  60 08 20 10 08 00 40 08      00:08:01.505  READ FPDMA QUEUED</div><div>  60 18 18 20 08 00 40 08      00:08:01.505  READ FPDMA QUEUED</div><div>  60 08 10 78 08 00 40 08      00:08:01.505  READ FPDMA QUEUED</div><div><br></div><div>SMART Self-test log structure revision number 1</div><div>Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error</div><div># 1  Short offline       Completed without error       00%     18231         -</div><div># 2  Short offline       Completed without error       00%     16219         -</div><div># 3  Extended offline    Completed without error       00%     10227         -</div><div># 4  Extended offline    Interrupted (host reset)      90%     10224         -</div><div># 5  Extended offline    Completed without error       00%     10165         -</div><div># 6  Extended offline    Completed without error       00%      9743         -</div><div># 7  Extended offline    Interrupted (host reset)      80%      9674         -</div><div># 8  Extended offline    Completed without error       00%      9584         -</div><div># 9  Extended offline    Completed without error       00%      9355         -</div><div>#10  Extended offline    Interrupted (host reset)      60%      9294         -</div><div>#11  Extended offline    Completed without error       00%      9159         -</div><div>#12  Extended offline    Completed without error       00%      8979         -</div><div>#13  Extended offline    Completed without error       00%      8910         -</div><div>#14  Extended offline    Interrupted (host reset)      30%      8272         -</div><div>#15  Extended offline    Completed without error       00%      8190         -</div><div>#16  Extended offline    Interrupted (host reset)      70%      8096         -</div><div>#17  Extended offline    Completed without error       00%      7995         -</div><div>#18  Extended offline    Completed without error       00%      7896         -</div><div>#19  Extended offline    Completed without error       00%      7798         -</div><div>#20  Extended offline    Completed without error       00%      7566         -</div><div>#21  Extended offline    Completed without error       00%      7511         -</div><div><br></div><div>SMART Selective self-test log data structure revision number 1</div><div> SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS</div><div>    1        0        0  Not_testing</div><div>    2        0        0  Not_testing</div><div>    3        0        0  Not_testing</div><div>    4        0        0  Not_testing</div><div>    5        0        0  Not_testing</div><div>Selective self-test flags (0x0):</div><div>  After scanning selected spans, do NOT read-scan remainder of disk.</div><div>If Selective self-test is pending on power-up, resume after 0 minute delay.</div></div><div><br></div><div>If there are red flags here please let me know, and thanks for everything else.</div></div></div></div>