HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
r
rpr(1M) rpr(1M)
NAME
rpr - repair parity information in anHP SCSI disk array LUN
SYNOPSIS
rpr -b block device_file
DESCRIPTION
rpr repairs the data parity information on a LUN in anHP SCSI disk array when the LUN is configured in a
data redundant RAID-level (RAID_1, RAID_3, or RAID_5). block is the logical address of the data block
corresponding to the parity block needing repair. block is specified using the -b parameter. device_file is
the name of the device file for the LUN.
Use scn (see scn(1M)) to identify data blocks that do not have correct parity blocks.
RETURN VALUE
rpr returns the following values:
0 Successful completion.
-1 Command failed (an error occurred).
DIAGNOSTICS AND ERRORS
Errors can originate from problems with:
rpr
SCSI (device level) communications
system calls
Error messages generated by rpr:
usage: rpr -b block> <special>
rpr
encountered an error in command syntax. Re-enter the command with all required arguments,
in the order shown.
rpr: LUN does not exist
The addressed LUN is not configured, and is not known to the array controller.
rpr: LUN # too big
The LUN number, derived from the device file name, is out of range.
rpr: Not a raw file
rpr
must be able to open the device file for raw access.
rpr: Transfer length error
The amount of data actually sent to or received from the device was not the expected amount.
rpr: Not an HP SCSI disk array
The device being addressed is not an HP SCSI disk array.
SCSI (device level) communication errors:
Sense data associated with the failed operation is printed.
Error messages generated by system calls:
rpr uses the following system calls:
malloc(), free(), stat(), open(), close(), fopen(), fclose(), read(), write()
,
unlink(), and ioctl().
Documentation for these HP-UX system calls contains information about the specific error conditions associ-
ated with each call.
rpr does not alter the value of errno. The interpretation of errno for printing
purposes is performed by the system utility
strerror().
EXAMPLES
To repair block 12345 of the LUN /dev/rdsk/c2t6d0 on a series 800:
rpr -b 12345 /dev/rdsk/c2t6d0
DEPENDENCIES
The HP C2425 and HP C2427 disk arrays are only supported on Series 700 systems running HP-UX version
9.0X.
Section 1M738 1 HP-UX Release 11i: December 2000
___
___