STM: Support Tools for HP Computers (logo)

SCSI Floppy Expert Tool (xstm Online Help)

The SCSI Floppy Expert Tool provides low-level disk functions to test, format or examine a disk in depth. You can also repair a disk by sparing bad blocks. The SCSI Floppy Expert Tool is fully interactive, with its own set of menus.

CAUTION: The SCSI Floppy Expert Tool contains commands which can destroy data or impair the functioning of the disk if used improperly (for example, Format Unit, Reassign Block), and Write).

To use the SCSI Floppy Expert Tool safely, you should be trained and knowledgeable about SCSI disks.

Introduction

The SCSI Floppy Expert Tool allows low-level access to SCSI disk devices by issuing SCSI commands.

Although this tool uses the term "SCSI", the real name for the protocol is SCSI-2. SCSI-2 is a popular standard protocol for a class of devices such as disks and tapes. SCSI-2 includes:

If you experience problems, consult the Troubleshooting help topic.

Step-by-Step Instructions

Running the SCSI Floppy Expert Tool

To run the SCSI Floppy Expert Tool on a device:

  1. At the main STM window, select a SCSI disk device. Only one device should be selected each time you run the SCSI Floppy Expert Tool.

    If you want to test several disks simultaneously, select a disk, start an instance of the expert tool, select another disk, start another instance of the expert tool, and so forth.

  2. If desired, change the options for the SCSI Floppy Expert Tool at the main STM window. Options include the level of logging for the tool.
  3. Run the SCSI Floppy Expert Tool.
  4. To select the desired commands, use the pull-down menus in the main window of the tool. For more information, see:
  5. Information is displayed in the main window of the tool or in pop-up windows.
  6. If you run into problems, see the Troubleshooting help topic.
  7. Exit the tool by selecting the Exit command from the File Menu.

Troubleshooting a Suspect Floppy

The following procedure is one possible method for troubleshooting disks. The idea is to perform quick tests first to find easy problems then to perform more time-consuming tests to find less obvious problems.

To troubleshoot a suspect disk:

  1. Perform a disk selfest for a quick check of the disk. (Selftest in the Tests Menu).
  2. Perform some simple commands to see if the disk responds correctly (Inquiry and Capacity in the Info Menu).
  3. To test the servo circuitry (head positioning mechanism), perform one of the Seek tests with a small number of loops. (Alternate, Random, or Butterfly in the Seek Test Sub-Menu in the Tests Menu.
  4. Perform a Read-then-Write on a small number of blocks to test read/write functionality (Write in the Utilities Menu, with the Read-then-Write option specified.)
  5. If you still have not located the problem, try stress testing the disk. For example:

Common Tasks

If you run into problems, see the Troubleshooting help topic.

Troubleshooting

Commands and Buttons

The SCSI Floppy Expert Tool offers the following commands and buttons:

Exit

Use the Exit command to leave the SCSI Floppy Expert Tool and return to the main STM window.

View Log

The View Log command displays information from the internal log of the disk (counters). This log records the occurrence of events such as data errors and hardware faults. Logged data may include:

Clear Log

The Clear Log command clears the drive's maintenance log, resetting the error counters within the disk mechanism.

CAUTION: Clearing the logs will permanently delete service-related information from the disk.

Capacity

The Capacity command displays the following information for the selected disk drive:

Running this command is a quick way to check if the disk is responding.

Growing

The Growing command displays the Growing Defect List for the drive. The Growing Defect List includes all physical surface defects identified after the drive leaves the manufacturer.

Full path: Info | Defect List | Growing

Primary

The Primary command displays the Primary Defect List for the drive. The Primary Defect List contains the physical surface defects detected on the media by the original manufacturer.

Full path: Info | Defect List | Primary

Both

The Both command displays both the drive's Primary Defect List and the Growing Defect list. The Primary Defect List contains the physical surface defects detected on the media by the original manufacturer. The Growing Defect Iist includes all physical surface defects identified after the drive leaves the manufacturer.

Full path: Info | Defect List | Both

Inquiry

The Inquiry command displays the following information for the selected disk drive:

Running this command is a quick way to check if the disk is responding.

Selftest

The Selftest command starts the internal power-on selftest for the selected device. Tests are device-dependent and are described in the support documentation for each drive.

After selecting the test, you are queried for the number of loops for the test to execute (default is 1).

Alternate

The Alternate command causes the drive to perform seeks between two specified addresses. The command is useful for testing the servo circuitry (head positioning mechanism).

After selecting the test, you are queried for the addresses of the two blocks between which the seek is performed. You are also queried for the number of loops for the test to execute (default is 1).

Full path: Tests | Seek Test | Alternate

Butterfly

The Butterfly command causes the drive to perform a series of seeks over the entire disk surface. The test moves the drive heads between the innermost track and the outmost track, then works its way towards the center of the tracks. The command is useful for testing the servo circuitry (head positioning mechanism).

NOTE: The Butterfly command can take a long time to execute.

Full path: Tests | Seek Test | Butterfly

Random

The Random command causes the drive to perform a seek to a random address. The command is useful for testing the servo circuitry (head positioning mechanism).

After selecting the test, you are queried for the number of loops for the test to execute (default is 1).

Full path: Tests | Seek Test | Random

Verify

The Verify command verifies the data on a selected or random area on the surface of the drive's media.

After you start the test, you are queried for:

The Clear Drive Logs option resets the counters on the device before execution of the Verify command. With this option selected, you can read the counters with the View Log command immediately after executing the Verify command to learn the various type of errors that were encountered during the Verify command.

If you choose "Random Area" option, the tool randomly generates a start address and an end address for verification. All blocks in this range are tested sequentially. This option is useful when you want to exercise the drive but are not concerned about a specific area.

If you choose "Selected Area" option, you specify a "Start Block Address" and an "End Block Address" for verification. All blocks in this range are tested sequentially.

For each loop (iteration), the Verify command sequentially verifies the range of blocks randomly selected or that you have selected.

Format Unit

The Format Unit command prepares a new disk for access by initializing all data surfaces and organizing the sectors into logical blocks. Surfaces with defective areas will be relocated to ensure data reliability.

CAUTION: The Format Unit command will destroy all user data on the disk drive! If you want to preserve data on the disk, press "Cancel" to cancel the command.

The Format Unit command can take a long time to execute. The time required for the Format Unit command depends on the capacity of the disk drive (about 1 second per Mbyte). For example, formatting a 1-Gbyte (1000-Mbyte) drive takes about 1000 seconds, or 17 minutes.

NOTE: To stop the command once it has begun, press the Abort Button. (The Format Unit command does not respond to the Interrupt Button.) If you stop the command in the middle of execution, the disk will be unformatted. You will have to re-execute the Format Unit command for the disk to be usable.

You can optionally choose to retain both Primary and Growing Defect Lists during the formatting process. The locations of these defects will be remapped to other more reliable locations.

The Primary Defect List consists of the physical surface defects detected on the disk drive by the original manufacturer. The Growing Defect List consists of all physical surface defects identified after the drive has left the manufacturer.

A second option is to retain only the Primary Defect List. The Primary Defect List consists of the physical surface defects detected on the disk drive by the original manufacturer. The locations of these defects will be remapped to other more reliable locations.

If you choose this option, the Growing Defect List is re-initialized and re-built as data consistency problems are experienced during normal operation. When defects are identified, the data may be automatically relocated.

Read

The Read command reads any block of data on the selected device into a buffer for examination and for subsequent write operations (the Write command).

By default, the data is displayed in both hexadecimal and its ASCII equivalent. You can optionally choose to turn off the display of data.

The command only buffers one block of data at a time, so multiple read operations overwrite the previous content of the buffer.

Read Long

The Read Long command reads any long block on the selected device into a buffer for examination. A "long" block contains the standard data field and the additional header field on each block. This header field also contains the ECC information for the given block of data.

By default, the data is displayed in both hexadecimal and its ASCII equivalent. You can optionally choose to turn off the display of data.

The command only buffers one block of data at a time, so multiple read operations overwrite the previous content of the buffer.

Reassign Block

The Reassign Block command moves the data from one physical address to a physical address in the spare area. The logical address is then remapped to the new physical location. The physical address from which the data is copied is added to the Growth Defect List. The purpose of this command is to move data from an area with defects to an area which is defect-free.

CAUTION: Do not use the Reassign Block command unless you know that the block is defective, for example by running the Verify command on the suspected area and finding that it consistently generates errors.

Unnecessary use of the Reassign Block command uses up spare tracks, reduces performances, and may cause data loss.

After you select the command, you are prompted for logical block address to be reassigned.

You are also prompted for the number of times a logical block reassignment should be attempted if the original and/or subsequent spare blocks are found to be defective.

Write

The Write command writes data to the disk drive and can be used to verify the operation of the device's write circuitry. This command has three variations:

After you select the Write command, you are queried whether to perform a Write, a Read-then-Write, or a Read-Long-then-Write-Long. You are also queried for the destination block(s) for the operation.

CAUTION: The Write operation will write data to any block you specify on the disk. Data that currently exists in the block will be destroyed.

The Read-then-Write operation and the Read-Long-then-Write-Long operation are non-destructive because they write data back to the location from which it was originally read.

Interpreted

The Interpreted command causes internal status data or logs to be displayed or printed in an interpreted (ASCII) format.

Full path: Options | Display Format | Interpreted

Hex

The Hex command causes internal status data or logs to be displayed or printed in a hexadecimal format.

Full path: Options | Display Format | Hex

Both

The Both command causes internal status data or logs to be displayed or printed in both an interpreted format and a hexadecimal format.

Full path: Options | Display Format | Both

General Help

The General Help command displays online help for the SCSI Floppy Expert Tool (the help system you are currently viewing).

For information on using the help system, select the "Using Help..." command in the Help menu in the Help window.

For online help on STM as a whole, use the Help menu in the STM main window.

Version

The Version command displays version and copyright information for the SCSI Floppy Expert Tool.

Abort Button

The Abort button allows you to abort the SCSI Floppy Expert Tool, halting its execution and returning to the STM main window.

The tool will be requested to abort and the state of the tool execution in the system map will be set to ABORT_PENDING. When the tool actually exits, its state will be set to ABORTED.

Interrupt Button

The Interrupt button allows you to interrupt the tool. When the tool receives the interrupt, it will stop whatever it is doing and prompt the user whether they want to continue with the current operation or interrupt it. If the choice is abort, the tool will abort the current operation and return to the window for the tool. If the choice is continue, the tool will continue with the current operation.


Top of Page

/ Diagnostics HOME


URL: http://docs.hp.com/hpux/onlinedocs/diag/stm/help/expert/scsi_floppyx.htm
Last updated: Mon Apr 29 18:17:49 PDT 2002