CLI Guide

Parameter Description
target virtual disk, set to FALSE. To prevent writing
to the target virtual disk, set to TRUE.
copyType
Use this parameter to identify that a virtual disk
copy has a snapshot (legacy). If the virtual disk
copy has a snapshot (legacy), set this parameter to
online. If the virtual disk copy does not have a
snapshot (legacy), set this parameter to offline.
NOTE: When using this command, you can specify one or more of the parameters. You do not,
however, need to use all of the parameters.
Set Virtual Disk Mapping
Description
This command defines the logical unit number (LUN) mapping between a virtual disk a host or host
group. This command is applicable to virtual disks in either a disk group or disk pools.
NOTE: You cannot use this command for a snapshot virtual disk that is used in online virtual disk
copy
Syntax
To map a PiT snapshot to the host, use the following syntax:
create mapping virtualDisk="snapshotVirtualdiskName" logicalUnitNumber=LUN
host="hostName"
For mapping Legacy snapshot and any virtual disk:
set (virtualDisk ["virtualDiskName"] | virtualDisk <wwID> | accessVirtualDisk)
logicalUnitNumber=LUN
(host="hostName" |
hostGroup=("hostGroupName" | defaultGroup)
Parameters
Parameter Description
virtualDisk
The name of the specific virtual disk for which you
want to define mapping. Enclose the virtual disk
name in double quotation marks (" ") inside of
square brackets ([ ]).
The World Wide Identifier (WWID) of the virtual disk
for which you are setting properties. You can use
the WWID instead of the virtual disk name to
identify the virtual disk. Enclose the WWID in angle
brackets (< >).
accessVirtualDisk
The logical unit number for the virtual disk. The
logical unit number is the only property that you
can set for the virtual disk.
345