Community

Subscribe
Highlighted

New-NcClone error

hi,

this is chris.

I tried to create lun flexclone using New-NcClone ,but i got the following error.

the below is the command I did.

New-NcClone vol1 testlun testlunclone -SpaceReserved $false

the below is the error i got

New-NcClone :

: Controller parameter neither specified nor set in $global:Curre

ntNcController

+ New-NcClone

+ ~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (Smiley Happy [New-NcClone], ArgumentNull

   Exception

    + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.C.PowerShell.SD

   K.Cmdlets.Clone.NewNcClone

any tip to add?

thanks in advance

Re: New-NcClone error

Hello,  Before you run any set of cmdlets make sure that you have established a connection to the Controller. 

# Run the below cmdlet and enter in the credential details and try

Connect-NcController -Name 10.238.187.244 -credential (get-credential)