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> [-WarningAction <Actio
nPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParam
eters>]


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 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

-ParentSnapshot <String>
LUN path of the backing snapshot.

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

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


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-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
Mapped : False
MultiprotocolType : windows_gpt
Online : True
Path : /vol/vol2/lun2clone
ReadOnly : False
ShareState : none
Size : 21476206080
Uuid : a1676b66-1723-11df-9caa-00a09806c227



RELATED LINKS
Get-NaLun
Start-NaLunCloneSplit







 Data ONTAP® PowerShell Toolkit