ONTAP Discussions

Cluster-wide files system reports

Doc_McJust
93 Views

My boss is requesting a report across all our attached storage for files larger than 4gb.    Including the complete path to the files.

 

I know that ONTAP allows you to see File System information for individual volumes.

 

Is there a report that I can generate from within Netapp that will allow me to generate cluster-wide file information?

3 REPLIES 3

AlexDawson
65 Views

The supported way is to write a script which uses REST to pull a list of SVMs and then pull a list of files per SVM.  If you enable filesystem analytics, you can use the REST API to download a list (see page 22 of this PDF - https://www.netapp.com/media/20707-tr-4867.pdf)

 

You could also use XCP in scan mode to output a list (https://library.netapp.com/ecm/ecm_download_file/ECMLP2875795)

 

.. but the easiest way is to unlock the diag user, login to systemshell and then "cd /clus", run "ls -lR" or whatever option you want and redirect it into a text file somewhere inside the heirarchy of /clus/svmname/volumename - Systemshell should not be used except where absolutely necessary. Be sure you understand how to run the commands listed, and redirect output to a text file and the potential consequences if it breaks. If you have any concerns, please use one of the other two methods.

Sanaman
56 Views

If you have AIQUM installed in your environment, you generate a report, filter the report for volumes >4GiB in size or whatever you wanted. See the attachment.

 

Good luck.

 

 

 

chenguanghui
21 Views

hello:

    You can try to create a custom report. The File System Utilization data model in the following article might be helpful to you.

https://docs.netapp.com/us-en/data-infrastructure-insights/reporting_creating_custom_reports.html#report-creation-process 

Public