Microsoft Virtualization Discussions

New-NcClone error

yuensik
3,166 Views

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: (:) [New-NcClone], ArgumentNull

   Exception

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

   K.Cmdlets.Clone.NewNcClone

any tip to add?

thanks in advance

1 REPLY 1

vinith
3,166 Views

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)

Public