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
________________________________________________________________
___ ___
s
spd(1M) spd(1M)
size and form of each argument.
spd: LUN does not exist
The addressed LUN is not configured, and thus is not known to the array controller.
spd: LUN # too big
The LUN number, which is derived from the device file name, is out of range.
spd: Not a raw file
Utilities must be able to open the device file for raw access.
spd: 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.
spd: Transfer length error
The amount of data actually sent to or received from the device was not the expected amount.
Error messages generated by system calls:
spd uses the following system calls:
malloc(), free(), stat(), open(), close(), read(), write(), and ioctl().
Documentation for these
HP-UX system calls contains information about the specific error conditions associ-
ated with each call.
spd does not alter the value of errno. The interpretation of
errno for printing
purposes is performed by the system utility
strerror().
EXAMPLES
The following command clears the FAILED state of the drive at ID
3 on channel 2 on the HP SCSI disk array
/dev/rdsk/c2t6d0 on a series 700. The
-M option must be selected to suppress warning messages.
The
scn operation must be performed immediately to ensure accurate data parity information.
spd -c -M c2i3 /dev/rdsk/c2t6d0
scn /dev/rdsk/c2t6d0
To add the drive at ID 3 on channel 2 to the set of drives the array controller knows about on the
HP SCSI
disk array
/dev/rdsk/c2t6d0
on a series 700:
spd -a c2i3 /dev/rdsk/c2t6d0
To delete the drive at ID 3 on channel 2 from the set of drives the array controller knows about on the
HP
SCSI
disk array /dev/rdsk/c2t6d0
on a series 800:
spd -d c2i3 /dev/rdsk/c2t6d0
To mark the drive at ID 3 on channel 2 as failed, thus rendering any redundant
RAID mode LUN (s) residing
on it as dead or degraded, on the
HP SCSI disk array /dev/rdsk/c2t6d0 on a series 700:
spd -f -M c2i3 /dev/rdsk/c2t6d0
To mark the drive at ID 3 on channel 2 as replaced, thus initiating the reconstruction of any redundant
RAID mode LUN (s) residing on it, on the HP SCSI disk array /dev/rdsk/c2t6d0
on a series 700:
spd -r b2a3 /dev/rdsk/c2t6d0
NOTE
Failing a drive on a RAID_0 LUN will leave it with an "optimal"
LUN status, even though the controller will no
longer access the failed drive and its data.
WARNING
Clearing a "failed" disk status might leave the array with inconsistent parity. This can lead to corrupted
data if the array
LUN ever operates in "degraded" state. Parity scan and repair must be performed immedi-
ately after clearing the "failed" state of a disk array.
DEPENDENCIES
The HP C2425 and HP C2427 disk arrays are only supported on Series 700 systems running HP-UX version
9.0X.
Section 1M−−806 − 2 − HP-UX Release 11i: December 2000
___
___