Microsoft Virtualization Discussions

Unable to extend volume size using powershell

NetApp1313
Set-NcVolSize :
===================================================================================
| This cmdlet must be directed to a data vserver. You are currently connected |
| to the cluster admin vserver. See the Toolkit web docs (Show-NcHelp) or online |
| help (Get-Help Connect-NcController -Examples) to learn more about directing |
| Toolkit cmdlets to a cluster or data vserver as required by Data ONTAP. |
===================================================================================
At line:1 char:1
+ Set-NcVolSize "vol_test" +1g
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (10.255.xx.xx:NcController) [Set-NcVolSize], Exception
+ FullyQualifiedErrorId : NcVserverCmdlet,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.SetNcVolSize
1 ACCEPTED SOLUTION

parisi

The error message spells out the problem here.

 

"This cmdlet must be directed to a data vserver. You are currently connected to the cluster admin vserver. "

 

You'd need to run this against a management LIF in the SVM with a SVM admin.

 

https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.onc-sm-help-900%2FGUID-0106C05F-2E55-4157-8F34-DF0F42560CE4.html

View solution in original post

1 REPLY 1

parisi

The error message spells out the problem here.

 

"This cmdlet must be directed to a data vserver. You are currently connected to the cluster admin vserver. "

 

You'd need to run this against a management LIF in the SVM with a SVM admin.

 

https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.onc-sm-help-900%2FGUID-0106C05F-2E55-4157-8F34-DF0F42560CE4.html

View solution in original post

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