Skip to main content

lun igroup remove

Contributors
Suggest changes

Remove initiators from an initiator group

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

Description

This command removes an initiator from an initiator group. You can only remove an initiator if no existing LUN maps are defined for that initiator group. You must unmap the LUNs from the initiator group with the lun unmap command before you can remove initiators from the initiator group.

You can use the force option to remove an initiator and associated LUN maps.

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-igroup <text> - Igroup Name

Specifies the initiator group from which to remove an initiator.

[-initiator <text>,…​] - Initiators

Specifies the initiator name to remove. Use the WWPN, IQN or the alias of the initiator.

[-f, -force <true>] - Force

Forcibly removes an initiator and any associated LUN maps.

[-child-igroups <text>,…​] - Child Igroups

Specifies the child initiator groups to remove.

Examples

cluster1::> lun igroup remove -vserver vs1 -igroup ig1 -initiator iqn.1992-08.com.mv.mvinitiator

Removes the initiator iqn.1992-08.com.mv.mvinitiator from Vserver vs1 and initiator group ig1.