Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Clear-NaLunPersistentReservation


NAME
Clear-NaLunPersistentReservation

SYNOPSIS
Clear the persistent reservation information for a given LUN.

SYNTAX
Clear-NaLunPersistentReservation [-Path] <String> [-Controller <NaController
>] [<CommonParameters>]


DESCRIPTION
Clear the persistent reservation information for a given LUN.


PARAMETERS
-Path <String>
Path of the LUN. The path should start with '/vol/'.

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
DataONTAP.Types.Lun.LunInfo


NOTES


Category: lun
API: lun-clear-persistent-reservation-info

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

C:\PS>Clear-NaLunPersistentReservation /vol/vol2/lun4


Clear persistent reservation info for LUN '/vol/vol2/lun4'.


BackingSnapshot :
BlockSize : 512
CloneBackingSnapshot :
DeviceId :
IsSpaceReservationEnabled : False
Mapped : False
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/lun4
ReadOnly : False
SerialNumber : HnSolJNdGgp4
ShareState : none
Size : 21632486400
SizeUsed : 90636288
Staging : False
Uuid : c16b15f0-f930-11dd-b803-00a09806c227
DeviceIdSpecified : False
Comment :



RELATED LINKS
Get-NaLunPersistentReservation







 Data ONTAP® PowerShell Toolkit