Index  |  Top  -  Up Data ONTAP 8.2

lun map

Maps a LUN to the initiators of an initiator group.

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command maps a LUN to all of the initiators in an initiator group (igroup). After you map the LUN, the LUN is visible to all initiators in the igroup.

Data ONTAP ensures that there are no LUN map conflicts whether the LUN is offline or online. A LUN map conflict is a mapping that would violate either of the following rules:

Note:

Parameters

-vserver <vserver name> - Vserver Name

Specifies the Vserver.

{  -path <path> - LUN Path

Specifies the path of the LUN that you want to map. Examples of correct LUN paths are /vol/vol1/lun1 and /vol/vol1/qtree1/lun1.

|  -volume <volume name> - Volume Name

Specifies the volume that contains the LUN you want to map.

   [-qtree <text>] - Qtree Name

Specifies the qtree that contains the LUN you want to map.

   -lun <text>  } - LUN Name

Specifies the LUN name that you want to map.

-igroup <text> - Initiator Group Name

Specifies the igroup that you want to map.

[-lun-id <integer>] - The LUN ID to assign for the mapping.

Specifies the LUN ID for the mapping. The LUN ID is specific to the mapping, not to the LUN itself. This is used by the initiators in the igroup as the Logical Unit Number for the initiator when accessing the storage.

Examples

cluster1::> lun map -vserver vs1 -path /vol/vol1/lun1 -igroup ig1 -lun-id 8

Maps a LUN at /vol/vol1/lun1 on Vserver vs1 to the igroup ig1 with LUN ID 8.


Index  |  Top  -  Up Data ONTAP 8.2