application volume remove

Contributors

Remove a volume from an application

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

Description

This command removes a volume from an application. If the volume is the only member volume of an application component, the application component is deleted. If there are no more application components in the application, the application is deleted.

Note This command is provided to support downgrade and revert of Data ONTAP to versions prior to the support of applications. It should not be used for any other purpose.

Parameters

-vserver <vserver name> - Vserver

The Vserver of the volume to remove from the application.

-application <text> - Application

The name of the application from which to remove the volume.

-volume <volume name> - Volume

The volume to remove from the application.

Examples

cluster1::*> application volume remove -vserver vs1 -application app1 -volume vol1

The example above removes volume vol1 in Vserver vs1 from application app1. If this is the only volume in the application, the application is deleted.