Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Get-NaLunOccupiedSize


NAME
Get-NaLunOccupiedSize

SYNOPSIS
Get the size occupied by the LUN in the active FS.

SYNTAX
Get-NaLunOccupiedSize [-Path] <String> [-Controller <NaController>] [<Common
Parameters>]


DESCRIPTION
Get the size (in bytes) occupied by the LUN in the active FS.


PARAMETERS
-Path <String>
Path of the LUN.

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
System.Int64


NOTES


Category: lun
API: lun-get-occupied-size

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

C:\PS>Get-NaLunOccupiedSize /vol/vol2/lun2


Get the number of bytes that LUN 'lun2' is consuming in the active file syst
em.


7332675584



RELATED LINKS
Get-NaLun







 Data ONTAP® PowerShell Toolkit