Specifications
CoreModule/PC Technical Manual
A-2
SCSICOMP
DESCRIPTION
The Ampro SCSICOMP utility allows you to compare the contents of two SCSI direct access devices
(e.g. hard disk drives). Although the program must be run from DOS, SCSICOMP pays no
attention to the contents of the source and destination SCSI devices, and does not care what (if any)
operating system has been used to write data to them.
You can specify any two SCSI controller ID's, drive Logical Unit Numbers (LUN's), and SCSI block
range to be compared.
OPERATION
To run the program, type its name at the DOS command line:
A>SCSICOMP<Enter>
The program will display a sign-on message and will then prompt you to press the <Enter> key to
continue. After you press the <Enter> key, the program will prompt you for information required,
including the first SCSI ID, first logical unit number, second SCSI ID, second logical unit number,
starting block number, and number of blocks to compare. Then, the program will compare the
specified segments of the two SCSI devices and report on any errors or differences that occur during
the comparison.
The required parameters are defined as follows:
nn SCSI ID - Each device's SCSI ID is determined by the jumpering of the device's SCSI controller
and is in the range 0 through 7.
nn Logical Unit Number (LUN) - Each device's logical unit number is based on how the device is
connected to the controller and may also depend on the setting of jumpers on the device. It is
generally 0 or 1.
nn Block Number - A SCSI "block" is 512 bytes of data. Note that the first block on a device is
numbered 0. SCSICOMP requires that the block starting numbers on the two drives be the
same, so only one starting block number is requested by the program.
EXAMPLE
In this example, 2000 blocks (10,240,000 bytes) of data are compared, between LUN 0 on SCSI ID 0
and LUN 1 on SCSI ID 1.