|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NaLunClone
NAME
New-NaLunClone
SYNOPSIS
Create a LUN clone.
SYNTAX
New-NaLunClone [-ClonePath] <String> [-ParentPath] <String> [-Unreserved] [-
Controller <NaController>] [-ParentSnapshot] <String> [<CommonParameters>]
DESCRIPTION
Create a LUN clone.
PARAMETERS
-ClonePath <String>
Path of the LUN clone.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ParentPath <String>
Path of original LUN.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Unreserved
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
-ParentSnapshot <String>
LUN path of the backing snapshot.
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
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-create-clone
-------------- Example 1 --------------
C:\PS>New-NaLunClone /vol/vol2/lun2clone /vol/vol2/lun2 vol2snap
Create a clone of LUN 'lun2' using snapshot 'vol2snap'.
BackingSnapshot : /vol/vol2/.snapshot/vol2snap/lun2
BlockSize : 512
IsSpaceReservationEnabled : True
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 :
RELATED LINKS
Get-NaLun
Start-NaLunCloneSplit
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|