Switch to SpeakEasy.net DSL

The Modular Manual Browser

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

 scn(1M)							     scn(1M)

      scn - scan an HP SCSI disk array LUN for parity consistency

      scn -i number_of_initiators device_file

      scn scans the disks of the LUN in an HP SCSI disk array identified by
      the character device file device_file.  The parity information for any
      block reporting inconsistent parity is corrected by an immediate call
      to rpr.

      scn returns the following values:

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

      Errors can originate from problems with:

	   +  scn

	   +  SCSI (device level) communications

	   +  system calls

    Error messages generated by scn:
      usage: scn -i <&lt&lt&lt;num initiators>&gt&gt&gt; <&lt&lt&lt;special>&gt&gt&gt;
	   scn encountered an error in command syntax.	Enter the command
	   again with all required arguments, in the order shown.

      scn: LUN # too big
	   The LUN number, derived from the device file name, is out of

      scn: Not a raw file
	   Utilities must be able to open the device file for raw access.
	   That is, you must specify a character device file rather than a
	   block device file.

      scn: LUN does not exist
	   The addressed LUN is not configured, and is not known to the
	   array controller.

      scn: 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.

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

 scn(1M)							     scn(1M)

    Error messages generated by system calls:
      scn uses the following system calls:

	   malloc(), free(), stat(), open(), close(), fopen(), fclose(),
	   read(), write(), and ioctl().

      Documentation for these HP-UX system calls contains information about
      the specific error conditions associated with each call.	scn does not
      alter the value of errno.	 The interpretation of errno for printing
      purposes is performed by the system utility strerror().

      To scan the LUN at /dev/rdsk/c2t0d0 on a Series 800 computer with two
      hosts (initiators) attached:

	   scn -i 2 /dev/rdsk/c2t0d0

      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.

      scn was developed by HP.


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