FAS and V-Series Storage Systems Discussions

Script to create volume on NAS

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 Smiley Happy

1 REPLY 1

Re: Script to create volume on NAS

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

Forums