|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Add-NaLunMap
NAME
Add-NaLunMap
SYNOPSIS
Maps the LUN to all the initiators in the specified initiator group.
SYNTAX
Add-NaLunMap [-Path] <String> [-InitiatorGroup] <String> [-ID <Int32>] [-For
ce] [-Controller <NaController>] [-WarningAction <ActionPreference>] [-Warni
ngVariable <String>] [<CommonParameters>]
DESCRIPTION
Maps the LUN to all the initiators in the specified initiator group.
PARAMETERS
-Path <String>
Path of the LUN.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-InitiatorGroup <String>
Initiator group to map to the given LUN.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ID <Int32>
If the lun ID is not specified, the smallest number that can be used for
the various initiators in the group is automatically picked.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force
Forcibly map the lun, disabling mapping conflict checks with the cluster
partner. If not specified all conflict checks are performed.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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.LunInfo
NOTES
Category: lun
API: lun-map
-------------- Example 1 --------------
C:\PS>Add-NaLunMap /vol/vol2/lun2 viaRPC.iqn.1991-05.com.microsoft:x3550rre7
.rtprre.testdomain
Map lun 'lun2' to the igroup on server 'x3550rre7'.
BackingSnapshot :
Mapped : True
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/lun2
ReadOnly : False
ShareState : none
Size : 21476206080
Uuid : 533b7c84-0f63-11de-b807-00a09806c227
RELATED LINKS
Remove-NaLunMap
Get-NaLunMap
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|