Microsoft Virtualization Discussions

New-NcClone error

yuensik

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

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)

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public