Network and Storage Protocols

Retrieve all volumes with CIFS on them


Hi guys,

I'm creating a little C# program to do the following:


  1. Alert when the ~snapshot is enabled on a CIFS volume


Obviously, I need to get a list of all volumes that have CIFS shares against them. Whats the best way of doing this? Currently, the only way I can see to do this is:


  1. List all CIFS shares
  2. Keep track of the volumes they reside on
  3. Parse out all unique volumes


Any better ways to do this e.g. seems very inefficient!

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