Opened 9 years ago

Closed 9 years ago

#621 closed defect (fixed)

The incorrect smartctl terminal printout for GLTSD bit

Reported by: bear Owned by: Christian Franke
Priority: trivial Milestone: Release 6.5
Component: all Version: 6.3
Keywords: scsi Cc:

Description

T10's SPC-4 specifies the GLTSD bit in section 7.5.10 Control mode page as:

---
A global logging target save disable (GLTSD) bit set to zero specifies that the logical unit implicitly saves, at vendor specific intervals, each log parameter in which the TSD bit (see 7.3) is set to zero. A GLTSD bit set to one specifies that the logical unit shall not implicitly save any log parameters.
---

I have verified the functionality of the smartctl -S [on/off] /dev/sgX command on a SAS drive and believe the output is incorrect.

When you use -S on, you are enabling Autosaving of logs (set GLTSD bit to 0) but the printout says you are setting the GLTSD bit. This printout is incorrect.
When you use -S off you are disabling Autosaving of logs (set GLTSD bit to 1) but the printout says you are clearing the GLTSD bit. This printout is incorrect.

(See attached picture)

On the bright side, I have verified that the command does correct set/clear the bit in the Control mode page 0Ah .

Attachments (1)

smartctl S on-off example.png (62.4 KB ) - added by bear 9 years ago.
Shows incorrect output on the command line

Download all attachments as: .zip

Change History (3)

by bear, 9 years ago

Shows incorrect output on the command line

comment:1 by Christian Franke, 9 years ago

Keywords: scsi added; GLTSD removed
Milestone: Release 6.5
Owner: set to Christian Franke
Status: newaccepted

comment:2 by Christian Franke, 9 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.