application volume show

Contributors

(DEPRECATED)-Display application volumes

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

Description

Note This command is deprecated and may be removed in a future release of Data ONTAP. Use the REST interface instead.

This command displays the volumes that are part of an application.

Parameters

{ [-fields <fieldname>,…​]

Specifies fields that you want included in the output. You can use -fields ? to display the available fields.

| [-instance ] }

Specifies the display of all available fields for each selected volume.

[-vserver <vserver name>] - Vserver

Selects application volumes belonging to Vservers that match the parameter value.

[-application <text>] - Application

Selects application volumes that belong to an application that matches the parameter value.

[-volume <volume name>] - Volume

Selects application volumes whose name matches the parameter value.

[-size {<integer>[KB|MB|GB|TB|PB]}] - Volume Size

Selects application volumes whose size matches the parameter value.

[-state {online|restricted|offline|force-online|force-offline|mixed}] - Volume State

Selects application volumes whose state matches the parameter value.

[-application-component <text>] - Application Component

Selects application volumes that belong to application component that matches the parameter value.

Examples

cluster1::> application volume show
Vserver   Application  Volume       State
--------- ------------ ------------ -------
vs1       app1
                       vol1         online
                       vol2         online
                       vol3         online
          app2
                       vol4         online
                       vol5         online
                       vol6         online
vs2       app3
                       vol7         online
                       vol8         online
                       vol9         online
          app4
                       vol10        online
                       vol11        online
                       vol12        online
12 entries were displayed.

The example above displays the volumes of all applications in the cluster.

cluster1::> application volume show -vserver vs1 -application app1
Vserver   Application  Volume       State
--------- ------------ ------------ -------
vs1       app1
                       vol1         online
                       vol2         online
                       vol3         online
3 entries were displayed.

The example above displays the volumes of application app1 in Vserver vs1.