ONTAP Discussions

How to list shares inside the volume

balaji_chitiraivel

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.

1 ACCEPTED SOLUTION

georgevj

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

2 REPLIES 2

georgevj

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

Thanks George

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