Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
I change the data svm's root volume by these command
$rootaggrsize = Get-Ncaggr aggr0_cluster1_01 | Select-Object -ExpandProperty TotalSize
$rootvolsize = $rootaggrsize*0.93
Set-NcVolSize svm1_root -VserverContext svm1 -NewSize $rootvolsize
The data svm's root volume is been resize
But when I use the same command in the Node svm's root volume,
It show me error
Set-NcVolSize vol0 -VserverContext cluster1-01 -NewSize $rootvolsize
How can I use powershell to modify Node svm's root volume?
Thanks
I think you mean 'Node Root Volume' [root aggregate contains the root volume], that contains /mroot ?? Frankly have never used ps to resize vol0 and I don't know if that works, at node level. I will be curious to know though.
I can use ssh login the node console,
and use node console command to modify Node Root Volume
vol size vol0 91036092k
the command change the Node Root Volume size become 86GB
So I wan to know how to change Node Root Volume size
Yes, via ssh you can do it as you mentioned. I don't know via PowerShell.
hi,
Maybe a little late.
I don't know what version of ontap and PSTK you run. In my version (ontap and PSTK are both 9.13), Set-NcVolSize can modify the vol size of data vserver, but cannot modify the vol size of admin vserver. Other versions I think are the same, you can change the vol0 size in ontap CLI