|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaLunSpaceReserved
NAME
Set-NaLunSpaceReserved
SYNOPSIS
Sets the space reservation settings for the named LUN.
SYNTAX
Set-NaLunSpaceReserved [-Path] <String> [-Off] [-Controller <NaController>]
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Sets the space reservation settings for the named LUN.
PARAMETERS
-Path <String>
Path to the LUN for which the space reservations need to be set.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Off
Specify -Off to disable space reservation for this LUN. Without this pa
rameter, space reservation is enabled for this LUN.
Required? false
Position? named
Default value
Accept pipeline input? false
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-set-space-reservation-info
-------------- Example 1 --------------
C:\PS>Set-NaLunSpaceReserved /vol/vol2/lun101
Enable space reservation for this LUN.
BackingSnapshot :
BlockSize : 512
IsSpaceReservationEnabled : True
Mapped : False
MultiprotocolType : image
Online : True
Path : /vol/vol2/lun101
ReadOnly : False
SerialNumber : 123456abcdef
ShareState : read
Size : 2500853760
Uuid : d44cf834-180e-11df-9cab-00a09806c227
Comment :
-------------- Example 2 --------------
C:\PS>Get-NaLun /vol/vol2/* | Set-NaLunSpaceReserved -Off
Configure thin provisioning on all LUNs in volume 'vol2'.
BackingSnapshot : /vol/vol2/.snapshot/vol2snap/lun2
BlockSize : 512
IsSpaceReservationEnabled : False
Mapped : False
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/lun2clone
ReadOnly : False
SerialNumber : HnSolJYm1-k2
ShareState : none
Size : 21476206080
Uuid : 72421d9e-b6a7-11df-8ac9-00a09806c227
Comment :
BackingSnapshot : /vol/vol2/.snapshot/{1670257f-602b-4cf8-ac8a-b94
e21486c95}/lun5
BlockSize : 512
IsSpaceReservationEnabled : False
Mapped : True
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/{6e8dbad4-894b-413a-b9cc-3cbb4ae291a5}
.rws
ReadOnly : False
SerialNumber : HnSolJP0xmRN
ShareState : none
Size : 21476206080
Uuid : febcf734-2ffe-11de-88ac-00a09806c227
Comment :
BackingSnapshot :
BlockSize : 512
IsSpaceReservationEnabled : False
Mapped : False
MultiprotocolType : image
Online : True
Path : /vol/vol2/testqtree/testlun
ReadOnly : False
SerialNumber : HnSolJWudibu
ShareState : none
Size : 10737418240
Uuid : e234d2e4-6c0c-11df-b48f-00a09806c227
Comment :
...
RELATED LINKS
Get-NaLun
Get-NaLunSpaceReserved
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|