Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Apropos / Subsearch:
optional field

 rpr(1M)							     rpr(1M)

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

      rpr -b block device_file

      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.

      rpr returns the following values:

	    0	Successful completion.
	   -1	Command failed (an error occurred).

      Errors can originate from problems with:

	   +  rpr

	   +  SCSI (device level) communications

	   +  system calls

    Error messages generated by rpr:
      usage: rpr -b block>&gt&gt&gt; <&lt&lt&lt;special>&gt&gt&gt;
	   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

      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.

 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000

 rpr(1M)							     rpr(1M)

      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().

      To repair block 12345 of the LUN /dev/rdsk/c2t6d0 on a series 800:

	   rpr -b 12345 /dev/rdsk/c2t6d0

      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.

      rpr was developed by HP.


 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000