CLI Guide

help
Description Shows brief help for all available commands or full help for a specific command. This help topic also provides
tips for using command shortcuts.
Minimum role monitor
Syntax To view brief descriptions of all commands that are available to the user role you logged in as, enter:
help
To view help for a command name, enter:
help command-name
To view information about the syntax for specifying parameters, disks, and so forth, enter:
help syntax
To view the information shown in this topic and in Command completion, editing, and history, enter:
help help
Examples Show brief help for all available commands:
# help
Show full help for the show cli-parameters command:
# help show cli-parameters
map volume
Description
Maps specified volumes using settings that override the volumes’ default mapping.
When a volume is created, if no mapping settings are specified the volume is not mapped. Otherwise, those
settings become its default mapping, which specifies the controller host ports and access level that all
connected initiators have to the volume, and the LUN presented to all initiators to identify the volume. The
default mapping’s LUN is known as the volume’s default LUN.
The map volume command creates mappings with different settings for different initiators. Optionally, you
can specify the LUN, ports, and access level for a mapping. A mapping can make a volume accessible to
initiators, or inaccessible to initiators (known as masking). For example, assume a volume’s default mapping
allows read-only access using LUN 5. You can give one initiator read-write access using LUN 6, and you can
give a second initiator no access to the volume.
CAUTION: Using a default mapping for a volume will allow multiple hosts to access the volume.
To avoid multiple hosts mounting the volume and causing corruption, the hosts must be
cooperatively managed, such as by using cluster software.
NOTE:
You cannot map a replication set’s secondary volume. Create a snapshot of the secondary
volume or enable replication snapshot history and use the snapshot for mapping and
accessing data.
When mapping a volume to an initiator using the Linux ext3 file system, specify read-write
access. Otherwise, the file system will be unable to mount/present/map the volume and
will report an error such as “unknown partition table.”
Minimum role manage
Syntax
map volume
volumes|volume-groups
[access read-write|rw|read-only|ro|no-access]
[host hosts]
82 Alphabetical list of commands