Enable File System Analytics

Contributors

To collect and display usage data such as capacity analytics, you must enable File System Analytics.

You can enable File System Analytics when you create a new volume or when you upgrade a system with volumes to ONTAP 9.8 or later. After upgrading, ensure that all upgrade processes have completed before enabling analytics.

Procedure

Depending on the size and contents of the volume, enabling analytics may take time while ONTAP processes existing data in the volume. System Manager displays progress and presents analytics data when complete. If you need more precise information about initialization progress, you can use the ONTAP CLI command volume analytics show.

You can enable File System Analytics with ONTAP System Manager, the ONTAP CLI, or the ONTAP REST API.

System Manager
In ONTAP 9.8 and 9.9.1 Beginning in ONTAP 9.10.1

1. Select Storage > Volumes.
2. Select the desired volume, then select Explorer.
3. Select Enable Analytics or Disable Analytics.

1. Select Storage > Volumes.
2. Select the desired volume. From the individual volume menu, select File System > Explorer.
3. Select Enable Analytics or Disable Analytics.

CLI
To enable File System Analytics with the CLI:
  1. Run the following command:
    volume analytics on -vserver svm_name -volume volume_name [-foreground {true|false}]
    By default, the command runs in the foreground; ONTAP displays progress and presents analytics data when complete. If you need more precise information, you can run the command in the background by using the -foreground false option and then use the volume analytics show command to display initialization progress in the CLI.

  2. After successfully enabling File System Analytics, use ONTAP System Manager or the ONTAP REST API to display the analytic data.