lun mapping show-initiator

Show the LUN mappings to a specific initiator

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

Description

The lun mapping show-initiator command lists the LUNs which are mapped to an initiator group which contains a specific initiator.

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 mappings for the vserver that you specify.
-initiator <text> - Initiator Name
Selects the LUN mappings for the initiator that you specify.
[-lun-id <integer>] - Logical Unit Number
Selects the LUN mappings with a LUN ID that you specify.
[-igroup <text>] - Igroup Name
Selects the LUN mappings for the initiator group that you specify.
[-path <path>] - LUN Path
Selects the LUN mappings for the LUN path that you specify.
[-node <nodename>] - LUN Node
Selects the LUN mappings for the LUNs which are being hosted on the node that you specify.
[-reporting-nodes <nodename>, ...] - Reporting Nodes
Selects the LUN mappings for the LUNs which have reporting nodes that you specify.
[-vserver-uuid <UUID>] - Vserver UUID
Selects the LUN mappings for the Vserver UUID that you specify.
[-igroup-uuid <UUID>] - Igroup UUID
Selects the LUN mappings for the initiator group UUID that you specify.
[-lun-uuid <UUID>] - LUN UUID
Selects the LUN mappings for the LUN UUID that you specify.

Examples

The following example displays the LUN mappings for initiator 20:10:0a:50:00:01:01:01 in Vserver vs1.

cluster1::> lun mapping show-initiator -vserver vs1 -initiator 20:10:0a:50:00:01:01:01
Vserver Initiator LUN ID Path                                IGroup
------- --------- ------ ----------------------------------- ----------------
vs1     20:10:0a:50:00:01:01:01
                       0 /vol/igroup_1_1_vol/lun1            igroup_1
                       2 /vol/igroup_1_1_vol/lun3            igroup_1
                       3 /vol/igroup_1_2_vol/lun1            igroup_1
                       5 /vol/igroup_1_2_vol/lun3            igroup_1
                       6 /vol/igroup_1_3_vol/lun1            igroup_1
                       8 /vol/igroup_1_3_vol/lun3            igroup_1
                       9 /vol/igroup_1_4_vol/lun1            igroup_1
                      11 /vol/igroup_1_4_vol/lun3            igroup_1
                      12 /vol/igroup_2_1_vol/lun1            igroup_2
                      14 /vol/igroup_2_1_vol/lun3            igroup_2
                      15 /vol/igroup_2_2_vol/lun1            igroup_2
                      17 /vol/igroup_2_2_vol/lun3            igroup_2
                      18 /vol/igroup_2_3_vol/lun1            igroup_2
                      20 /vol/igroup_2_3_vol/lun3            igroup_2
                      21 /vol/igroup_2_4_vol/lun1            igroup_2
                      23 /vol/igroup_2_4_vol/lun3            igroup_2
16 entries were displayed.