Installation guide
device to format, the code associated with checking for mounted file
systems fails. This failure avoids the possibility of accidentally formatting
disks with mounted file systems.
read media
[ test-parameters]
This command performs read operations from the selected device. The
command reads the device media and performs a data comparison of the
data read. You must include test parameters that specify the media area to
be read.
The examples that follow illustrate the use of the read command with
several test-parameters:
scu> read media
scu: No defaults, please specify test parameters for
transfer...
scu> read media lba 100
Reading 1 block on /dev/rrz10c (RX23) using pattern
0x39c39c39...
scu> read media lba 100 pattern 0x12345678
Reading 1 block on /dev/rrz10c (RX23) using pattern
0x12345678...
scu: Data compare error at byte position 0
scu: Data expected = 0x78, data found = 0x39
scu> read media ending 100 compare off bs 10k
Reading 101 blocks on /dev/rrz10c (RX23)...
Reading blocks [ 0 through 19 ]...
Reading blocks [ 20 through 39 ]...
Reading blocks [ 40 through 59 ]...
Reading blocks [ 60 through 79 ]...
Reading blocks [ 80 through 99 ]...
reassign lba logical-block
This command allows you to reassign a defective block on a disk device.
Since this command modifies the disk media, the full command name must
be entered to be recognized.
test
[controller| drive| memory| selftest]
This command performs tests on a controller by issuing send and receive
diagnostic commands or write buffer and read buffer commands for
memory testing to the selected device. If you issue the test command with
no arguments, the utility performs a self test, which is supported by most
controllers.
test memory
[ test-parameters][id buffer-id| mode buffer-mode
|offset
offset-value
]
This command verifies the controller memory by using the SCSI Read and
Write Buffer commands. Since most controllers accept only the Combined
SCSI/CAM Utility Program B–13