Users Guide

Example 2: Deleting from a Collection
This example deletes the volume VolC from the collection.
# asmcli list collection --name daily-user-vols
==============================================
Collections
==============================================
Name: daily-user-vols
Mount point: /source/VolA
Mount point: /source/VolB
Mount point: /source/VolC
1 collection found.
#asmcli update collection --name daily-user-vols --delete /source/VolC
Successfully updated collection "daily-user-vols".
# asmcli list collection --name daily-user-vols
==============================================
Collections
==============================================
Name: daily-user-vols
Mount point: /source/VolA
Mount point: /source/VolB
1 collection found.
Deleting a Collection
Use the asmcli delete collection command to delete a collection by name. For information about collections, see About
Collections.
asmcli delete collection Command Syntax
The command syntax is as follows:
# asmcli delete collection
--name=collection-name
The following table describes the required command parameter.
Table 38. Delete Collection Command Required Option
Parameter Argument Description
--name collection-name Specifies the name of the collection.
Example: Deleting Collections
This example deletes the collection daily-user-vols and all its mount points.
# asmcli delete collection --name daily-user-vols
Successfully deleted collection "daily-user-vols"
96
Auto-Snapshot Manager Command Line Interface