NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

How to show unprotected volumes in CLI

BEST
3,649 Views

Am trying to check for unprotected volumes from command Line Interface and also a count of the volumes. 

The reason being that we want to prevent data loss as often times we experience volumes created without being protected.

Kindly provide a solution.

 

Many thanks 

 

1 ACCEPTED SOLUTION

Ontapforrum
3,578 Views

I always use AIQM (Unified Manager) to see the unprotected volumes, it's much convenient to be honest and you could also download the data.

Viewing volume protection status (netapp.com)

 

Using CLI, I don't know if there is one single command. I see there is a field 'vserver-dr-protection' but I guess that applies to volumes that are SVM-DR protected.

 

You can try this workaround:
1)::> vol show -type rw = All volumes
2)::> vol show -type DP = Only protected volumes

Put this into notepad++, You can probably filter the 'type' field in excel and get the list of volumes that are unprotected.

View solution in original post

1 REPLY 1

Ontapforrum
3,579 Views

I always use AIQM (Unified Manager) to see the unprotected volumes, it's much convenient to be honest and you could also download the data.

Viewing volume protection status (netapp.com)

 

Using CLI, I don't know if there is one single command. I see there is a field 'vserver-dr-protection' but I guess that applies to volumes that are SVM-DR protected.

 

You can try this workaround:
1)::> vol show -type rw = All volumes
2)::> vol show -type DP = Only protected volumes

Put this into notepad++, You can probably filter the 'type' field in excel and get the list of volumes that are unprotected.

Public