|
|
HP-UX Reference Volume 2 of 5 > ppscan(1M) |
|
NAMEpscan — scan an HP SCSI disk array LUN for parity consistency DESCRIPTIONpscan is a front end script to scn designed to be called during system bootup and shutdown. It stores information on the disk array used to indicate improper system shutdown. If the system was not properly shutdown, a parity scan is initiated when the system boots. The values of 0 (operating system booting), and 1 (operating system shutdown) are expected for system_state. device_file refers to the device file associated with the selected disk array. If multiple hosts (initiators) are connected to the disk array, the file /etc/hpC2400/pscan.initiators needs to be created. This file will contain an integer value from 1 to 8. If the file is not created, pscan will assume that only one host (initiator) is connected to the disk array. RETURN VALUEpscan returns the following values:
DIAGNOSTICS AND ERRORSErrors can originate from problems with:
Error messages generated by pscan:
SCSI (device level) communication errors:Sense data associated with the failed operation is printed. Error messages generated by system calls:pscan uses the following system calls:
Documentation for these HP-UX system calls contains information about the specific error conditions associated with each call. pscan does not alter the value of errno. The interpretation of errno for printing purposes is performed by the system utility strerror(). EXAMPLESTo call pscan on the LUN /dev/rdsk/c2t0d2 prior to a system shutdown on a series 800: pscan -s 1 /dev/rdsk/c2t0d2 To call pscan on the LUN /dev/rdsk/c2t0d2 during a system bootup on a series 700: pscan -s 0 /dev/rdsk/c2t0d2 |
|