Dell EqualLogic PS6210X EqualLogic Host Integration Tools for Linux Version 1. - Page 95
Example: Listing Collections, Updating a Collection, asmcli update collection Command Syntax
View all Dell EqualLogic PS6210X manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
Example: Listing Collections This example specifies the name daily-user-vols and displays a collection containing three volumes. # asmcli list collection --name daily-user-vols Collections Name: Mount point: Mount point: Mount point: daily-user-vols /source/VolA /source/VolB /source/VolC 1 collection found. Updating a Collection Use the asmcli update collection command to modify a collection by adding to the collection, deleting from the collection, providing a new collection name, and providing new mount points. asmcli update collection Command Syntax The command syntax is as follows. # asmcli update collection --name collection-name | -n [--add mount-point1 [mount-point2...] | -a] [--delete mount-point1 [mount-point2...] | -x] [--new-name new-name | G] [--user-name user-name | -u] The following table describes the required and optional command parameters. Table 37. Update Collection Command Options Parameter Abbr. Argument Required Parameter --name -n collection-name Optional Parameters --add -a mount-point --delete -x mount-point --new-name -N new-name --source -s mount-point Description Specifies the name of the collection. Specifies a list of mount points to add to the collection. Specifies a list of mount points to remove from the collection. Specifies a new name for the collection. Specifies the list of mount points for volumes in the collection. Examples: Updating Collections This section provides examples of adding a volume to a collection and deleting a volume from a collection. Example 1: Adding to a Collection This example adds the volume VolC to the collection daily-user-vols. #asmcli update collection --name daily-user-vols --add /source/VolC Successfully updated collection "daily-user-vols". Auto-Snapshot Manager Command Line Interface 95