HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
c
cfl(1M) cfl(1M)
NAME
cfl - configure a logical unit (LUN) on a SCSI disk array
SYNOPSIS
cfl [-L LUN_address][-a -c
list [,list][-i]] [-b block_size][-c list [
,list]] [-d][-f flag_word]
[
-k num_log_blocks][
-l sec_tenths][-n num_log_blocks][
-p list][
-r RAID_level]
[
-s num_log_blocks][
-t reg|sub][-z
num_log_blocks] device_file
DESCRIPTION
cfl sets configuration parameters, and changes the status of a
LUN on the HP SCSI disk array associated
with device_file.
NOTE:
newarray, a front-end program for
cfl, is recommended for doing array configuration (see
newarray(1M)).
Options
-L LUN_address
Specifies which SCSI unit address to affect.
-a -c list [,list ][ -i ]
list is a comma-separated drive list (
cXiY,cXiY,...) describing drives on SCSI channel X,
and
SCSI ID Y (where X and Y are decimal numbers). Multiple lists are delimited by space
characters.
Add a LUN to the set of LUNs known by the controller. If this option is used, the runstring
must also contain a value for the -c parameter, and can contain values for all other appli-
cable parameters except -d (the delete LUN option). If only the -c parameter is supplied,
a default RAID-level 0 configuration is created with the drives specified in the parameter
list. The user may thus specify all the LUN characteristics in one line; create a default
configuration and change a few of the parameters to desired values in one line, or create a
default configuration and iteratively change its parameters to the desired values. The -i
option formats the newly added LUN after configuration. If multiple LUNs are to be added
and configured, each LUN must be formatted before any other LUNs can be added and
configured.
-b block_size Set the logical block size of the LUN. block_size is specified in bytes.
-c list [ ,list2] device_file
Assign to the LUN a configuration table that describes which drives are associated with the
LUN and specifies the order each drive appears in a data stripe. One, or more tables can be
assigned to each LUN, depending on the RAID level. Each table can have a maximum of five
drives.
-d Delete the LUN from the set of LUNs known by the controller. This option cannot be used
simultaneously with the
-a option.
-f flag_word Assign the desired hexadecimal values, given in flag_word, to the array’s two
LUN flag
bytes. The default flag_word is hex
0072. User-changeable bits are in Mode Page 0x2b
byte 25 (the lsb): bit 4, which enables AEN polling when set; bit 5, which enables parity
verification when set, and bit 6, which enables writes with parity verification when set.
-k num_log_blocks
Set the reconstruction quantity in blocks. This represents the number of blocks recon-
structed in a single reconstruction command. Reconstruction commands are issued at an
adjustable interval until the LUN is reconstructed (see the -l option).
-l sec_tenths Set the reconstruction frequency, the interval between successive reconstruction com-
mands. It is expressed in tenths of a second.
-n num_log_blocks
Set the number of logical blocks in the LUN.
-p list Create the LUN’s disk bit map, which describes the drives associated with the LUN. Either
a configuration table or a disk bit map, but not both, is required to configure a LUN; use of
the configuration table is recommended.
-r raid_level Set the RAID level of the LUN; valid RAID levels are 0, 1, 3 and 5.
Section 1M−−126 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005