View Log Page Tables by Drive

Previous  Top  Next

This window lets you view device-specific messages and their corresponding log sense tables.
logsensedatabasescreen
Log sense information is used to track running totals. Typical fields include numbers of read/write errors, cumulative bytes written, temperature, and hours powered-on.

Not all drives document all codes, and our database is limited to what manufacturers supplied to us. If there is not an entry for your specific SCSI device, then contact our support people, we may have an update for you. Even if there is no entry, the program will still work… in the event of an error, the program will just return the sense information without the alphanumeric description.

As time and resources allow, additional drives will be added.

Usage
Double click on a manufacturer. The tree will expand into device models. Click on one of them, and the sense tables will appear. You can sort any column by clicking on the header. You can also re size their widths by clicking on the divider in the column headers, and dragging them towards the left or right.

All of this information is stored in the ASCII text file,
LOGSENSEDB.TXT.

LOGSENSEDB.TXT Record Layout

General Information:
·All records starting with a # are comments, and the data is ignored. Comments may appear anywhere in the file, with the exception of the first record which identifies the version. Do NOT make changes to this record.  
·Put all disk drives in alphanumeric order, sorted by manufacturer.  
·The first record for a particular drive consists of the single word BEGIN, and the last record must consist of the word END.  
·All command records, BEGIN, END, MAKE, MODEL, etc... must be in upper case.  
·A single wild-card character, "*", may appear at the end of the MAKE or MODEL string identifier. Examples might be IBM*, or DDRS*.  

Make and Model Fields
After the
BEGIN statement, and any subsequent comment records, the next record must contain the word MAKE followed by the manufacturer, i.e., MAKE IBM. You must enter only one manufacturer. The software doesn't compare against it, and the make is only used to group disk drives for reporting purposes.

The
MODEL record supports up to 1024 characters, and you may add multiple models corresponding to the sense codes, separated by commas. Example MODEL ST142*,ST141442WX,ST3248*.

Data
Two record formats are possible, and they may be mixed as desired. They are called Parameter
and Offset format. Parameter format is for those records which follow the standard Log Page layout which is a page number and parameter number. Log pages 1-6 will always follow this layout.

The Offset format lets you define the specific byte offset and format of the data. This provides you with the flexibility to view any log page and any format.

Below are some examples of each.
Parameter Format:
01 00 Buffer under-runs
01 01 Buffer over-runs
02 02 Total write errors
03 00 ECC on-the-fly hardware corrections
03 02 Total read errors
05 02 Total verify errors
06 00 Non-Medium errors

The SCSI specification provides enough additional information in the record to determine the field lengths and offsets. SMARTMon simply needs to know what log pages and parameters you wish to report. The first field corresponds to the log page, and the second field is the parameter number. The text is what will display in the information window.

Offset Format:

30 * 0008 0002 %d # of Zero-length seeks
30 * 000a 0002 %d # Seeks >= 2/3 of disk

The first field is page number, next field is a '*' which indicates the record is in offset format, third field is the offset of the first character in the field, next is the number of bytes, followed by format, then description.

Format fields must be:
%d for 1-8 byte unsigned numeric field.
%L for 1-8 byte unsigned numeric field, in little endian format.

(The vast majority of the time, you will use %d).

Notice the length of all fields, and that they are separated by a single space. This is required.