FAS and V-Series Storage Systems Discussions

Script to create volume on NAS

mpileye

Hello, 

 

I'm trying to automate NetApp volume creation. 

For it I use Powershell Dataontap toolkit (4.6). 

Everythings work except setting volume option maxdirsize.

When I try through SSH with command vol options <vol_name> maxdirsize XXXXXX it ask me for confirmation.

When I try through PS with command Set-NaVolOption -Name <vol_name> -Key maxdirsize -Value XXXXXX it make several minute before crash...

 

Is there a way to : 

- Disable confirmation with SSH command ?

or

- Make powershell command works ? 

 

My environnement is : 

FAS8020 in NetApp Release 8.2.3P6 7-Mode

 

Thanks 🙂

1 REPLY 1

AlexSun0302

-confirm:$false, try it, in the powershell

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