HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
c
cfl(1M) cfl(1M)
unconfigured LUN. The -d
option ignores references unconfigured LUNs (and does nothing with
them).
cfl: LUN # too big
The LUN number, which is derived from the device special file name, is out of range.
cfl: Multiple args of same type
An argument occurs more than once on the command line.
cfl: Not a disk array
The device being addressed did not identify itself as a
SCSI disk array product that is supported by
cfl.
cfl: Not a raw file
cfl
must be able to open the device file for raw access (the character device file).
cfl: 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:
cfl 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.
cfl does not alter the value of errno. The interpretation of
errno for printing
purposes is performed by the system utility
strerror() .
EXAMPLES
To delete LUN 5 associated with /dev/rdsk/c2t0d0
:
cfl -L 5 -d /dev/rdsk/c2t0d0
To add the LUN 0 associated with /dev/rdsk/c2t0d0
, which will have the following characteristics:
logical block size 512 bytes,
RAID level of 5, auto reconstruct disabled, reconstruction amount of 64 blocks,
reconstruction frequency of .2 seconds, segment size of 64 blocks, type sub-
LUN, segment zero size of 1, and
drives with
SCSI ID 1 on channels 1 through 5, to be striped in the channel order 3, 5, 1, 2 and 4:
cfl -L 0 -a -b 512 -r 5 -f 0072 -k 64 -l 2 -n 123456 -s 64
-t sub -z 1 -c c3i1,c5i1,c1i1,c2i1,c4i1 /dev/rdsk/c2t0d0
WARNING
Changing any configuration parameter except the reconstruction frequency and reconstruction quantity
puts the affected LUN in an unusable ("dead") state. You must reformat the
LUN before it can be used with
the new configuration values. Formatting a
LUN destroys all of its user data.
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 running HP-UX versions 9.0X and
10.0X.
AUTHOR
cfl was developed by HP.
SEE ALSO
newarray(1M), arraytab(4), vgchange(1M).
Section 1M−−128 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005