|
|
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>]
[-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonPara
meters>]
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 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-set-space-reservation-info
-------------- Example 1 --------------
C:\PS>Set-NaLunSpaceReserved /vol/vol2/lun101
Enable space reservation for this LUN.
BackingSnapshot :
Mapped : False
MultiprotocolType : image
Online : True
Path : /vol/vol2/lun101
ReadOnly : False
ShareState : read
Size : 2500853760
Uuid : d87e15a6-142a-11df-9caa-00a09806c227
-------------- 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
Mapped : False
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/lun2clone
ReadOnly : False
ShareState : none
Size : 21476206080
Uuid : a1676b66-1723-11df-9caa-00a09806c227
BackingSnapshot :
Mapped : False
MultiprotocolType : image
Online : True
Path : /vol/vol2/lun101
ReadOnly : False
ShareState : read
Size : 2500853760
Uuid : d87e15a6-142a-11df-9caa-00a09806c227
BackingSnapshot : /vol/vol2/.snapshot/{1670257f-602b-4cf8-ac8a-b94e21486c9
5}/
lun5
Mapped : True
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/{6e8dbad4-894b-413a-b9cc-3cbb4ae291a5}.rws
ReadOnly : False
ShareState : none
Size : 21476206080
Uuid : febcf734-2ffe-11de-88ac-00a09806c227
...
RELATED LINKS
Get-NaLun
Get-NaLunSpaceReserved
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|