Skip to main content

lun mapping show

Contributors
Suggest changes

Lists the mappings between LUNs and initiator groups.

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

Description

This command lists the mappings between LUNs and initiator groups.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver Name

Selects the LUN maps for the Vserver that matches the parameter value.

{ [-path <path>] - LUN Path

Selects the LUN maps for the LUN with the path that matches the parameter value. Examples of correct LUN paths are /vol/vol1/lun1 and /vol/vol1/qtree1/lun1 .

| [-volume <volume name>] - Volume Name

Selects the LUN maps for the volumes that match the parameter value.

[-qtree <qtree name>] - Qtree Name

Selects the LUN maps for the queue trees that match the parameter value.

[-lun <text>] - LUN Name }

Selects the LUN maps for the LUNs with a name that matches the parameter value.

[-g, -igroup <text>] - Igroup Name

Selects the LUN maps for the igroup that matches the parameter value.

[-ostype <Initiator Group OS Type>] - Igroup OS Type

Selects the LUN maps for the initiator groups with the OS type that matches the parameter value.

[-protocol <protocol_enum>] - Igroup Protocol Type

Selects the LUN maps for initiator groups with a protocol that matches the parameter value. Possible values include FCP, iSCSI, or mixed.

[-lun-id <integer>] - LUN ID

Selects the LUN maps with a LUN ID that matches the parameter value.

[-portset <text>] - Portset Binding Igroup

Selects the LUN maps for initiator groups bound to the portset that matches the parameter value.

[-alua {true|false}] - ALUA

Selects the LUN maps with ALUA settings that match the parameter value.

[-n, -initiators <text>,…​] - Initiators

Selects the LUN maps for initiator groups containing the initiators that match the parameter value.

[-node <nodename>] - LUN Node

Selects the LUN maps for nodes that match the parameter value.

[-reporting-nodes <nodename>,…​] - Reporting Nodes

Selects the LUN maps that match the parameter value.

Examples

cluster1::> lun mapping show
Vserver    Path                                      Igroup   LUN ID  Protocol
---------- ----------------------------------------  -------  ------  --------
vs1        /vol/vol1/lun1                            igroup1      10  mixed
vs1        /vol/vol1/lun1                            igroup2       4  mixed
vs1        /vol/vol5/lun1                            igroup3       6  mixed
vs1        /vol/vol5/lun2                            igroup3       1  mixed
4 entries were displayed.

The example above lists all of the mappings between LUNs and initiator groups and the LUN ID for each mapping.