ONTAP 9.13.1 commands

lun mapping delete

Unmap a LUN from an initiator group

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

Description

This command unmaps a LUN from an initiator group. After you use this command, the LUN is not visible to any of the initiators in the initiator group.

Parameters

-vserver <Vserver Name> - Vserver Name

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

{ -path <path> - LUN Path

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

| -volume <volume name> - Volume Name

Specifies the volume of the LUN you want to unmap.

-qtree <qtree name> - Qtree Name

Specifies the qtree of the LUN you want to unmap.

-lun <text> - LUN Name }

Specifies the name of the LUN you want to unmap.

-g, -igroup <text> - Igroup Name

Specifies the initiator group that you want to unmap the LUN from.

Examples

cluster1::> lun mapping delete -vserver vs1 -path /vol/vol1/lun1 -igroup ig1

Unmaps LUN at path /vol/vol1/lun1 from the initiator group ig1 on Vserver vs1.

Top of Page