HP 3PAR OS 3.1.3 Command Line Interface Reference

createvlun
DESCRIPTION
The createvlun command creates a Virtual Logical Unit Number (VLUN) template that enables
export of a Virtual Volume (VV) as a SCSI VLUN to one or more host(s). A SCSI VLUN is created
when the current system state matches the rule established by the VLUN template.
There are four types of VLUN templates:
port presents - created when only the node:slot:port are specified. The VLUN is visible
to any initiator on the specified port.
host set - created when a host set is specified. The VLUN is visible to the initiators of any host
that is a member of the set.
host sees - created when the hostname is specified. The VLUN is visible to the initiators with
any of the host’s World Wide Names (WWNs).
matched set - created when both hostname and node:slot:port are specified. The VLUN
is visible to initiators with the host’s WWNs only on the specified port.
Conflicts between overlapping VLUN templates are resolved using prioritization, with port presents
templates having the lowest priority and matched set templates having the highest.
SYNTAX
The syntax for the createvlun command can be one of the following:
Port presents:
createvlun [options] <VV_name | VV_set> <LUN> <node:slot:port>
Host set:
createvlun [options] <VV_name | VV_set> <LUN> <host_set>
Host sees:
createvlun [options] <VV_name | VV_set> <LUN> <host_name>
Matched set:
createvlun [options] <VV_name | VV_set> <LUN> <node:slot:port>
<host_name>
createvlun [options] <VV_name | VV_set> <LUN> <host_name>
<node:slot:port>
AUTHORITY
Super, Edit
Any role that is granted the vlun_create right.
OPTIONS
f
Specifies that the operation is forced and that the VLUN is created even if the specified VV has
existing VLUNs. Unless the f option is specified, the command asks for confirmation if a VV is
already exported in a VLUN template.
cnt <number>
Specifies that a sequence of VLUNs, as specified by the number argument, are exported to the
same system port and host that is created. The number argument can be specified as any integer.
createvlun 141