Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaLunSnapUsage


NAME
Get-NaLunSnapUsage

SYNOPSIS
Lists all LUNs backed by data in the specified snapshot.

SYNTAX
Get-NaLunSnapUsage [-Volume] <String> [-Snapshot] <String> [-Controller <NaC
ontroller>] [-WarningAction <ActionPreference>] [-WarningVariable <String>]
[<CommonParameters>]


DESCRIPTION
Lists all LUNs backed by data in the specified snapshot. It also lists the c
orresponding snapshots in which these LUNs exist.


PARAMETERS
-Volume <String>
Name of the volume.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Snapshot <String>
Name of the snapshot.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
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.LunSnapUsageLunInfo


NOTES


Category: lun
API: lun-snap-usage-list-info

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

C:\PS>Get-NaLunSnapUsage vol10 "{1670257f-602b-4cf8-ac8a-b94e21486c95}" | fl


Get the list of LUNs backed by data in the specified snapshot.


BackingStore : /vol/vol10/.snapshot/{1670257f-602b-4cf8-ac8a-b94e21486c95}/l
un5
Path : /vol/vol10/{6e8dbad4-894b-413a-b9cc-3cbb4ae291a5}.rws
Snapshot : Active

BackingStore : /vol/vol10/.snapshot/{1670257f-602b-4cf8-ac8a-b94e21486c95}/l
un5
Path : /vol/vol10/.snapshot/clone_vol2clone.2/{6e8dbad4-894b-413a-b9
cc-
3cbb4ae291a5}.rws
Snapshot : clone_vol2clone.2



RELATED LINKS
Get-NaLun







 Data ONTAP® PowerShell Toolkit