Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rpr(1M) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

scn(1M)

rpr(1M)

NAME

rpr − repair parity information in an HP SCSI disk array LUN

SYNOPSIS

rpr -b block device_file

DESCRIPTION

rpr repairs the data parity information on a LUN in an HP 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 associated 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. 

The HP C2430 disk array is supported on Series 700 and 800 systems running HP-UX versions 9.0X and 10.0X. 

AUTHOR

rpr was developed by HP. 

SEE ALSO

scn(1M). 

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026