Hi,

by default, my new external USB drive isn't recognized:

  # smartctl -a /dev/sdd
  smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.4] (local build)
  Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

  Smartctl open device: /dev/sdd [USB JMicron] failed: No device connected

Adding the '-d sat' options remedies that issue, though:

  smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.4] (local build)
  Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

  === START OF INFORMATION SECTION ===
  Device Model:     ST1000DM005 HD103SJ
  Serial Number:    S246J9EC348385
  LU WWN Device Id: 5 0004cf 20724e000
  Firmware Version: 1AJ100E5
  User Capacity:    1,000,204,886,016 bytes [1.00 TB]
  Sector Size:      512 bytes logical/physical
  Device is:        Not in smartctl database [for details use: -P showall]
  ATA Version is:   8
  ATA Standard is:  ATA-8-ACS revision 6
  Local Time is:    Fri Sep 21 18:23:54 2012 CEST
  SMART support is: Available - device has SMART capability.
  SMART support is: Enabled
  AAM feature is:   Disabled
  APM feature is:   Disabled
  Rd look-ahead is: Enabled
  Write cache is:   Enabled
  ATA Security is:  Disabled, NOT FROZEN [SEC1]

  === START OF READ SMART DATA SECTION ===
  SMART STATUS RETURN: incomplete response, ATA output registers missing
  SMART overall-health self-assessment test result: PASSED
  Warning: This result is based on an Attribute check.

  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:                ( 9360) 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:        ( 156) 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    -    0
    2 Throughput_Performance  -OS--K   056   056   000    -    8536
    3 Spin_Up_Time            PO---K   072   071   025    -    8746
    4 Start_Stop_Count        -O--CK   100   100   000    -    18
    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    -    28
   10 Spin_Retry_Count        -O--CK   252   252   051    -    0
   11 Calibration_Retry_Count -O--CK   252   252   000    -    0
   12 Power_Cycle_Count       -O--CK   100   100   000    -    8
  191 G-Sense_Error_Rate      -O---K   252   252   000    -    0
  192 Power-Off_Retract_Count -O---K   252   252   000    -    0
  194 Temperature_Celsius     -O----   064   044   000    -    35 (Min/Max 
28/56)
  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    -    0
  223 Load_Retry_Count        -O--CK   252   252   000    -    0
  225 Load_Cycle_Count        -O--CK   100   100   000    -    19
                              ||||||_ K auto-keep
                              |||||__ C event count
                              ||||___ R error rate
                              |||____ S speed/performance
                              ||_____ O updated online
                              |______ P prefailure warning

  General Purpose Log Directory Version 1
  SMART           Log Directory Version 1 [multi-sector log support]
  GP/S  Log at address 0x00 has    1 sectors [Log Directory]
  SMART Log at address 0x01 has    1 sectors [Summary SMART error log]
  SMART Log at address 0x02 has    2 sectors [Comprehensive SMART error log]
  GP    Log at address 0x03 has    2 sectors [Ext. Comprehensive SMART error 
log]
  SMART Log at address 0x06 has    1 sectors [SMART self-test log]
  GP    Log at address 0x07 has    2 sectors [Extended self-test log]
  GP    Log at address 0x08 has    2 sectors [Power Conditions log]
  SMART Log at address 0x09 has    1 sectors [Selective self-test log]
  GP    Log at address 0x10 has    1 sectors [NCQ Command Error log]
  GP    Log at address 0x11 has    1 sectors [SATA Phy Event Counters]
  GP/S  Log at address 0x80 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x81 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x82 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x83 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x84 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x85 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x86 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x87 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x88 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x89 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x8a has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x8b has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x8c has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x8d has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x8e has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x8f has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x90 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x91 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x92 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x93 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x94 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x95 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x96 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x97 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x98 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x99 has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x9a has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x9b has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x9c has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x9d has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x9e has   16 sectors [Host vendor specific log]
  GP/S  Log at address 0x9f has   16 sectors [Host vendor specific log]
  GP    Log at address 0xbb has    4 sectors [Device vendor specific log]
  GP    Log at address 0xbc has    2 sectors [Device vendor specific log]
  GP/S  Log at address 0xe0 has    1 sectors [SCT Command/Status]
  GP/S  Log at address 0xe1 has    1 sectors [SCT Data Transfer]

  SMART Extended Comprehensive Error Log Version: 1 (2 sectors)
  No Errors Logged

  SMART Extended Self-test Log Version: 1 (2 sectors)
  Num  Test_Description    Status                  Remaining  LifeTime(hours)  
LBA_of_first_error
  # 1  Extended offline    Completed without error       00%        25         -
  # 2  Short offline       Completed without error       00%        22         -
  # 3  Extended offline    Completed without error       00%         2         -
  # 4  Short offline       Completed without error       00%         0         -

  Note: selective self-test log revision number (0) not 1 implies that no 
selective self-test has ever been run
  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:     34/35 Celsius
  Lifetime    Min/Max Temperature:     20/56 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 (87)

  Index    Estimated Time   Temperature Celsius
    88    2012-09-21 07:45    50  *******************************
    89    2012-09-21 07:50    51  ********************************
    90    2012-09-21 07:55    50  *******************************
   ...    ..( 21 skipped).    ..  *******************************
   112    2012-09-21 09:45    50  *******************************
   113    2012-09-21 09:50    51  ********************************
   114    2012-09-21 09:55    51  ********************************
   115    2012-09-21 10:00    51  ********************************
   116    2012-09-21 10:05    50  *******************************
   117    2012-09-21 10:10    50  *******************************
   118    2012-09-21 10:15    51  ********************************
   ...    ..( 11 skipped).    ..  ********************************
     2    2012-09-21 11:15    51  ********************************
     3    2012-09-21 11:20    50  *******************************
     4    2012-09-21 11:25    50  *******************************
     5    2012-09-21 11:30    49  ******************************
     6    2012-09-21 11:35    49  ******************************
     7    2012-09-21 11:40    48  *****************************
   ...    ..(  2 skipped).    ..  *****************************
    10    2012-09-21 11:55    48  *****************************
    11    2012-09-21 12:00    47  ****************************
   ...    ..( 14 skipped).    ..  ****************************
    26    2012-09-21 13:15    47  ****************************
    27    2012-09-21 13:20    48  *****************************
    28    2012-09-21 13:25    49  ******************************
    29    2012-09-21 13:30    50  *******************************
    30    2012-09-21 13:35    52  *********************************
    31    2012-09-21 13:40    52  *********************************
    32    2012-09-21 13:45    53  **********************************
    33    2012-09-21 13:50    54  ***********************************
    34    2012-09-21 13:55    55  ************************************
    35    2012-09-21 14:00    55  ************************************
    36    2012-09-21 14:05    55  ************************************
    37    2012-09-21 14:10    56  *************************************
   ...    ..( 17 skipped).    ..  *************************************
    55    2012-09-21 15:40    56  *************************************
    56    2012-09-21 15:45    55  ************************************
    57    2012-09-21 15:50    54  ***********************************
    58    2012-09-21 15:55    53  **********************************
    59    2012-09-21 16:00    52  *********************************
    60    2012-09-21 16:05    52  *********************************
    61    2012-09-21 16:10    51  ********************************
    62    2012-09-21 16:15    51  ********************************
    63    2012-09-21 16:20    50  *******************************
    64    2012-09-21 16:25    50  *******************************
    65    2012-09-21 16:30    50  *******************************
    66    2012-09-21 16:35    49  ******************************
   ...    ..(  2 skipped).    ..  ******************************
    69    2012-09-21 16:50    49  ******************************
    70    2012-09-21 16:55    48  *****************************
   ...    ..(  6 skipped).    ..  *****************************
    77    2012-09-21 17:30    48  *****************************
    78    2012-09-21 17:35    47  ****************************
   ...    ..(  6 skipped).    ..  ****************************
    85    2012-09-21 18:10    47  ****************************
    86    2012-09-21 18:15    34  ***************
    87    2012-09-21 18:20    35  ****************

  Error SMART WRITE LOG does not return COUNT and LBA_LOW register
  Warning: device does not support SCT (Get) Error Recovery Control command

  SATA Phy Event Counters (GP Log 0x11)
  ID      Size     Value  Description
  0x0001  4            0  Command failed due to ICRC error
  0x0002  4            0  R_ERR response for data FIS
  0x0003  4            0  R_ERR response for device-to-host data FIS
  0x0004  4            0  R_ERR response for host-to-device data FIS
  0x0005  4            0  R_ERR response for non-data FIS
  0x0006  4            0  R_ERR response for device-to-host non-data FIS
  0x0007  4            0  R_ERR response for host-to-device non-data FIS
  0x0008  4            0  Device-to-host non-data FIS retries
  0x0009  4           13  Transition from drive PhyRdy to drive PhyNRdy
  0x000a  4           14  Device-to-host register FISes sent due to a COMRESET
  0x000b  4            0  CRC errors within host-to-device FIS
  0x000d  4            0  Non-CRC errors within host-to-device FIS
  0x000f  4            0  R_ERR response for host-to-device data FIS, CRC
  0x0010  4            0  R_ERR response for host-to-device data FIS, non-CRC
  0x0012  4            0  R_ERR response for host-to-device non-data FIS, CRC
  0x0013  4            0  R_ERR response for host-to-device non-data FIS, 
non-CRC
  0x8e00  4            0  Vendor specific
  0x8e01  4            0  Vendor specific
  0x8e02  4            0  Vendor specific
  0x8e03  4            0  Vendor specific
  0x8e04  4            0  Vendor specific
  0x8e05  4            0  Vendor specific
  0x8e06  4            0  Vendor specific
  0x8e07  4            0  Vendor specific
  0x8e08  4            0  Vendor specific
  0x8e09  4            0  Vendor specific
  0x8e0a  4            0  Vendor specific
  0x8e0b  4            0  Vendor specific
  0x8e0c  4            0  Vendor specific
  0x8e0d  4            0  Vendor specific
  0x8e0e  4            0  Vendor specific
  0x8e0f  4            0  Vendor specific
  0x8e10  4            0  Vendor specific
  0x8e11  4            0  Vendor specific

Take care,
Peter


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Smartmontools-database mailing list
Smartmontools-database@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-database

Reply via email to