Skip to main content
SnapCenter 6.0 cmdlets

Add-SdLunMap

Contributors

Maps your LUN to an igroup.

Syntax

Add-SdLunMap [-StorageSystem]  <String>  [-LunPath]  <String>  [-Igroup]  <String>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Maps your LUN to an igroup. You can use this on the storage system level, for Data ONTAP storage systems. If you are performing provisioning operations, use New-SdStorage.

Parameters

Name Description Required? Pipeline Input Default Value

StorageSystem

Specifies the storage system on which the igroup to which you want to map your LUN is located.

true

true (ByPropertyName)

LunPath

Specifies the LUN on your storage system.

true

true (ByPropertyName)

Igroup

Specifies the igroup to which you want to map your LUN.

true

true (ByPropertyName)

Session

Specifies the session ID from Open-SmConnection. For internal use only.

false

true (ByPropertyName)

Host

Specifies the name or IP address of the host on which you execute the operation. The default is your local machine.

false

true (ByPropertyName)

Examples

Example 1: Maping a LUN to an igroup on an ONTAP storage system

 Add-SdLunMap -StorageSystem svm1 -LunPath /vol/vol1/lun1 -Igroup “myTestIgroup"

This example syntax maps the LUN called lun1 to the igroup"myTestIgroup" on svm1.