Skip to main content

lun igroup bind

Contributors
Suggest changes

Bind an existing initiator group to a given portset

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

Description

This command binds an initiator group to a portset so the host knows which LIFs or TPGs to access. When you bind a portset to an igroup, the host knows which iSCSI or FCP LIF to access. If you do not bind an igroup to a portset, and you map a LUN to the igroup, then the initiators in the igroup can access the LUN on any port on the Vserver.

The initiator group cannot be bound to another portset when you use this command. If you attempt to bind a portset to an initiator group that is already bound to an existing portset, the command returns an error. You can only bind an initiator group to one portset at a time.

If the initiator group is bound, use the lun igroup unbind command to unbind the initiator group from the portset. After the initiator group is unbound, you can bind it to another portset.

You can only bind an initiator group to a non-empty portset.

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-igroup <text> - Igroup Name

Specifies the initiator group that you want to bind a portset to.

-portset <text> - Portset Binding Igroup

Specifies the portset name that you want to bind an initiator group to.

Examples

cluster1::> lun igroup bind -vserver vs1 -igroup ig1 -portset-name ps1

Binds igroup ig1 to portset ps1.