ONTAP Discussions

How to list shares inside the volume

Hi All,


Is there any command to list the shares inside the volume?


We have command to list the luns inside the volume likewise any commands to list the shares ? Please advise.


Re: How to list shares inside the volume

I Dont see a straight forward command to do this, however, you may be able to do this by filtering the output of "cifs shares" command from a Linux workstation , like this:

# grep "/vol/volname" <output_of_cifs_shares>

If you are familiar with programming, you could also use the NetApp SDK to create your own program to do this.

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Cannot find the answer you need? No need to open a support case - just CHAT and we’ll handle it for you.

View solution in original post

Re: How to list shares inside the volume

Thanks George

Cloud Volumes ONTAP
Review Banner
All Community Forums