HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
c
cfl(1M) cfl(1M)
-s num_log_blocks
Set the number of blocks in a LUN
segment, the part of a data stripe residing on a single
disk.
-t reg | sub
Set the
LUN type, regular or sub-LUN.
A sub-LUN is a LUN that can share its physical
drive(s) with another
LUN; usually, its data resides on more than one drive. Configurations
involving data striping or mirroring should use sub-
LUNs.
-z num_log_blocks
Set the number of blocks in the first segment of the
LUN.
RETURN VALUE
cfl returns the following values:
0 Successful completion.
-1 Command failed (an error occurred).
DIAGNOSTICS AND ERRORS
Errors can originate from problems with:
• cfl
• SCSI (device level) communications
• system calls
All error information is printed to stderr.
Error messages generated by cfl:
usage: cfl -L <LUN_addr> -a <-c ...> [-i] <special> add LUN
cfl -L <LUN_addr> -b <n> <special> set logical block size
cfl -L <LUN_addr> -c <<cXiY,... [cXiY,...]> | none> <special> build
config table(s)
cfl -L <LUN_addr> -d <special> delete LUN
cfl -L <LUN_addr> -f <n> <special> set LUN flags
cfl -L <LUN_addr> -k <n> <special> set reconstruction amt in
blocks
cfl -L <LUN_addr> -l <n> <special> set reconstruction frequency
cfl -L <LUN_addr> -n <n> <special> set number of blocks in LUN
cfl -L <LUN_addr> -p <cXiY,...> <special> build disk bit map
cfl -L <LUN_addr> -r <n> <special> set RAID level
cfl -L <LUN_addr> -s <n> <special> set segment size in blocks
cfl -L <LUN_addr> -t <reg | sub> <special> set LUN type
cfl -L <LUN_addr> -z <n> <special> set segment 0 size in blocks
An error in command syntax has occurred. No valid tags were present, or an illegal tag was encountered.
Re-enter the command with all required arguments. If a syntax error occurs in a runstring with a
legal tag, only the template for that tag will be displayed.
cfl: Arg incompatible with other
One of the arguments is incompatible with another, for example, when the -a (add LUN) and -d
(delete LUN) are both on the command line.
cfl: Arg out of range
One of the arguments is larger than its allowed maximum value (or smaller than its allowed minimum
value), or is incorrect in form. Check the size, and form of each argument and make appropriate
corrections.
cfl: device busy
To ensure that cfl does not modify a disk array that is being used by another process, cfl
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)).
cfl: LUN does not exist
The addressed LUN is not known to the array controller. Only the -a option can operate on an
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 1M−−127