Skip to main content
A newer release of this product is available.

volume analytics on

Contributors
Suggest changes

Enable collection of file system analytics for a volume

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The volume analytics on command enables file system usage analytics on a volume.

Parameters

-vserver <vserver name> - Vserver Name

This specifies the Vserver in which the volume is located.

-volume <volume name> - Volume Name

This specifies the name of the volume on which file system usage analytics is being enabled.

[-foreground <true>] - Run Operation in the Foreground

If true, the command doesn't complete until the analytics-state of the volume is on . If false, the command returns immediately, and the analytics-state and scan-progress can be tracked using the volume analytics show command.

Examples

The following example enables file system usage analytics on a flexible volume named "flexvol" in Vserver "vs1":

cluster::*> volume analytics on -vserver vs1 -volume flexvol