Re: poškozený root FS na točivém disku RPi.

Petr Zapadlo zapik na email.cz
Úterý Červen 7 12:27:48 CEST 2016


 > A co říká smartctl -x /dev/sda?
 > (podle toho co máte za USB - Sata adaptér tak to možná bude chtít 
ještě nějaké přepínače..)


Výpis je delší, ale podle mě OK:

udo smartctl -x /dev/sda
smartctl 6.4 2014-10-07 r4002 [armv6l-linux-4.4.11+] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG HM501IX
Serial Number:    C3191G74AA1JC5
LU WWN Device Id: 5 0000f0 0aa0bc510
Firmware Version: 2AJ10001
User Capacity:    500 107 862 016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Jun  7 12:25:22 2016 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM level is:     254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Write SCT (Get) Feature Control Command failed: Read of ATA output 
registers not implemented [JMicron]
Wt Cache Reorder: Unknown (SCT Feature Control command failed)

=== 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:                ( 8160) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                         Auto Offline data collection 
on/off support.
                                         Suspend Offline collection upon new
                                         command.
                                         Offline surface scan supported.
                                         Self-test supported.
                                         No 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:        ( 136) minutes.
SCT capabilities:              (0x003f) 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          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
   1 Raw_Read_Error_Rate     POSR-K   100   100   051    -    16
   2 Throughput_Performance  -OS--K   056   056   000    -    7369
   3 Spin_Up_Time            PO---K   088   088   025    -    3769
   4 Start_Stop_Count        -O--CK   048   048   000    -    52813
   5 Reallocated_Sector_Ct   PO--CK   252   252   010    -    0
   7 Seek_Error_Rate         -OSR-K   252   252   051    -    0
   8 Seek_Time_Performance   --S--K   252   252   015    -    0
   9 Power_On_Hours          -O--CK   100   100   000    -    26797
  10 Spin_Retry_Count        -O--CK   252   252   051    -    0
  11 Calibration_Retry_Count -O--CK   088   088   000    -    12988
  12 Power_Cycle_Count       -O--CK   100   100   000    -    733
191 G-Sense_Error_Rate      -O---K   100   100   000    -    3338
192 Power-Off_Retract_Count -O---K   252   252   000    -    0
194 Temperature_Celsius     -O----   064   055   000    -    35 (Min/Max 
17/49)
195 Hardware_ECC_Recovered  -O-RCK   100   100   000    -    0
196 Reallocated_Event_Count -O--CK   252   252   000    -    0
197 Current_Pending_Sector  -O--CK   252   252   000    -    0
198 Offline_Uncorrectable   ----CK   252   252   000    -    0
199 UDMA_CRC_Error_Count    -OS-CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   -O-R-K   100   100   000    -    201
223 Load_Retry_Count        -O--CK   088   088   000    -    12988
225 Load_Cycle_Count        -O--CK   001   001   000    -    1577974
                             ||||||_ K auto-keep
                             |||||__ C event count
                             ||||___ R error rate
                             |||____ S speed/performance
                             ||_____ O updated online
                             |______ P prefailure warning

ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: 48-bit ATA 
commands not implemented [JMicron]
Read GP Log Directory failed

SMART Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00           SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      2  Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x09           SL  R/W      1  Selective self-test log
0x80-0x9f      SL  R/W     16  Host vendor specific log
0xe0           SL  R/W      1  SCT Command/Status
0xe1           SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log (GP Log 0x03) not supported

SMART Error Log Version: 1
No Errors Logged

SMART Extended Self-test Log (GP Log 0x07) not supported

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00% 26795         -

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever 
been run
  SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
     1        0        0  Completed [00% left] (0-65535)
     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.

SCT Status Version:                  2
SCT Version (vendor specific):       256 (0x0100)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    35 Celsius
Power Cycle Min/Max Temperature:     30/45 Celsius
Lifetime    Min/Max Temperature:     20/63 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         5 minutes
Temperature Logging Interval:        5 minutes
Min/Max recommended Temperature:     -5/80 Celsius
Min/Max Temperature Limit:           -10/85 Celsius
Temperature History Size (Index):    128 (50)

Index    Estimated Time   Temperature Celsius
   51    2016-06-07 01:50    36  *****************
  ...    ..(  3 skipped).    ..  *****************
   55    2016-06-07 02:10    36  *****************
   56    2016-06-07 02:15    35  ****************
  ...    ..( 16 skipped).    ..  ****************
   73    2016-06-07 03:40    35  ****************
   74    2016-06-07 03:45    34  ***************
  ...    ..(  5 skipped).    ..  ***************
   80    2016-06-07 04:15    34  ***************
   81    2016-06-07 04:20    32  *************
   82    2016-06-07 04:25    31  ************
   83    2016-06-07 04:30    32  *************
   84    2016-06-07 04:35    32  *************
   85    2016-06-07 04:40    32  *************
   86    2016-06-07 04:45    33  **************
   87    2016-06-07 04:50    30  ***********
   88    2016-06-07 04:55    30  ***********
   89    2016-06-07 05:00    31  ************
   90    2016-06-07 05:05    33  **************
   91    2016-06-07 05:10    36  *****************
   92    2016-06-07 05:15    37  ******************
   93    2016-06-07 05:20    38  *******************
   94    2016-06-07 05:25    39  ********************
   95    2016-06-07 05:30    39  ********************
   96    2016-06-07 05:35    39  ********************
   97    2016-06-07 05:40    40  *********************
   98    2016-06-07 05:45    41  **********************
   99    2016-06-07 05:50    41  **********************
  100    2016-06-07 05:55    41  **********************
  101    2016-06-07 06:00    42  ***********************
  102    2016-06-07 06:05    42  ***********************
  103    2016-06-07 06:10    39  ********************
  104    2016-06-07 06:15    40  *********************
  105    2016-06-07 06:20    41  **********************
  106    2016-06-07 06:25    42  ***********************
  ...    ..(  3 skipped).    ..  ***********************
  110    2016-06-07 06:45    42  ***********************
  111    2016-06-07 06:50    40  *********************
  112    2016-06-07 06:55    39  ********************
  113    2016-06-07 07:00    38  *******************
  ...    ..(  7 skipped).    ..  *******************
  121    2016-06-07 07:40    38  *******************
  122    2016-06-07 07:45    37  ******************
  123    2016-06-07 07:50    37  ******************
  124    2016-06-07 07:55    36  *****************
  125    2016-06-07 08:00    36  *****************
  126    2016-06-07 08:05    35  ****************
  ...    ..(  5 skipped).    ..  ****************
    4    2016-06-07 08:35    35  ****************
    5    2016-06-07 08:40    37  ******************
    6    2016-06-07 08:45    40  *********************
    7    2016-06-07 08:50    41  **********************
    8    2016-06-07 08:55    42  ***********************
    9    2016-06-07 09:00    43  ************************
   10    2016-06-07 09:05    43  ************************
   11    2016-06-07 09:10    44  *************************
  ...    ..(  2 skipped).    ..  *************************
   14    2016-06-07 09:25    44  *************************
   15    2016-06-07 09:30    45  **************************
   16    2016-06-07 09:35    45  **************************
   17    2016-06-07 09:40    45  **************************
   18    2016-06-07 09:45    44  *************************
   19    2016-06-07 09:50    45  **************************
   20    2016-06-07 09:55    44  *************************
   21    2016-06-07 10:00    45  **************************
  ...    ..(  5 skipped).    ..  **************************
   27    2016-06-07 10:30    45  **************************
   28    2016-06-07 10:35    43  ************************
   29    2016-06-07 10:40    41  **********************
   30    2016-06-07 10:45    40  *********************
   31    2016-06-07 10:50    39  ********************
   32    2016-06-07 10:55    38  *******************
   33    2016-06-07 11:00    37  ******************
   34    2016-06-07 11:05    37  ******************
   35    2016-06-07 11:10    37  ******************
   36    2016-06-07 11:15    36  *****************
  ...    ..(  4 skipped).    ..  *****************
   41    2016-06-07 11:40    36  *****************
   42    2016-06-07 11:45    35  ****************
   43    2016-06-07 11:50    35  ****************
   44    2016-06-07 11:55    36  *****************
   45    2016-06-07 12:00    35  ****************
   46    2016-06-07 12:05    36  *****************
   47    2016-06-07 12:10    35  ****************
  ...    ..(  2 skipped).    ..  ****************
   50    2016-06-07 12:25    35  ****************

Write SCT (Get) Error Recovery Control Command failed: Read of ATA 
output registers not implemented [JMicron]
SCT (Get) Error Recovery Control command failed

Device Statistics (GP/SMART Log 0x04) not supported

ATA_READ_LOG_EXT (addr=0x11:0x00, page=0, n=1) failed: 48-bit ATA 
commands not implemented [JMicron]
Read SATA Phy Event Counters failed




Další informace o konferenci Hw-list