• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • The forum software that supports hummy.tv has been upgraded to XenForo 2.0!

    This is a major upgrade which changes the look and feel of the forum somewhat but brings a host of improvements too. Please bear with us as we continue to tweak things and report any issues or suggestions in Site/Forum Issues.

trusty 9300t finally had enough?

prpr

Well-Known Member
#62
I expect it might be useful to see the output of "sudo smartctl -a /dev/sdc" at this point.
Your disk looks like it's not very well.
You might need a "sudo apt-get install smartmontools" first - I can't remember whether it's on the live CD or not.
 
OP
OP
H

hu12

Member
#63
Here is output of running tools:
Code:
mint@mint ~ $ sudo smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-37-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:  Western Digital AV-GP
Device Model:  WDC WD3200AVVS-63L2B0
Serial Number:  WD-WCAV15967067
LU WWN Device Id: 5 0014ee 1584c4864
Firmware Version: 01.03A01
User Capacity:  320,072,933,376 bytes [320 GB]
Sector Size:  512 bytes logical/physical
Device is:  In smartctl database [for details use: -P show]
ATA Version is:  ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.5, 3.0 Gb/s
Local Time is:  Thu Sep  8 09:46:50 2016 UTC
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:  (0x84)   Offline data collection activity
           was suspended by an interrupting command from host.
           Auto Offline Data Collection: Enabled.
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:      ( 8580) 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:     ( 102) minutes.
Conveyance self-test routine
recommended polling time:     (  5) minutes.
SCT capabilities:     (0x303f)   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  200  051  Pre-fail  Always  -  262
  3 Spin_Up_Time  0x0027  154  151  021  Pre-fail  Always  -  3283
  4 Start_Stop_Count  0x0032  093  093  000  Old_age  Always  -  7750
  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  075  075  000  Old_age  Always  -  18742
10 Spin_Retry_Count  0x0032  100  100  000  Old_age  Always  -  0
11 Calibration_Retry_Count 0x0032  100  100  000  Old_age  Always  -  0
12 Power_Cycle_Count  0x0032  093  093  000  Old_age  Always  -  7749
192 Power-Off_Retract_Count 0x0032  190  190  000  Old_age  Always  -  7748
193 Load_Cycle_Count  0x0032  198  198  000  Old_age  Always  -  7750
194 Temperature_Celsius  0x0022  112  083  000  Old_age  Always  -  31
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  200  200  000  Old_age  Offline  -  6
199 UDMA_CRC_Error_Count  0x0032  200  200  000  Old_age  Always  -  213
200 Multi_Zone_Error_Rate  0x0008  200  200  000  Old_age  Offline  -  5

SMART Error Log Version: 1
No Errors Logged

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


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.
 
Last edited:
OP
OP
H

hu12

Member
#64
On running this before above it produced:
Code:
mint@mint ~ $ sudo smartctl -a /dev/sdc
sudo: smartctl: command not found
 
Last edited:
OP
OP
H

hu12

Member
#65
Ran sudo smartctl -a /dev/sdc again and it gave:
Code:
mint@mint ~ $ sudo smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-37-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:  Western Digital AV-GP
Device Model:  WDC WD3200AVVS-63L2B0
Serial Number:  WD-WCAV15967067
LU WWN Device Id: 5 0014ee 1584c4864
Firmware Version: 01.03A01
User Capacity:  320,072,933,376 bytes [320 GB]
Sector Size:  512 bytes logical/physical
Device is:  In smartctl database [for details use: -P show]
ATA Version is:  ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.5, 3.0 Gb/s
Local Time is:  Thu Sep  8 09:57:46 2016 UTC
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:  (0x84)   Offline data collection activity
           was suspended by an interrupting command from host.
           Auto Offline Data Collection: Enabled.
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:      ( 8580) 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:     ( 102) minutes.
Conveyance self-test routine
recommended polling time:     (  5) minutes.
SCT capabilities:     (0x303f)   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  200  051  Pre-fail  Always  -  262
  3 Spin_Up_Time  0x0027  154  151  021  Pre-fail  Always  -  3283
  4 Start_Stop_Count  0x0032  093  093  000  Old_age  Always  -  7750
  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  075  075  000  Old_age  Always  -  18742
10 Spin_Retry_Count  0x0032  100  100  000  Old_age  Always  -  0
11 Calibration_Retry_Count 0x0032  100  100  000  Old_age  Always  -  0
12 Power_Cycle_Count  0x0032  093  093  000  Old_age  Always  -  7749
192 Power-Off_Retract_Count 0x0032  190  190  000  Old_age  Always  -  7748
193 Load_Cycle_Count  0x0032  198  198  000  Old_age  Always  -  7750
194 Temperature_Celsius  0x0022  109  083  000  Old_age  Always  -  34
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  200  200  000  Old_age  Offline  -  6
199 UDMA_CRC_Error_Count  0x0032  200  200  000  Old_age  Always  -  213
200 Multi_Zone_Error_Rate  0x0008  200  200  000  Old_age  Offline  -  5

SMART Error Log Version: 1
No Errors Logged

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


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.

mint@mint ~ $
 
Last edited:

Trev

The Dumb One
#66
Hi HU12. It would be good if you could include your listings in a code box. put [code ] before and [/code] after the printout, but omit the space that I have left between the word 'code' and the closing ']'
 
OP
OP
H

hu12

Member
#67
OK trev will do
Code:
=== START OF INFORMATION SECTION ===
Model Family: Western Digital AV-GP
Device Model: WDC WD3200AVVS-63L2B0
Serial Number: WD-WCAV15967067
LU WWN Device Id: 5 0014ee 1584c4864
Firmware Version: 01.03A01
User Capacity: 320,072,933,376 bytes [320 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 2.5, 3.0 Gb/s
Local Time is: Thu Sep 8 09:46:50 2016 UTC
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: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
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: ( 8580) 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: ( 102) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x303f) 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 200 051 Pre-fail Always - 262
3 Spin_Up_Time 0x0027 154 151 021 Pre-fail Always - 3283
4 Start_Stop_Count 0x0032 093 093 000 Old_age Always - 7750
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 075 075 000 Old_age Always - 18742
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 093 093 000 Old_age Always - 7749
192 Power-Off_Retract_Count 0x0032 190 190 000 Old_age Always - 7748
193 Load_Cycle_Count 0x0032 198 198 000 Old_age Always - 7750
194 Temperature_Celsius 0x0022 112 083 000 Old_age Always - 31
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 200 200 000 Old_age Offline - 6
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 213
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 5

SMART Error Log Version: 1
No Errors Logged

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


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.
 

Ezra Pound

Well-Known Member
#70
I have no exerience of the 9300t, but if the above SMART attributes were for a HDR-fox T2, I would say that the HDD had been running far too hot in the past
 

prpr

Well-Known Member
#71
I have no exerience of the 9300t, but if the above SMART attributes were for a HDR-fox T2, I would say that the HDD had been running far too hot in the past
I see no evidence of that. Anyway, SMART attributes pertain to the disk, not the box it's in.

What is clear is that there are bad sectors that need fixing.
I guess you are going to have to do this the hard way - we could really do with an extract of xyz321's fix-disk with the Humax T2 specific bits excised for general use on Linux machines.
Try "badblocks -b 512 -sv /dev/sdc 1>/tmp/bad" and see what happens. You should get to see a list of the bad blocks by "cat /tmp/bad".
 
OP
OP
H

hu12

Member
#72
This what
badblocks -b 512 -sv /dev/sdc 1>/tmp/bad

produced:

Code:
mint@mint ~ $ badblocks -b 512 -sv /dev/sdc 1>/tmp/bad
badblocks: Permission denied while trying to determine device size
 

prpr

Well-Known Member
#73
Just change to a superuser first i.e. "sudo su" or "sudo -i"
It saves all the dullness of stuff like this and the tedium of repeatedly typing "sudo" before everything... and others remembering to put it in the instructions.
 
OP
OP
H

hu12

Member
#74
After running above it produced:

Code:
mint mint # sudo -i
mint ~ # badblocks -b 512 -sv /dev/sdc 1>/tmp/bad
Checking blocks 0 to 625142447
Checking for bad blocks (read-only test):   0.00% done, 0:00 elapsed. (0/0/0 errdone                                                 
Pass completed, 40 bad blocks found. (40/0/0 errors)
mint ~ # cat /tmp/bad
566106440
566106441
566106442
566106443
566106444
566106445
566106446
566106447
624284512
624284513
624284514
624284515
624284516
624284517
624284518
624284519
624285384
624285385
624285386
624285387
624285388
624285389
624285390
624285391
624288016
624288017
624288018
624288019
624288020
624288021
624288022
624288023
625076912
625076913
625076914
625076915
625076916
625076917
625076918
625076919
mint ~ #
 

prpr

Well-Known Member
#75
Right, now do this (as superuser):
Code:
mint ~ # apt-get install hdparm
mint ~ # while read block; do hdparm --repair-sector $block --yes-i-know-what-i-am-doing /dev/sdc; done </tmp/bad
mint ~ # smartctl -a /dev/sdc|grep ^19[78]
and you might want to try the badblocks command again to see if it returns anything.
Then try humaxrw again.
 
OP
OP
H

hu12

Member
#78
This what first part produced:
Code:
mint ~ # while read block; do hdparm --repair-sector $block --yes-i-know-what-i-am-doing /dev/sdc; done </tmp/bad

/dev/sdc:
re-writing sector 566106440: succeeded

/dev/sdc:
re-writing sector 566106441: succeeded

/dev/sdc:
re-writing sector 566106442: succeeded

/dev/sdc:
re-writing sector 566106443: succeeded

/dev/sdc:
re-writing sector 566106444: succeeded

/dev/sdc:
re-writing sector 566106445: succeeded

/dev/sdc:
re-writing sector 566106446: succeeded

/dev/sdc:
re-writing sector 566106447: succeeded

/dev/sdc:
re-writing sector 624284512: succeeded

/dev/sdc:
re-writing sector 624284513: succeeded

/dev/sdc:
re-writing sector 624284514: succeeded

/dev/sdc:
re-writing sector 624284515: succeeded

/dev/sdc:
re-writing sector 624284516: succeeded

/dev/sdc:
re-writing sector 624284517: succeeded

/dev/sdc:
re-writing sector 624284518: succeeded

/dev/sdc:
re-writing sector 624284519: succeeded

/dev/sdc:
re-writing sector 624285384: succeeded

/dev/sdc:
re-writing sector 624285385: succeeded

/dev/sdc:
re-writing sector 624285386: succeeded

/dev/sdc:
re-writing sector 624285387: succeeded

/dev/sdc:
re-writing sector 624285388: succeeded

/dev/sdc:
re-writing sector 624285389: succeeded

/dev/sdc:
re-writing sector 624285390: succeeded

/dev/sdc:
re-writing sector 624285391: succeeded

/dev/sdc:
re-writing sector 624288016: succeeded

/dev/sdc:
re-writing sector 624288017: succeeded

/dev/sdc:
re-writing sector 624288018: succeeded

/dev/sdc:
re-writing sector 624288019: succeeded

/dev/sdc:
re-writing sector 624288020: succeeded

/dev/sdc:
re-writing sector 624288021: succeeded

/dev/sdc:
re-writing sector 624288022: succeeded

/dev/sdc:
re-writing sector 624288023: succeeded

/dev/sdc:
re-writing sector 625076912: succeeded

/dev/sdc:
re-writing sector 625076913: succeeded

/dev/sdc:
re-writing sector 625076914: succeeded

/dev/sdc:
re-writing sector 625076915: succeeded

/dev/sdc:
re-writing sector 625076916: succeeded

/dev/sdc:
re-writing sector 625076917: succeeded

/dev/sdc:
re-writing sector 625076918: succeeded

/dev/sdc:
re-writing sector 625076919: succeeded
mint ~ #
 
OP
OP
H

hu12

Member
#79
And further:
Code:
mint ~ # smartctl -a /dev/sdc|grep ^19[78]
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       8
mint ~ #
 
OP
OP
H

hu12

Member
#80
I tried various versions of humaxrw code and they gave:
Code:
mint ~ # humaxrw /dev/sdc -l

humaxrw: command not found
mint ~ #
mint ~ #  ./humaxrw /dev/sdc -l
-bash: ./humaxrw: No such file or directory
mint ~ # sudo ./humaxrw /dev/sdc -l -r
sudo: ./humaxrw: command not found
mint ~ # ./humaxrw /dev/sdc -l -r
-bash: ./humaxrw: No such file or directory
mint ~ #