User's Manual
34 omdiag: Using the Diagnostic Service
omdiag storage scsidevdiag
Use the omdiag storage scsidevdiag command to test the SCSI controller, connected hard drives, and
tape devices. This test performs the following tests:
• SCSI Channel Communication Test — Ensures that the SCSI subsystem between the controller and
connected device is intact. This test is only available if the controller has devices connected to it.
• SCSI Disk Test — Moves the hard drive heads continuously, starting from the center of the disk and
moving outward to the maximum track, one track at a time, until the entire disk is tested. For a quick
test, this test moves the drive heads to several hundred random locations on the disk, one track at a time.
• Blink Disk Light — Blinks the lights of a hard drive for 30 seconds to assist in locating the drive.
• SCSI Tape Drive Tests — Performs several tests on the SCSI tape drive, which is connected to a SCSI
controller channel using a SCSI cable. The appropriate tape drive and SCSI controller drivers must be
installed to enumerate the tape drive. The following tests are performed on SCSI tape drives:
– Tape Device Self-Test — Ensures that any media in the drive is writable. For autoloaders/changers,
this test does not require a tape cartridge. For tape drives, a tape cartridge is required as this test
writes data to the media installed in the drive. This test initially verifies the communication path
from the host to the tape drive. If communication can be established, the test performs a quick
test of the drive's RAM and then performs the built-in RAM diagnostic. This diagnostic can vary
depending on the type of the drive. For autoloaders/changers, no other tests are performed. For
tape drives, the diagnostic writes several blocks of data and filemarks on the drive and tests the
drive’s ability to space along the filemarks.
– Tape Drive Media Test — Writes data to media present in the drive. Ensure that any media in the
drive is writable. The quick test will attempt to write 30 percent of the media's capacity and then
space back to the beginning of the media. The data is then read to confirm the written data's
integrity. The data is erased when the test is complete. The full test will attempt to write 80
percent of the media's capacity.
NOTE: Tape tests can take several hours to complete because the tests are proportional to the tape capacities.
Regular tests can take more than ten hours to complete, while the quick test can take up to ten hours to complete.
– Tape Drive Insert Test — Verifies the tape drive's ability to load a tape cartridge. This test is not
available for autoloader/changer tape drives. This test also writes a small amount of data, verifies
the data written, and then ejects the media.
NOTE: When the media is ejected from the tape drive, run the Tape Drive Insert Test as an individual test. Do
not group this test with any other tests on this device.
– Tape Drive Eject Test — Verifies the tape drive's ability to eject a tape cartridge. It will issue a
Prevent Allow Medium Removal SCSI
command and then attempt to unload the tape cartridge.
This test is not available for autoloader/changer tape drives.
NOTE: When the media is ejected from the tape drive, run the Tape Drive Eject Test as an individual test. Do
not group this test with any other tests on this device.
– Check Tape Drive Firmware (optional) — Checks the tape drive firmware revision number to see
if any updates exist.