Add unit – HP Array Controller HSG V8.7 Software User Manual
Page 299

CLI Commands
B–27
ADD UNIT
Creates a logical unit from a device, container, or partition. The
controller maps all requests from the host to the logical-unit number as
requests to the container specified in the ADD UNIT command.
If you add a newly-created storageset or disk to your subsystem, you
must initialize it before it can be added as a logical unit. If you are
adding a storageset or disk that has data on it that you want to maintain,
do not initialize it; it will be added as logical unit.
Syntax
ADD UNIT unit-number container-name
Parameters
unit-number
Assigns a number to the unit being created from a device, container, or
partition in the subsystem. The host uses this number to indicate the
source or target for every I/O request it sends to the controller. The
unit-number is a host-addressable LUN. The unit-number is assigned to
one of the host ports.
Unit numbers are 0-99 and are prefixed by one of the following:
D—assigns units to Port 1
D1—assigns units to Port 2
Adding unit D00 creates a logical unit and presents it as D00 to the host
on port 1. Adding unit D100 creates a logical unit and presents it as
D00 to the host on port 2. Units must be on a single port. Do not split
partitioned units across ports.
The LUN number a host connection assigns to a LUN is a function of
the UNIT_OFFSET qualifier in the ADD (or SET) connections
command: LUN number = unit number - offset
If no value is specified for the UNIT_OFFSET qualifier in the ADD (or
SET) CONNECTIONS command, then host connections on controller
port 1 have an offset of 0 and host connections on controller port 2 have
an offset of 100. These are the default offset values.