Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaLunMap


NAME
Get-NaLunMap

SYNOPSIS
Returns a list of initiator groups and their members (the initiators) mapped
to the given LUN.

SYNTAX
Get-NaLunMap [-Path] <String> [-Controller <NaController>] [<CommonParameter
s>]


DESCRIPTION
Returns a list of initiator groups and their members (the initiators) mapped
to the given LUN.


PARAMETERS
-Path <String>
LUN for which the initiator group list is requested.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Lun.InitiatorGroupInfo


NOTES


Category: lun
API: lun-map-list-info

-------------- Example 1 --------------

C:\PS>Get-NaLunMap /vol/vol2/lun2


Get the initiators mapped to lun 'lun2'.


InitiatorGroupName : viaRPC.iqn.1991-05.com.microsoft:x3550rre8.r
tprre.testdomain
InitiatorGroupType : iscsi
Initiators : {iqn.1991-05.com.microsoft:x3550rre8.rtprre.
testdomain}
InitiatorGroupOsType : windows
InitiatorGroupPortsetName :
InitiatorGroupThrottleBorrow : False
InitiatorGroupThrottleReserve : 0
InitiatorGroupUsePartner :
InitiatorGroupAluaEnabled : False
InitiatorGroupVsaEnabled : False
LunId : 2

InitiatorGroupName : viaRPC.iqn.1991-05.com.microsoft:x3550rre7.r
tprre.testdomain
InitiatorGroupType : iscsi
Initiators : {iqn.1991-05.com.microsoft:x3550rre7.rtprre.
testdomain}
InitiatorGroupOsType : windows
InitiatorGroupPortsetName :
InitiatorGroupThrottleBorrow : False
InitiatorGroupThrottleReserve : 0
InitiatorGroupUsePartner :
InitiatorGroupAluaEnabled : False
InitiatorGroupVsaEnabled : False
LunId : 0



RELATED LINKS
Get-NaLunMapByInitiator







 Data ONTAP® PowerShell Toolkit