ONTAP Discussions

How to list shares inside the volume

balaji_chitiraivel
8,490 Views

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
8,481 Views

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
8,482 Views

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.

balaji_chitiraivel
8,439 Views

Thanks George

Public