Chapter 3 Configuration Settings and Display
3.5 Host Interface Management > create lun-group
ETERNUS CLI User’s Guide
Copyright 2015 FUJITSU LIMITED P2X0-1030-09ENZ0
261
create lun-group
This command creates a LUN group. The maximum number of available groups depends on the number of
available host interface ports and the model type. Usually a LUN can be assigned a value from 0 – 255. Note
that this does not apply in the following environments:
• HP-UX host environment
From 0 – 1023 can be assigned. The resource combines two LUN groups.
• BS2000 environment
From 0 – 4095 can be assigned. The resource combines eight LUN groups.
■ Syntax
■ Parameter
■ Example(s)
create lun-group -name
name
{-volume-number
volume_numbers
| -volume-name
volume_names
} -lun
luns
-name This parameter specifies a name of the LUN group. Only one name can be specified at the
same time. For details, refer to "1.2.4 Alias Name Syntax" (page 20)
.
-volume-number
or
-volume-name
This parameter specifies the volume identifiers to associate volumes with host LUNs. One or
more parameters can be specified at the same time. For details, refer to "1.2.9 Volume Syntax"
(page 22). If two or more LUNs are specified, these parameters must be specified in the same
order.
Example:
-volume-number 10-12 -lun 1-3
-> The volume #10 and LUN 1 are pairs.
-> The volume #11 and LUN 2 are pairs.
-> The volume #12 and LUN 3 are pairs.
-volume-name v1,v2 -lun 1-2
-> The volume named "v1" and LUN 1 are pairs.
-> The volume named "v2" and LUN 2 are pairs.
-lun This parameter specifies the host LUNs to associate volumes with. Two or more parameters can
be specified by separating them with a comma, a hyphen, or both. If two or more volumes are
specified, these parameters must be specified in the same order.
Example: -lun 0,1 -lun 0-10 -lun 0,1-10
The following example creates the LUN group named "AG001". It will associate volume #8 with LUN #10:
CLI> create lun-group -name AG001 -volume-number 8 -lun 10