Поделиться через


SAS SSD SCSI Compliance Test (LOGO)

This test verifies INQUIRY, READ CAPACITY (16), and UNMAP (10) Small Computer System Interface (SCSI) commands sent to a Serial Attached SCSI (SAS) Solid State Drive (SSD). For more information, see the SCSI Compliance Test (LOGO).

Test details

Associated requirements

Device.Storage.Hd.Sas.ComplyWithIndustrySpec

See the device hardware requirements.

Platforms

Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~1 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Hard Disk Drive Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

The test writes the results to the log files Scsicompliance.wtl and Scsicompliance.wtl.txt. You can use the results to determine:

  • If a device is compliant with the SCSI specification

  • The optional SCSI commands that are supported by a device

To pass, the SCSI device must support every mandatory command and must be fully compliant with those commands. Each command has a different threshold for pass or fail, and the expectations are specified explicitly in the test and in the log file.

Optional commands are also tested. If a device supports the optional commands and the commands are found to be non-compliant, the test fails. If the device does not support optional commands, the test passes.

More information

The test SCSI commands are as follows:

INQUIRY

For page code B0h:

  • Support INQUIRY B0h VPD page

  • PAGE LENGTH = 0x3C

  • MAXIMUM UNMAP LBA COUNT > 0

  • MAXIMUM UNMAP BLOCK DESCRIPTOR

  • COUNT > 0

For page code B1h:

  • Support INQUIRY B1h VPD page

  • PAGE LENGTH = 0x3C

  • MEDIUM ROTATION RATE = 1

For page code B2h:

  • Support INQUIRY B2h VPD page

  • If DP = 1, then PAGE LENGTH = 0x4

  • LBPU = 1

  • PROVISIONING TYPE = 0 or 1

READ CAPACITY (16)

  • Support READ CAPACITY (16)

  • LBPME = LBPME (VPD B2h page)

  • LBPRZ = LBPRZ (VPD B2h page)

UNMAP (10)

  • Support UNMAP (10)

Parameters

Parameter Description

ScsiComplianceDevice

The device in which to run the test.

Example: \\.\PhysicalDrive2

LoggingVerbosity

Detail of logging. Levels are cumulative. 0 = Assertions and results. 1 = Details. 2 = CDBs, data, and sense info. 3 = Debug and detailed Mode page information. 4 = Memory usage.

Default value: 4

SasSsd

The scenario for the SAS SSD.

Default value: SasSsd

OperationId

The operation for the test.

Default value: test

 

Command syntax

Command Description

Scsicompliance.exe /device [ScsiComplianceDevice] /verbosity [LoggingVerbosity] /scenario SasSsd /operation test

Runs the test.

 

File list

File Location

Scsicompliance.exe

<[testbinroot]>\nttest\driverstest\storage\wdk\

 

 

 

Send comments about this topic to Microsoft