Changes between Initial Version and Version 1 of Ticket #705, comment 2


Ignore:
Timestamp:
Jun 9, 2016, 9:24:23 AM (8 years ago)
Author:
Avi

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #705, comment 2

    initial v1  
    1 smartctl -x -r ioctl,2 output:
    2 
    3 smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.4.9-300.fc23.x86_64] (local build)
    4 Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
    5 
    6  [inquiry: 12 00 00 00 24 00 ]
    7   scsi_status=0x0, host_status=0x0, driver_status=0x0
    8   info=0x0  duration=8 milliseconds  resid=0
    9   Incoming data, len=36:
    10  00     00 00 05 02 1f 00 00 00  4a 4d 69 63 72 6f 6e 20
    11  10     48 2f 57 20 52 41 49 44  35 20 20 20 20 20 20 20
    12  20     00 00 00 00
    13  [inquiry: 12 01 00 00 fc 00 ]
    14   scsi_status=0x0, host_status=0x0, driver_status=0x0
    15   info=0x0  duration=1 milliseconds  resid=212
    16   Incoming data, len=40:
    17  00     00 00 05 02 1f 00 00 00  4a 4d 69 63 72 6f 6e 20
    18  10     48 2f 57 20 52 41 49 44  35 20 20 20 20 20 20 20
    19  20     00 00 00 00 6a 35 35 31
    20  [inquiry: 12 00 00 00 24 00 ]
    21   scsi_status=0x0, host_status=0x0, driver_status=0x0
    22   info=0x0  duration=0 milliseconds  resid=0
    23   Incoming data, len=36:
    24  00     00 00 05 02 1f 00 00 00  4a 4d 69 63 72 6f 6e 20
    25  10     48 2f 57 20 52 41 49 44  35 20 20 20 20 20 20 20
    26  20     00 00 00 00
    27 === START OF INFORMATION SECTION ===
    28 Vendor:               JMicron
    29 Product:              H/W RAID5
    30  [read capacity(10): 25 00 00 00 00 00 00 00 00 00 ]
    31   scsi_status=0x0, host_status=0x0, driver_status=0x0
    32   info=0x0  duration=0 milliseconds  resid=0
    33   Incoming data, len=8:
    34  00     ff ff ff ff 00 00 02 00
    35  [read capacity(16): 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 ]
    36   scsi_status=0x0, host_status=0x0, driver_status=0x0
    37   info=0x0  duration=0 milliseconds  resid=0
    38   Incoming data, len=32:
    39  00     00 00 00 04 17 ec ff ff  00 00 02 00 00 00 00 00
    40  10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
    41 User Capacity:        9,001,613,918,208 bytes [9.00 TB]
    42 Logical block size:   512 bytes
    43  [mode sense(6): 1a 00 84 00 40 00 ]
    44   scsi_status=0x2, host_status=0x0, driver_status=0x8
    45   info=0x1  duration=0 milliseconds  resid=64
    46   Incoming data trimmed to nothing by resid
    47   >>> Sense buffer, len=18:
    48  00     70 00 05 00 00 00 00 0a  00 00 00 00 24 00 00 00
    49  10     00 00
    50   status=2: sense_key=5 asc=24 ascq=0
    51  [mode sense(6): 1a 00 1c 00 40 00 ]
    52   scsi_status=0x2, host_status=0x0, driver_status=0x8
    53   info=0x1  duration=1 milliseconds  resid=64
    54   Incoming data trimmed to nothing by resid
    55   >>> Sense buffer, len=18:
    56  00     70 00 05 00 00 00 00 0a  00 00 00 00 24 00 00 00
    57  10     00 00
    58   status=2: sense_key=5 asc=24 ascq=0
    59 Vital Product Data (VPD) INQUIRY failed [3]
    60 Vital Product Data (VPD) INQUIRY failed [3]
    61 Device type:          disk
    62  [mode sense(6): 1a 00 19 00 40 00 ]
    63   scsi_status=0x2, host_status=0x0, driver_status=0x8
    64   info=0x1  duration=0 milliseconds  resid=64
    65   Incoming data trimmed to nothing by resid
    66   >>> Sense buffer, len=18:
    67  00     70 00 05 00 00 00 00 0a  00 00 00 00 24 00 00 00
    68  10     00 00
    69   status=2: sense_key=5 asc=24 ascq=0
    70 Local Time is:        Thu Jun  9 10:12:37 2016 IDT
    71  [test unit ready: 00 00 00 00 00 00 ]
    72   scsi_status=0x0, host_status=0x0, driver_status=0x0
    73   info=0x0  duration=0 milliseconds  resid=0
    74 SMART support is:     Unavailable - device lacks SMART capability.
    75  [unsupported field in scsi command]
    76  [mode sense(6): 1a 00 08 00 40 00 ]
    77   scsi_status=0x2, host_status=0x0, driver_status=0x8
    78   info=0x1  duration=1 milliseconds  resid=64
    79   Incoming data trimmed to nothing by resid
    80   >>> Sense buffer, len=18:
    81  00     70 00 05 00 00 00 00 0a  00 00 00 00 24 00 00 00
    82  10     00 00
    83   status=2: sense_key=5 asc=24 ascq=0
    84 Read Cache is:        Unavailable
    85 Writeback Cache is:   Unavailable
    86 
    87 === START OF READ SMART DATA SECTION ===
    88  [log sense: 4d 00 40 00 00 00 00 00 04 00 ]
    89   scsi_status=0x2, host_status=0x0, driver_status=0x8
    90   info=0x1  duration=0 milliseconds  resid=4
    91   Incoming data trimmed to nothing by resid
    92   >>> Sense buffer, len=18:
    93  00     70 00 05 00 00 00 00 0a  00 00 00 00 20 00 00 00
    94  10     00 00
    95   status=2: sense_key=5 asc=20 ascq=0
    96 Log Sense for supported pages failed [unsupported scsi opcode]
    97  [log sense: 4d 00 40 00 00 00 00 00 44 00 ]
    98   scsi_status=0x2, host_status=0x0, driver_status=0x8
    99   info=0x1  duration=1 milliseconds  resid=68
    100   Incoming data trimmed to nothing by resid
    101   >>> Sense buffer, len=18:
    102  00     70 00 05 00 00 00 00 0a  00 00 00 00 20 00 00 00
    103  10     00 00
    104   status=2: sense_key=5 asc=20 ascq=0
    105 Log Sense for supported pages failed (second attempt) [unsupported scsi opcode]
    106  [request sense: 03 00 00 00 12 00 ]
    107   scsi_status=0x0, host_status=0x0, driver_status=0x0
    108   info=0x0  duration=0 milliseconds  resid=0
    109   Incoming data, len=18:
    110  00     70 00 00 00 00 00 00 0a  00 00 00 00 00 00 00 00
    111  10     00 00
    112 Current Drive Temperature:     0 C
    113 Drive Trip Temperature:        0 C
    114 
    115  [read defect list(12): b7 0c 00 00 00 00 00 00 00 08 00 00 ]
    116   scsi_status=0x2, host_status=0x0, driver_status=0x8
    117   info=0x1  duration=0 milliseconds  resid=8
    118   Incoming data trimmed to nothing by resid
    119   >>> Sense buffer, len=18:
    120  00     70 00 05 00 00 00 00 0a  00 00 00 00 20 00 00 00
    121  10     00 00
    122   status=2: sense_key=5 asc=20 ascq=0
    123  [read defect list(10): 37 00 0c 00 00 00 00 00 04 00 ]
    124   scsi_status=0x2, host_status=0x0, driver_status=0x8
    125   info=0x1  duration=0 milliseconds  resid=4
    126   Incoming data trimmed to nothing by resid
    127   >>> Sense buffer, len=18:
    128  00     70 00 05 00 00 00 00 0a  00 00 00 00 20 00 00 00
    129  10     00 00
    130   status=2: sense_key=5 asc=20 ascq=0
    131 Read defect list (10) Failed: unsupported scsi opcode
    132 Error Counter logging not supported
    133 
    134  [mode sense(6): 1a 00 0a 00 40 00 ]
    135   scsi_status=0x2, host_status=0x0, driver_status=0x8
    136   info=0x1  duration=0 milliseconds  resid=64
    137   Incoming data trimmed to nothing by resid
    138   >>> Sense buffer, len=18:
    139  00     70 00 05 00 00 00 00 0a  00 00 00 00 24 00 00 00
    140  10     00 00
    141   status=2: sense_key=5 asc=24 ascq=0
    142 Device does not support Self Test logging
    143 Device does not support Background scan results logging
     1I am not sure if it would be safe to use the above sequence while the OS performs READ and WRITE.
     2As far as I understand it is necessary to check for empty sector and use it instead of using 0X21.