HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

d
dcc(1M) dcc(1M)
attempts to obtain exclusive access to the disk array. If the disk array is already opened by another
process (for example, LVM the Logical Volume Manager), a ‘‘
device busy’’ error message is
returned by the driver. To eliminate the ‘‘
device busy’’ condition, determine what process has the
device open. In the case of LVM, it is necessary to deactivate the volume group containing the array
before configuring the array (see vgchange(1M)).
dcc: LUN does not exist
The addressed LUN is not known to the array controller.
dcc: LUN # too big
The LUN number, which is derived from the device special file name, is out of range.
dcc: Not a raw file
Utilities must be able to open the device file for raw access.
dcc: Not an HP SCSI disk array
The device is not an HP SCSI disk array.
dcc: Transfer length error
The amount of data actually sent to (or received from) the device was not the expected amount.
SCSI (device level) communication errors:
Sense data associated with the failed operation is printed.
Error messages generated by system calls:
dcc 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.
dcc does not alter the value of errno. The interpretation of
errno for printing
purposes is performed by the system utility
strerror() .
EXAMPLES
To display the status of read and write caching on all the drives of the disk array
/dev/rdsk/c2t2d0
on a Series 700:
dcc -d /dev/rdsk/c2t2d0
To enable write-immediate reporting on a list of drives on the disk array
/dev/rdsk/c2t2d0 on a
Series 800:
dcc -won c2i0,c1i0,c5i0,c4i1 /dev/rdsk/c2t2d0
To disable read caching and write-immediate reporting on the drives of the disk array
/dev/rdsk/c2t4d0 on a Series 700:
dcc -roff -woff /dev/rdsk/c2t4d0
To set the number of cache segments on the HP C2430 disk array /dev/rdsk/c2t2d0
to 4 on a Series
800:
dcc -s 4 /dev/rdsk/c2t2d0
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 runing HP-UX versions 9.0X and
10.0X.
AUTHOR
dcc was developed by HP.
HP-UX 11i Version 1: September 2005 2 Hewlett-Packard Company Section 1M161