|HP-UX Reference > F
HP-UX 11i Version 3: February 2007
format — format an HP SCSI disk array LUN
format formats one LUN of the HP SCSI disk array associated with device file, device_file. The format will usually be a soft or zeroing format, in which the controller writes zeroes to the data area and parity area, if any, of the LUN.
NOTE: The above should always be true of a sub-LUN, but the controller might decide, based on certain conditions, to do a full format of a regular LUN, which consists of sending a mode select and a media initialization command to the physical drive(s) in question, followed by zeroing the data and parity area, if any. The conditions which will cause a full format to be done are as follows:
DIAGNOSTICS AND ERRORS
Errors can originate from problems with:
Error messages generated by format:
SCSI (device level) communication errors:
Sense data associated with the failed operation is printed.
Error messages generated by system calls:
format uses the following system calls:
Documentation for these HP-UX system calls contains information about the specific error conditions associated with each call. format does not alter the value of errno. The interpretation of errno for printing purposes is performed by the system utility strerror().
To format the HP SCSI disk array LUN /dev/rdsk/c2t0d0 on a Series 800:
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.