|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaLunMap
NAME
Remove-NaLunMap
SYNOPSIS
Reverses the effect of Add-NaLunMap on the specified LUN for the specified g
roup.
SYNTAX
Remove-NaLunMap [-Path] <String> [-InitiatorGroup] <String> [-Controller <Na
Controller>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Reverses the effect of Add-NaLunMap on the specified LUN for the specified g
roup.
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 unmap from.
Required? true
Position? 2
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
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
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
DataONTAP.Types.Lun.LunInfo
NOTES
Category: lun
API: lun-unmap
-------------- Example 1 --------------
C:\PS>Remove-NaLunMap /vol/vol2/lun2 viaRPC.iqn.1991-05.com.microsoft:x3550r
re7.rtprre.testdomain
Unmap LUN 'lun2' from the igroup on server 'x3550rre7'.
BackingSnapshot :
BlockSize : 512
IsSpaceReservationEnabled : False
Mapped : True
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/lun2
ReadOnly : False
SerialNumber : HnSolJNfoTZK
ShareState : none
Size : 21476206080
Uuid : 7dcc97f4-17ef-11df-9cab-00a09806c227
Comment :
RELATED LINKS
Add-NaLunMap
Get-NaLunMap
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|