Microsoft Virtualization Discussions

how to resize node svm's root volume

AllenChang
1,322 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

 

 

 

 

3 REPLIES 3

Ontapforrum
1,294 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,263 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,245 Views

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

Public