Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4869

Script needed - Which CIFS shares are also exported to Linux?

$
0
0

We are in the process of upgrading a few hundred SVMs to VFilers to LDAP and part of the project I am being asked to gather a list for our Linux support group. They are wanting to gather a list of all CIFS share that ALSO are exported. I have beeing digging through things for a while and here is what I believe needs to be done. 

Cluster Mode

1) Gather All Namepsaces that do not have default export policy (will work for us as we never use default)

2) Gather list of all export policies

3) Gather list of all CIFS Shares

This shouldn't be to bad, but will be time consuming because it is over about 100 Cluster/7 Mode HA Pairs. 

Then, it is really working the data in Excel to determine overlaps. 

 

BUT. We do have OCUM and DFM running, along with WFA so I can connect to the MySQL Database and cross reference also, but this is where I am getting lost.

 

Just so that I am not re-creating the wheel here, does anyone have a script or MySQL select statement already made?


Viewing all articles
Browse latest Browse all 4869

Trending Articles