|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaLunClone
NAME
Get-NaLunClone
SYNOPSIS
Get all LUN clones contained in a given snapshot.
SYNTAX
Get-NaLunClone [-Volume] <String> [-Snapshot] <String> [-Controller <NaContr
oller>] [<CommonParameters>]
DESCRIPTION
Get all LUN clones contained in a given snapshot.
PARAMETERS
-Volume <String>
Name of the volume containing the snapshot.
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 (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
NetApp.Ontapi.Filer.Lun810.LunInfo
NOTES
Category: lun
API: lun-clone-list-info
-------------- Example 1 --------------
C:\PS>Get-NaLunClone -Volume vol1 -Snapshot hourly.0
Get all LUN clones contained in the snapshot "hourly.0" of "vol1".
TotalSize : 10742215680
Protocol : windows
Thin : True
BackingSnapshot :
BlockSize : 512
CloneBackingSnapshot :
Comment :
DeviceId : 0
IsSpaceReservationEnabled : False
Mapped : False
MultiprotocolType : windows
Online : True
Path : /vol/vol1/.snapshot/hourly.0/lun5
ReadOnly : True
SerialNumber :
ShareState : none
Size : 10742215680
SizeUsed : 0
Staging : False
Uuid :
DeviceIdSpecified : True
-------------- Example 2 --------------
C:\PS>Get-NaSnapshot vol1 | Get-NaLunClone
Get all LUN clones contained in snapshots on vol1.
Path TotalSize Protocol Online Mapp
ed Thin Comment
---- --------- -------- ------ ----
-- ---- -------
/vol/vol1/.snapshot/hourly.0/lun5 10.0 GB windows True Fals
e True
/vol/vol1/.snapshot/hourly.1/lun5 10.0 GB windows True Fals
e True
/vol/vol1/.snapshot/hourly.2/lun5 10.0 GB windows True Fals
e True
/vol/vol1/.snapshot/hourly.3/lun5 10.0 GB windows True Fals
e True
/vol/vol1/.snapshot/nightly.0/lun5 10.0 GB windows True Fals
e True
RELATED LINKS
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|