The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

How to find if Aggr contains root volume or not in cDOT 8.2 ?

Adai

Which cDOt Powershell cmdlet contains the attribute that says wheathr the aggr is hosting the node root volume or not ?

Is it the Get-NcAggr or Get-NcVol ? and whats the attribute name ?

 

Looked at the both get-NcAggr and Get-NcVol not able to find the same.

 

Regards

adai

1 ACCEPTED SOLUTION

DREW_RUSSELL

Get-NcAggrOption <aggr_name> will provide you with the information you are looking for. Specifically, you are looking for the root field

 

(Get-NcAggrOption x_aggr0_01)

 

Get-NcAggrOption x_aggr0_01I'm not a PowerShell guy so there may be a better way to filter this but Get-NcAggrOption x_aggr0_01 | Select-Object -Property Name, Value | Select-Object -Index 17  will get you directly to the root field

 

 

Get-NcAggrOption x_aggr0_01 | Select-Object -Property Name, Value | Select-Object -Index 17

 

 

 

View solution in original post

4 REPLIES 4

syedb

Adai,

 

aggr-get-iter->aggr-raid-attributes->has-local-root

 

Use 'aggr-get-iter and look for 'has-local-root' attribute in ''aggr-raid-attributes".

 

Adai

Thanks Syed. Wanted to get the attributes via PowerShell. This really helps.

 

Regards

adai

DREW_RUSSELL

Get-NcAggrOption <aggr_name> will provide you with the information you are looking for. Specifically, you are looking for the root field

 

(Get-NcAggrOption x_aggr0_01)

 

Get-NcAggrOption x_aggr0_01I'm not a PowerShell guy so there may be a better way to filter this but Get-NcAggrOption x_aggr0_01 | Select-Object -Property Name, Value | Select-Object -Index 17  will get you directly to the root field

 

 

Get-NcAggrOption x_aggr0_01 | Select-Object -Property Name, Value | Select-Object -Index 17

 

 

 

View solution in original post

Adai

Thanks Drew that helps

 

Regards

adai

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