There are several important guidelines you must follow when mapping LUNs to an igroup.
- You can map two different LUNs with the same LUN ID to two different igroups without having a conflict, provided that the igroups do not share any initiators or only one of the LUNs is online at a given time.
- Make sure the LUNs are online before mapping them to an igroup. Do not map LUNs that are in the offline state.
- You can map a LUN only once to an igroup or a specific initiator.
- You can add a single initiator to multiple igroups. but the initiator can be mapped to a LUN only once. You cannot map a LUN to multiple igroups that contain the same initiator.
- You cannot use the same LUN ID for two LUNs mapped to the same igroup.
- You cannot map a LUN to both FC and iSCSI igroups if ALUA is enabled on one of the igroups. Run the lun config_check command to determine if any such conflicts exist.