Microsoft Virtualization Discussions

how to resize node svm's root volume

AllenChang
1,612 Views

I change the data svm's root volume by these command

$rootaggrsize = Get-Ncaggr aggr0_cluster1_01 | Select-Object -ExpandProperty TotalSize

AllenChang_0-1662367446120.png

$rootvolsize = $rootaggrsize*0.93

AllenChang_1-1662367495689.png

Set-NcVolSize svm1_root -VserverContext svm1 -NewSize $rootvolsize

AllenChang_2-1662367838187.png

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

AllenChang_3-1662367996764.png

How can I use powershell to modify Node svm's root volume?

 

Thanks

 

 

 

 

4 REPLIES 4

Ontapforrum
1,584 Views

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.

 

AllenChang
1,553 Views

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

 

Ontapforrum
1,535 Views

Yes,  via ssh you can do it as you mentioned. I don't know via PowerShell.

Ashun
54 Views

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

Public