Opened 7 months ago

Closed 8 weeks ago

#1777 closed defect (invalid)

Device: /dev/sda, IE (SMART) not enabled, skip device, after smartctl -s on /dev/sda

Reported by: lockywolf Owned by:
Priority: minor Milestone:
Component: all Version:
Keywords: linux sat Cc:

Description

I have the following output of smartd -d

smartd -d
smartd 7.4 2023-08-01 r5530 [x86_64-linux-6.5.6] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

Opened configuration file /etc/smartd.conf
Drive: DEVICESCAN, implied '-a' Directive on line 28 of file /etc/smartd.conf
Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Device: /dev/sda, opened
Device: /dev/sda, [ATA      CT2000MX500SSD1  032 ], lu id: 0x500a0751e4af6329, S/N: 2037E4AF6329, 2.00 TB
Device: /dev/sda, IE (SMART) not enabled, skip device
Try 'smartctl -s on /dev/sda' to turn on SMART features
Unable to register SCSI device /dev/sda at line 28 of file /etc/smartd.conf
Unable to monitor any SMART enabled devices. Exiting.
smartd is exiting (exit status 17)

I tried running 'smartctl -s on /dev/sda' many times with no success.

May i suggest that there be more information on what is this IE, and why it cannot be enabled on-demand by smartd?

Change History (4)

in reply to:  description comment:1 by Christian Franke, 7 months ago

Keywords: linux sat added
Milestone: undecided
smartd -d
...
Drive: DEVICESCAN, implied '-a' Directive on line 28 of file /etc/smartd.conf
Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices

Please provide the DEVICESCAN line from /etc/smartd.conf.

Device: /dev/sda, [ATA      CT2000MX500SSD1  032 ], lu id: 0x500a0751e4af6329, S/N: 2037E4AF6329, 2.00 TB

This suggests that SAT detection does not work as expected because the (which?) controller firmware or driver does not properly format the "ATA_____" string in the SCSI INQUIRY for SATA devices.

Please provide outputs of:

smartctl -i /dev/sda
smartctl -d scsi -i /dev/sda
smartctl -d sat -i /dev/sda

comment:2 by lockywolf, 7 months ago

root@laptop:/etc# smartctl -i /dev/sda
smartctl -d scsi -i /dev/sda
smartctl -d sat -i /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.5.6] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT2000MX500SSD1
Serial Number:    2037E4AF6329
LU WWN Device Id: 5 00a075 1e4af6329
Firmware Version: M3CR032
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5533
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:    Tue Nov 28 20:04:22 2023 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.5.6] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        2,000,398,934,016 bytes [2.00 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LB provisioning type: not reported [LBPME=1, LBPRZ=0]
Rotation Rate:        Solid State Device
Form Factor:          2.5 inches
Logical Unit id:      0x500a0751e4af6329
Serial number:        2037E4AF6329
Device type:          disk
Local Time is:        Tue Nov 28 20:04:22 2023 CST
SMART support is:     Unavailable - device lacks SMART capability.

smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.5.6] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT2000MX500SSD1
Serial Number:    2037E4AF6329
LU WWN Device Id: 5 00a075 1e4af6329
Firmware Version: M3CR032
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5533
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:    Tue Nov 28 20:04:22 2023 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

2023-11-28T20:04:22+08:00|0|.049258|
root@laptop:/etc# 


comment:3 by Christian Franke, 7 months ago

Please try whether it works if /dev/sda or /dev/sda -d sat is explicitly specified in /etc/smartd.conf and DEVICESCAN is removed.

Please provide output of:

smartctl --scan
smartctl --scan-open

comment:4 by Christian Franke, 8 weeks ago

Milestone: undecided
Resolution: invalid
Status: newclosed

No feedback from reporter.

Note: See TracTickets for help on using tickets.