Inquiry Page Viewer

Top  Previous  Next

The inquiry page data, which can be obtained by sending the -I or -I+ options, contains valuable information about the selected device. This contains everything from make and model of peripheral to more exotic information such the serial number, or maybe even where and when it was made.

 

The ANSI specification requires that all SCSI devices (remember SCSI includes fibre channel, SSA, and Fire Wire) have a standard inquiry page. This is the information that your operating system looks at when determining what it is hooked up to, and how it needs to communicate with it.

 

You can download the various ANSI specification files from http://www.t10. The documents have full information about interpreting the hundreds of bytes, bits, and bit fields found in SCSI family peripherals. In the interest of enticing you to download the spec, we will discuss a small subset of the information we are learning about one of the Seagate disk drives attached to a development system.

 

Please refer to this page of the specification. It shows the type of information contained in the first 36 bytes of a standard Inquiry.  Note that this dump is specific to just one of many SCSI variants depending on what level of the ANSI specification your particular device supports. Various bits and bytes are first undefined, may be defined, retired (become obsolete), or changed to reflect different data depending on what level of the specification your particular device was designed to report.

 

If the selected disk is a SATA device, that is attached to either a SAS controller or backplane (Or your operating system or other hardware is making the device emulate a SAS device, then both the ATA and SCSI Inquiry information will report).

 

Notice also that the number of defects are also reported as of release 1.20. This information is not part of a standard SCSI inquiry, but it seemed like the logical place to put this type of information.

 

ANSIInqDump

 

In order to obtain this information, use the -I or -I+ options ...

# ./smartmon-ux -I+ /dev/sg0 /dev/st[0-1]

SMARTMon-UX [Release 1.35, Build 18-JAN-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com

Discovered SEAGATE ST373307LC S/N "3HZ06HS8" on /dev/sg0 (SMART enabled)(70007 MB)

Inquiry Text Page Data - ANSI defined fields

 Device Type:                         disk

 Peripheral Qualifier:                Connected to this LUN

 Removable Device:                    NO

 ANSI Version:                        3 (SPC ANSI X3.301:1997)

 Vendor Identification:               SEAGATE

 Product Identification:              ST373307LC

 Firmware Revision:                   0006

 Async event reporting: (AERC)        NO

 Terminate task supported:            NO

 Response data format:                2

 Relative addressing supported:       NO

 Supports request/ACK data transfer:  NO

 Normal ACA Supported:                NO

 Enclosure services available:        NO

 Multi-ported device:                 NO

 Medium-changer attached: (removable) NO

 Linked commands supported:           YES

 Command queuing supported:           YES

 VS bit (byte #6/bit #5 set):         NO

 VS bit (byte #7/bit #0 set):         NO

 Total Capacity (In Bytes):           73407868928

 Total grown defects:                 0

 Total Primary (factory) defects:     465

 Board serial number:                 80000231343EA

 Servo RAM Release number:            2002C907

 Servo ROM Release number:            00000000

 Servo RAM Release date:              C907

 Servo ROM Release date:              2002

 ETF Log date MMDDYYYY:               10/06/2002

 Compile date code MMDDYYYY:          05/16/2003

 Jumpers DS MS WP PE D0 D1 D2 D3:     10000000b

 Drive behavior version number:       3

 Drive behavior code:                 7

 Drive behavior code version:         0

 Family number:                       ST373307LC

 Maximum interleave:                  3

 Default # of cache segments:         32

Inquiry Page Hex Dump:

 0000: 00 00 03 12 8B 00 01 3E 53 45 41 47 41 54 45 20    .......>SEAGATE

 0010: 53 54 33 37 33 33 30 37 4C 43 20 20 20 20 20 20    ST373307LC

 0020: 30 30 30 36 33 48 5A 30 36 48 53 38 00 00 00 00    00063HZ06HS8....

 0030: 00 00 00 00 00 00 00 00 0F 00 00 00 00 00 00 00    ................

 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 0060: 00 43 6F 70 79 72 69 67 68 74 20 28 63 29 20 32    .Copyright (c) 2

 0070: 30 30 33 20 53 65 61 67 61 74 65 20 41 6C 6C 20    003 Seagate All

 0080: 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64       rights reserved

Inquiry EVPD Page #80h (Serial Number Page)

 0000: 00 80 00 14 33 48 5A 30 36 48 53 38 30 30 30 30    ....3HZ06HS80000

 0010: 32 33 31 33 34 33 45 41                            231343EA

Inquiry EVPD Page #81h

 0000: 00 81 00 03 04 84 84                               .......

Inquiry EVPD Page #C0h

 0000: 00 C0 00 38 30 35 31 36 30 30 30 36 32 30 30 32    ...8051600062002

 0010: 43 39 30 37 30 30 30 30 30 30 30 30 43 39 30 37    C90700000000C907

 0020: 32 30 30 32 32 30 30 32 43 39 30 37 43 39 30 37    20022002C907C907

 0030: 32 30 30 32 30 30 30 30 31 39 30 32                200200001902

Inquiry EVPD Page #C1h

 0000: 00 C1 00 10 31 30 30 36 32 30 30 32 30 35 31 36    ....100620020516

 0010: 32 30 30 33                                        2003

Inquiry EVPD Page #C2h

 0000: 00 C2 00 02 80 00                                  ......

Inquiry EVPD Page #C3h

 0000: 00 C3 00 F6 03 07 00 53 54 33 37 33 33 30 37 4C    .......ST373307L

 0010: 43 20 20 20 20 20 20 03 20 00 01 AE 96 C0 00 00    C      . .......

 0020: B8 38 49 18 00 02 CA 10 C0 00 00 40 16 01 00 00    .8I........@....

 0030: 02 C0 40 06 B6 68 06 06 6C 82 00 24 00 24 A0 40    ..@..h..l..$.$.@

 0040: 03 03 08 19 00 00 00 03 0F 05 D0 00 00 00 00 00    ................

 0050: E0 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00    ................

 0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

 00f0: 00 00 00 00 00 00 00 00 00 00                      ..........

Inquiry EVPD Page #D1h

 0000: 00 D1 00 F0 39 56 33 30 30 36 2D 30 30 32 20 20    ....9V3006-002

 0010: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 0020: 20 20 20 20 43 43 47 54 30 33 31 33 33 31 20 20        CCGT031331

 0030: 20 20 20 20 30 33 31 31 31 43 20 20 20 20 20 20        03111C

 0040: 20 20 20 20 35 33 30 37 30 34 45 45 4E 31 32 33        530704EEN123

 0050: 42 43 20 31 30 30 31 39 39 34 34 33 41 20 20 20    BC 100199443A

 0060: 20 20 20 20 54 33 30 38 50 58 45 38 4F 30 20 20        T308PXE8O0

 0070: 20 20 20 20 54 33 30 38 50 58 45 38 4F 30 20 20        T308PXE8O0

 0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 0090: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 00e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 00f0: 20 20 20 20

Inquiry EVPD Page #D2h

 0000: 00 D2 00 F0 32 30 30 32 43 39 30 37 20 20 20 20    ....2002C907

 0010: 20 20 20 20 30 35 31 36 30 30 30 36 20 20 20 20        05160006

 0020: 20 20 20 20 31 30 30 32 33 30 35 39 39 20 20 20        100230599

 0030: 20 20 20 20 47 20 20 20 20 20 20 20 20 20 20 20        G

 0040: 20 20 20 20 32 33 31 33 34 33 45 41 20 20 20 20        231343EA

 0050: 20 20 20 20 33 31 33 20 20 20 20 20 20 20 20 20        313

 0060: 20 20 20 20 30 30 32 33 20 20 20 20 20 20 20 20        0023

 0070: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

 0080: 20 20 20 20 30 30 32 33 31 33 20 20 55 35 20 32        002313  U5 2

 0090: 39 32 30 20 31 20 20 20 20 20 20 20 20 20 20 20    920 1

 00a0: 20 20 20 20 30 32 33 20 20 20 36 20 20 20 20 20        023   6

 00b0: 32 39 37 37 33 32 35 30 30 30 20 55 32 30 30 4D    2977325000 U200M

 00c0: 36 39 30 20 35 20 20 20 20 20 20 20 20 20 20 20    690 5

 00d0: 20 20 20 20 30 32 33 20 20 20 31 20 20 20 20 20        023   1

 00e0: 20 20 54 32 20 20 20 20 20 20 20 20 20 20 20 20      T2

 00f0: 20 20 20 20

 

Discovered SONY SDT-5200 S/N " " on /dev/st0 (tape)

Inquiry Text Page Data - ANSI defined fields

 Device Type:                         tape

 Peripheral Qualifier:                Connected to this LUN

 Removable Device:                    YES

 ANSI Version:                        2 (SCSI-2 ANSI X3.131:1994)

 ISO/IEC Version:                     0

 ECMA Version:                        0

 Vendor Identification:               SONY  

 Product Identification:              SDT-5200      

 Firmware Revision:                   3.30

 Terminate task supported:            NO

 Response data format:                2

 Relative addressing supported:       NO

 Supports request/ACK data transfer:  NO

 32-bit parallel supported:           NO

 16-bit parallel supported:           NO

 Synchronous commands supported:      YES

 Linked commands supported:           YES

 Command queuing supported:           NO

 SAF-TE Enclosure services available: NO

Inquiry Page Hex Dump:

 0000: 01 80 02 02 1F 00 00 18 53 4F 4E 59 20 20 20 20    ........SONY  

 0010: 53 44 54 2D 35 32 30 30 20 20 20 20 20 20 20 20    SDT-5200      

 0020: 33 2E 33                                           3.3

 

Discovered TANDBERG SLR7 S/N "SN007005396" on /dev/st1 (tape)

Inquiry Text Page Data - ANSI defined fields

 Device Type:                         tape

 Peripheral Qualifier:                Connected to this LUN

 Removable Device:                    YES

 ANSI Version:                        2 (SCSI-2 ANSI X3.131:1994)

 ISO/IEC Version:                     0

 ECMA Version:                        0

 Vendor Identification:               TANDBERG

 Product Identification:              SLR7

 Firmware Revision:                   0483

 Async event reporting: (AERC)        NO

 Supports 16-bit wide addresses:      YES

 Supports 32-bit wide addresses:      NO

 Supports ACKQ/REQQ handshaking:      NO

 Terminate task supported:            NO

 Response data format:                2

 Relative addressing supported:       NO

 Supports request/ACK data transfer:  NO

 Normal ACA Supported:                NO

 32-bit parallel supported:           NO

 16-bit parallel supported:           YES

 Synchronous commands supported:      YES

 Linked commands supported:           YES

 Command queuing supported:           NO

 SAF-TE Enclosure services available: NO

 VS bit (byte #6/bit #5 set):         NO

 VS bit (byte #7/bit #0 set):         NO

 Capstan motor assembly rev:           L

 Step motor assembly rev:              C

 Cartridge manipulation motor rev:     0

 Sensor assembly rev:                  A

 Mainboard assembly rev:               D

 Frame module rev:                     2

 Head assembly rev:                    0

 Top cover rev:                        0

 Bridge module rev:                    0

 Main spring module rev:               1

 Main microcode rev:                  0483

 Main microcode release status:       D

 Main microcode branch rev:           0000

 Main microcode ID:                   =

 DSP microcode rev level:             0483

 DSP microcode release status:        ..

 Drive manufacturing MM.DD.YY:        06.12.01

 Main microcode creation MM.DD.YY:    07.03.01

 DSP microcode creation MM.DD.YY:     07.03.01

 Last drive adjustment MM.DD.YY:      ........

Inquiry Page Hex Dump:

 0000: 01 80 02 02 2B 00 01 38 54 41 4E 44 42 45 52 47    ....+..8TANDBERG

 0010: 53 4C 52 37 20 20 20 20 20 20 20 20 20 20 20 20    SLR7

 0020: 30 34 38 33 44 30 30 30 30 3D 20 30 34 38 33       0483D0000= 0483

Inquiry EVPD Page #80h (Serial Number Page)

 0000: 01 80 00 0C 53 4E 30 30 37 30 30 35 33 39 36 00    ....SN007005396.

Inquiry EVPD Page #81h

 0000: 01 81 00 02 03 03                                  ......

Inquiry EVPD Page #82h (Operating Definition Page)

 0000: 01 82 00 14 13 53 43 53 49 2D 32 20 58 33 2E 31    .....SCSI-2 X3.1

 0010: 33 31 2D 31 39 39 34 00                            31-1994.

Inquiry EVPD Page #C0h

 0000: 01 C0 00 17 20 4C 20 43 20 30 20 41 20 44 20 32    .À.. L C 0 A D 2

 0010: 20 30 20 30 20 30 20 31 20 32 00                    0 0 0 1 2.

Inquiry EVPD Page #C1h

 0000: 01 C1 00 11 30 34 38 33 44 30 30 30 30 3D 20 30    .Á..0483D0000= 0

 0010: 34 38 33 44 00                                     483D.

Inquiry EVPD Page #C2h

 0000: 01 C2 00 09 30 36 2E 31 32 2E 30 31 00             .Â..06.12.01.

Inquiry EVPD Page #C3h

 0000: 01 C3 00 12 30 37 2E 30 33 2E 30 31 2F 30 37 2E    .Ã..07.03.01/07.

 0010: 30 33 2E 30 31 00                                  03.01.

Inquiry EVPD Page #C4h

 0000: 01 C4 00 09 FF FF FF FF FF FF FF FF 00             .Ä..ÿÿÿÿÿÿÿÿ.

 

As you can see, the Seagate disk drive and the Tandberg tape drive have a lot of information to report.  You can get part and serial numbers for individual drive components, firmware revisions, world-wide-name, and hundreds of other fields.  You should also be aware that many fields are vendor-specific. This means their record layouts are not standardized by the ANSI committee, so you will need to contact Seagate to obtain this information. Please contact your manufacturer to obtain the layouts, and/or view their web sites. All of this information is usually online.

 

If you had just entered the -I option, you would have gotten same results, without the EVPD page hex dumps, and without the fields which appear after the defects.  In the dump above, the fields in blue will only be reported with the -I+ command as they come from the EVPD pages.

 

Fibre Channel disk drives will also report the World Wide Name (also called the IEEE Device ID).  If the above disk was a fibre channel disk, then a line such as the one below would be added to the report under Board Serial Number. This was added in release 1.30.

  IEEE Unique ID:          20-00-00-11-C6-B5-64-45

 

Additionally, if you have an IDE disk drive and are running a distribution that supports IDE drives, you might see similar results from supplying the -I+ option:

The output below is from an SATA (ATA-7 type) drive. Each version of the ATA specification has some fields which have either been added or deleted from previous versions. In addition, some fields are specific to serial ATA (SATA) disks or parallel ATA disks (PATA), so do not expect all of these fields to be applicable to your particular type of disk drive.

 

SMARTMon-ux [Release 1.23, Build 07-DEC-2003] - Copyright 2003 SANtools, Inc. http://www.SANtools.com

Discovered Maxtor 6Y080M0 S/N "Y3JRAGXE" on /dev/hda (SMART Enabled)

Inquiry Text Page Data - ATA defined fields

 Device Type:                         Fixed Disk

 Model Number:                        Maxtor 6Y080M0

 Serial Number:                       Y3JRAGXE

 Interface:                           ATA/ATAPI-7 T13 1532D revision 0

 Firmware Revision:                   YAR51BW0

 Usable addressable sectors LBA mode: 3120564618

 IORDY Supported:                     YES

 IORDY can be disabled:               YES

 LBA Supported:                       YES

 DMA Supported:                       YES

 Standby timer values supported:      YES

 Download microcode supported:        YES

 Read/write DMA queue code supported: NO

 CFA feature set supported:           NO

 Advanced power management supported: YES

 Removable media status notification: NO

 Power-up in standby supported:       NO

 SET FEATURES command required:       NO

 SET MAX security feature supported:  YES

 Automatic acoustic mgmt supported:   YES

 48-bit addressing supported:         NO

 Device configuration overlay:        YES

 Mandatory FLUSH CACHE supported:     YES

 FLUSH CACHE EXT command:             YES

 Security features supported:         YES

 Drive security status:               Maximum

 Enhanced security erase:             Maximum

 Security count expired:              NO

 Security is frozen:                  YES

 Security is locked:                  NO

 Security is enabled:                 NO

 Security level:                      High

 S.M.A.R.T. feature set supported:    YES

 Security mode feature set supported: YES

 Removable media supported:           NO

 Power management supported:          YES

 Packet command feature supported:    NO

 Write cache supported:               YES

 Look-ahead supported:                YES

 Release interrupt supported:         NO

 Service interrupt supported:         NO

 Device reset command supported:      NO

 Host protected area feature set:     YES

 Write buffer command supported:      YES

 Read buffer command supported:       YES

 NOP command supported:               YES

 S.M.A.R.T. error logging supported:  YES

 S.M.A.R.T. self-test supported:      YES

 Media serial number supported:       NO

 Media card pass through supported:   NO

 Streaming feature set supported:     NO

 General purpose logging feature:     NO

 Write DMA FUA EXT feature set:       NO

 Write DMA QUEUED FUA EXT feature:    NO

 Current Ultra DMA mode:              2

 Highest Ultra DMA mode supported:    6

 Highest Multiword DMA mode supportd: 2

 Max sectors for RW multiple command: 16

 Current sectors for RW multiple:     16

 Highest PIO mode supported:          4

 Min MW DMA xfer cycle time/word(ns): 120

 Manuf. recommended MW DMA xfer (ns): 120

 Min PIO xfer cycle w/o flow(ns):     120

 Min PIO xfer cycle time w/IORDY(ns): 120

 Time required for security erase:    unspecified

 Time required for enh security erase: unspecified

 Master password revision code:       65534

 Current auto acoustic mgmt. value:   254

 Rec. auto acoustic mgmt. value:      192

 Service interrupt enabled:           NO

 Release interrupt enabled:           NO

 Look-ahead enabled:                  YES

 Write cache enabled:                 YES

 Security mode feature enabled:       NO

 S.M.A.R.T. feature set enabled:      YES

 Advanced power management enabled:   NO

 Removable media notif. enabled:      NO

 Max LBA in 48-bit address mode:      0

 Total bytes in 48-bit address mode:  0

 Supports SATA Gen-1 sig speed:       NO

 Supports SATA Gen-2 sig speed:       NO

 Supports SATA native command queues: NO

 Supports SATA host-init power mgmt:  NO

 Offline collection status:           128 (Never started)

 Self-test execution status:          0 (Completed w/o error)

 Offline data collection supported:   YES

 Offline data collection requires:    182 seconds

 S.M.A.R.T. offline diags supported:  YES

 S.M.A.R.T. vendor-specific testing:  YES

 S.M.A.R.T. offline diags restarting: NO

 S.M.A.R.T. offline read scanning:    YES

 S.M.A.R.T. offline self-tests:       YES

 S.M.A.R.T. power-mode saving:        YES

 S.M.A.R.T. autosave after event:     YES

 Min. short self-test polling time:   2 minutes

 Min. extnded self-test polling time: 40 minutes

Inquiry page dump below:

0000: 40 00 FF 3F 37 C8 10 00 00 00 00 00 3F 00 00 00    @..?7.......?...

0010: 00 00 00 00 59 33 4A 52 41 47 58 45 00 00 00 00    ....Y3JRAGXE....

0020: 00 00 00 00 00 00 00 00 03 00 00 3E 04 00 59 41    ...........>..YA

0030: 52 35 31 42 57 30 4D 61 78 74 6F 72 20 36 59 30    R51BW0Maxtor 6Y0

0040: 38 30 4D 30 00 00 00 00 00 00 00 00 00 00 00 00    80M0............

0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 80    ................

0060: 00 00 00 2F 00 40 00 02 00 00 07 00 FF 3F 10 00    .../.@.......?..

0070: 3F 00 10 FC FB 00 10 01 00 BA 8A 09 00 00 07 00    ?...............

0080: 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00    ..x.x.x.x.......

0090: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................

00a0: FE 00 1E 00 6B 7C 09 7B 03 40 69 7C 01 3A 03 40    ....k|.{.@i|.:.@

00b0: 7F 04 00 00 00 00 00 00 FE FF 00 00 FE C0 00 00    ................

00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0100: 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0120: 00 00 00 00 00 00 00 00 00 00 00 00 17 00 40 20    ..............@

0130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

0190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

01a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

01b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

01c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 F7    ................

 

Program Ended.

 

IDE device information and specifics of what all of this means can be found at the http://www.t13.org web site.