Custom Query (1361 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (127 - 129 of 1361)

Ticket Resolution Summary Owner Reporter
#278 wontfix Adaptec 7 series and SATA disks problem somebody szj
Description

Hi,

There is a problem with monitoring SATA disks on Adaptec 7 series. I have identical Seagate SAS drives, Corsair Force GS SSD's and WDC SATA drives connected to Adaptec 6805 and Adaptec 71605 in another machine. All is fine on the machine with the 6805. On the machine with the 71605 the SAS drives work fine, but there is a problem with SATA drives. I tested various versions of smartmontools available in Debian and it's always the same. Smartd refuses to monitor the drives, claiming it can't enable SMART:

smartd[17562]: Device: /dev/sg7 [SAT], opened
smartd[17562]: Device: /dev/sg7 [SAT], WDC WD4000FYYZ-01UL1B0, S/N:WD-WCC130248974, WWN:5-0014ee-25d6165c4, FW:01.01K01, 4.00 TB
smartd[17562]: Device: /dev/sg7 [SAT], found in smartd database: Western Digital RE4 (SATA 6Gb/s)
smartd[17562]: Device: /dev/sg7 [SAT], could not enable SMART capability.

When treated with "smartctl -d sat -a /dev/sg7" it looks pretty normal though:

smartctl 6.2 2013-04-20 r3812 [x86_64-linux-3.2.46-1-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital RE4 (SATA 6Gb/s)
Device Model:     WDC WD4000FYYZ-01UL1B0
Serial Number:    WD-WCC130248974
LU WWN Device Id: 5 0014ee 25d6165c4
Firmware Version: 01.01K01
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Jun 13 19:05:14 2013 CEST
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
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        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:                (49020) 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:        ( 530) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x70bd) 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       -       0
  3 Spin_Up_Time            0x0027   175   175   021    Pre-fail  Always       -       10225
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       9
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       663
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       9
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       8
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   114   109   000    Old_age   Always       -       38
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

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%       437         -
# 2  Short offline       Completed without error       00%       429         -

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.

Please note the test results above - displayed as usal. You cannot however launch the tests with "smartctl -d sat -t long /dev/sg7" - smartctl complains about some badly formed scsi parameters:

smartctl 6.2 2013-04-20 r3812 [x86_64-linux-3.2.46-1-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Command "Execute SMART Extended self-test routine immediately in off-line mode" failed: scsi error badly formed scsi parameters

What't more interesting, you can launch the test pretending the disk is SCSI (!?) with "smartctl -d scsi -t long /dev/sg7":

smartctl 6.2 2013-04-20 r3812 [x86_64-linux-3.2.46-1-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Extended Background Self Test has begun
Please wait 1092 minutes for test to complete.
Estimated completion time: Fri Jun 14 13:21:12 2013

Use smartctl -X to abort test

The test indeed takes place, and you can see the result later on with "smartctl -d sat -a /dev/sg7" (please note "-d sat", not "-d scsi" used to launch the test). Don't think you can check the test result with "smartctl -d scsi -a /dev/sg7" (still "-d scsi" is a must to launch the test) - the command will only display:

smartctl 6.2 2013-04-20 r3812 [x86_64-linux-3.2.46-1-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Logical Unit id:      0x50014ee25d6165c4
Serial number:        WD-WCC130248974
Device type:          disk
Local Time is:        Thu Jun 13 19:13:35 2013 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     39 C

Error Counter logging not supported

Device does not support Self Test logging

I even made a small patch to smartd so that it ignores "could not enable SMART capability" condition and it seems to monitor some attributes for those SATA drives. But unfortunately it will not support scheduling SMART tests for SATA drives.

It is also strange that to manually schedule SMART tests you need to pretend the SATA disks are SCSI and later on query them with smartctl back as regular SATA disks.

#1550 fixed toshiba MG08ADA800E not in database Christian Franke seba
Description
smartctl 7.2 2020-12-30 r5155 [armv7l-linux-5.10.63-v7l+] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     TOSHIBA MG08ADA800E
Serial Number:    X1F0A0GXFCXH
LU WWN Device Id: 5 000039 b38d216bc
Firmware Version: 0101
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Dec  5 11:34:37 2021 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     128 (minimum power consumption without standby)
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unknown

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: 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:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 241)	Self-test routine in progress...
					10% of test remaining.
Total time to complete Offline 
data collection: 		(  120) 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: 	 ( 687) minutes.
SCT capabilities: 	       (0x003d)	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     PO-R--   100   100   050    -    0
  2 Throughput_Performance  P-S---   100   100   050    -    0
  3 Spin_Up_Time            POS--K   100   100   001    -    10076
  4 Start_Stop_Count        -O--CK   100   100   000    -    16
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  7 Seek_Error_Rate         PO-R--   100   100   050    -    0
  8 Seek_Time_Performance   P-S---   100   100   050    -    0
  9 Power_On_Hours          -O--CK   100   100   000    -    25
 10 Spin_Retry_Count        PO--CK   100   100   030    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    2
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
192 Power-Off_Retract_Count -O--CK   100   100   000    -    0
193 Load_Cycle_Count        -O--CK   100   100   000    -    16
194 Temperature_Celsius     -O---K   100   100   000    -    43 (Min/Max 15/47)
196 Reallocated_Event_Count -O--CK   100   100   000    -    0
197 Current_Pending_Sector  -O--CK   100   100   000    -    0
198 Offline_Uncorrectable   ----CK   100   100   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
220 Disk_Shift              -O----   100   100   000    -    50724865
222 Loaded_Hours            -O--CK   100   100   000    -    25
223 Load_Retry_Count        -O--CK   100   100   000    -    0
224 Load_Friction           -O---K   100   100   000    -    0
226 Load-in_Time            -OS--K   100   100   000    -    513
240 Head_Flying_Hours       P-----   100   100   001    -    0
                            ||||||_ 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]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O     51  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O    513  Pending Defects log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x24       GPL     R/O  53248  Current Device Internal Status Data log
0x25       GPL     R/O  53248  Saved Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xae       GPL     VS      25  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

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

SMART Extended Self-test Log Version: 1 (1 sectors)
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.

SCT Status Version:                  3
SCT Version (vendor specific):       1 (0x0001)
Device State:                        DST executing in background (3)
Current Temperature:                    43 Celsius
Power Cycle Min/Max Temperature:     31/43 Celsius
Lifetime    Min/Max Temperature:     15/47 Celsius
Specified Max Operating Temperature:    55 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      5/55 Celsius
Min/Max Temperature Limit:           -40/70 Celsius
Temperature History Size (Index):    478 (117)

Index    Estimated Time   Temperature Celsius
 118    2021-12-05 03:37    46  ***************************
 ...    ..(242 skipped).    ..  ***************************
 361    2021-12-05 07:40    46  ***************************
 362    2021-12-05 07:41    47  ****************************
 363    2021-12-05 07:42    46  ***************************
 364    2021-12-05 07:43    47  ****************************
 ...    ..( 29 skipped).    ..  ****************************
 394    2021-12-05 08:13    47  ****************************
 395    2021-12-05 08:14    46  ***************************
 ...    ..(  7 skipped).    ..  ***************************
 403    2021-12-05 08:22    46  ***************************
 404    2021-12-05 08:23    45  **************************
 405    2021-12-05 08:24     ?  -
 406    2021-12-05 08:25    31  ************
 407    2021-12-05 08:26    31  ************
 408    2021-12-05 08:27    31  ************
 409    2021-12-05 08:28    32  *************
 ...    ..(  3 skipped).    ..  *************
 413    2021-12-05 08:32    32  *************
 414    2021-12-05 08:33    33  **************
 ...    ..(  4 skipped).    ..  **************
 419    2021-12-05 08:38    33  **************
 420    2021-12-05 08:39    34  ***************
 ...    ..(  5 skipped).    ..  ***************
 426    2021-12-05 08:45    34  ***************
 427    2021-12-05 08:46    35  ****************
 ...    ..(  4 skipped).    ..  ****************
 432    2021-12-05 08:51    35  ****************
 433    2021-12-05 08:52    36  *****************
 ...    ..(  5 skipped).    ..  *****************
 439    2021-12-05 08:58    36  *****************
 440    2021-12-05 08:59    37  ******************
 ...    ..(  5 skipped).    ..  ******************
 446    2021-12-05 09:05    37  ******************
 447    2021-12-05 09:06    38  *******************
 448    2021-12-05 09:07    38  *******************
 449    2021-12-05 09:08    37  ******************
 450    2021-12-05 09:09    37  ******************
 451    2021-12-05 09:10    38  *******************
 ...    ..(  9 skipped).    ..  *******************
 461    2021-12-05 09:20    38  *******************
 462    2021-12-05 09:21    39  ********************
 ...    ..(  5 skipped).    ..  ********************
 468    2021-12-05 09:27    39  ********************
 469    2021-12-05 09:28    40  *********************
 ...    ..(  4 skipped).    ..  *********************
 474    2021-12-05 09:33    40  *********************
 475    2021-12-05 09:34    41  **********************
 476    2021-12-05 09:35    40  *********************
 ...    ..(  3 skipped).    ..  *********************
   2    2021-12-05 09:39    40  *********************
   3    2021-12-05 09:40    41  **********************
   4    2021-12-05 09:41    41  **********************
   5    2021-12-05 09:42    40  *********************
   6    2021-12-05 09:43    40  *********************
   7    2021-12-05 09:44    41  **********************
 ...    ..( 24 skipped).    ..  **********************
  32    2021-12-05 10:09    41  **********************
  33    2021-12-05 10:10    42  ***********************
 ...    ..(  2 skipped).    ..  ***********************
  36    2021-12-05 10:13    42  ***********************
  37    2021-12-05 10:14    43  ************************
 ...    ..(  5 skipped).    ..  ************************
  43    2021-12-05 10:20    43  ************************
  44    2021-12-05 10:21    42  ***********************
  45    2021-12-05 10:22    43  ************************
  46    2021-12-05 10:23    43  ************************
  47    2021-12-05 10:24    43  ************************
  48    2021-12-05 10:25    42  ***********************
  49    2021-12-05 10:26    42  ***********************
  50    2021-12-05 10:27    43  ************************
  51    2021-12-05 10:28    43  ************************
  52    2021-12-05 10:29    43  ************************
  53    2021-12-05 10:30    42  ***********************
 ...    ..(  4 skipped).    ..  ***********************
  58    2021-12-05 10:35    42  ***********************
  59    2021-12-05 10:36    43  ************************
 ...    ..( 57 skipped).    ..  ************************
 117    2021-12-05 11:34    43  ************************

SMART WRITE LOG does not return COUNT and LBA_LOW register
SCT (Get) Error Recovery Control command failed

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 3) ==
0x01  0x008  4               2  ---  Lifetime Power-On Resets
0x01  0x010  4              25  ---  Power-on Hours
0x01  0x018  6       279618548  ---  Logical Sectors Written
0x01  0x020  6          620824  ---  Number of Write Commands
0x01  0x028  6     15629622833  ---  Logical Sectors Read
0x01  0x030  6        30553932  ---  Number of Read Commands
0x01  0x038  6        90000000  ---  Date and Time TimeStamp
0x02  =====  =               =  ===  == Free-Fall Statistics (rev 1) ==
0x02  0x010  4               0  ---  Overlimit Shock Events
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4              25  ---  Spindle Motor Power-on Hours
0x03  0x010  4              25  ---  Head Flying Hours
0x03  0x018  4              16  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03  0x038  4               0  ---  Number of Realloc. Candidate Logical Sectors
0x03  0x040  4               0  ---  Number of High Priority Unload Events
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4              14  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              43  ---  Current Temperature
0x05  0x010  1              45  N--  Average Short Term Temperature
0x05  0x018  1               -  N--  Average Long Term Temperature
0x05  0x020  1              47  ---  Highest Temperature
0x05  0x028  1              15  ---  Lowest Temperature
0x05  0x030  1              45  N--  Highest Average Short Term Temperature
0x05  0x038  1              45  N--  Lowest Average Short Term Temperature
0x05  0x040  1               -  N--  Highest Average Long Term Temperature
0x05  0x048  1               -  N--  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              55  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               5  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4              42  ---  Number of Hardware Resets
0x06  0x010  4              83  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
0x07  =====  =               =  ===  == Solid State Device Statistics (rev 1) ==
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

Pending Defects log (GP Log 0x0c)
No Defects Logged

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           67  Transition from drive PhyRdy to drive PhyNRdy
0x000a  4           24  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
#634 wontfix Do not operate on drives which are security locked by password Andreas E
Description

The following is not me, but it's fairly similar: https://bbs.archlinux.org/viewtopic.php?id=178554

scsiModePageOffset: response length too short, resp_len=xx offset=yy bd_len=zz

Well after I got this message when trying to do a smartctl long test, I thought my drive was faulty as this guy's one was, but it was 100% OK.

The actual reason for the "error" was almost to be called hilarious: my drive was security locked! This happened after using security erase (enhanced) via hdparm:

# hdparm --user-master u --security-set-pass /dev/sdc blahdiblah # hdparm --user-master u --security-erase enhanced /dev/sdc blahdiblah

It may be a bug in hdparm that it doesn't always release the lock as soon as it has finished erasing.

Anyways, that "faulty" drive was actually a great drive, and after doing a DISPWD on it via MHDD, it gave me a PERFECT rating on HDD Sentinel.

tl;dr ?

What this enhancement request is about:

  • Do not operate on drives that are security locked by password (makes less sense), instead:
  • Inform the user THAT their drive is security locked and write out something like "Can't operate on this drive - unlock it first" so that the user knows what they're up to.
  • Do not lead the user down the garden path by telling them about a responselength being too short, making them think it's their drive which is at (hardware) fault.
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.