Opened 11 days ago

Last modified 10 days ago

#1875 closed defect

smartctl -o off does not work for some SSDs — at Initial Version

Reported by: lockywolf Owned by:
Priority: minor Milestone:
Component: smartctl Version: 7.4
Keywords: ata Cc:

Description

The following is the command log.

smartctl -o off /dev/sdg ; smartctl -c /dev/sdg  | grep 'Auto Offline' ; smartctl -a /dev/sdg | head
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.23] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Automatic Offline Testing Disabled.

                                        Auto Offline Data Collection: Enabled.
                                        Auto Offline data collection on/off support.
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.23] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Automatic Offline Testing Disabled.

                                        Auto Offline Data Collection: Enabled.
                                        Auto Offline data collection on/off support.
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.23] (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]

I understand that some drives are irregular and refuse to enable/disable some features, but if a drive refuses, it would be at least nice to set exit status to non-0.

Change History (0)

Note: See TracTickets for help on using tickets.