Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 94

asmcli create collection Command Syntax, Example: Creating Collections, Listing Collections

Page 94 highlights

asmcli create collection Command Syntax The command syntax is as follows: # asmcli create collection --name collection-name --source mount-point1 [mount-point2...] The following table describes the required command parameters. Table 35. Create Collection Required Command Options Parameter --name Argument collection-name Description Specifies the name of the collection. --source mount-point Specifies a list of one or more mount points. Example: Creating Collections The following example shows how to use separate collections to save copies of the same volumes: # asmcli create collection --name=daily-user-vols yes--source=/source/VolA --source=/source/VolB --source=/source/VolC You could also specify the same command as follows: # asmcli create collection --name daily-user-vols --source /source/VolA /source/VolB /source/VolC The output specifies a successfully created collection of the specified name (for example, daily-user-vols). Use the asmcli list collection command to show the contents of the collection: # asmcli list collection --name daily-user-vols Name: Mount point: Mount point: Mount point: daily-user-vols /source/VolA /source/VolB /source/VolC Listing Collections Use the asmcli list collection command to list all collections or a specific collection by a name. For information about collections, see About Collections. asmcli list collection Command Syntax The command syntax is as follows: # asmcli list collection --name collection-name The following table describes the optional command parameter. Table 36. List Collection Optional Command Parameter Parameter --name Argument collection-name Description Specifies the name of the collection. 94 Auto-Snapshot Manager Command Line Interface

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127

asmcli create collection Command Syntax
The command syntax is as follows:
# asmcli create collection
--name
collection-name
--source
mount-point1
[
mount-point2
...]
The following table describes the required command parameters.
Table 35. Create Collection Required Command Options
Parameter
Argument
Description
--name
collection-name
Specifies the name of the collection.
--source
mount-point
Specifies a list of one or more mount points.
Example: Creating Collections
The following example shows how to use separate collections to save copies of the same volumes:
# asmcli create collection --name=daily-user-vols yes--source=/source/VolA
--source=/source/VolB --source=/source/VolC
You could also specify the same command as follows:
# asmcli create collection --name daily-user-vols --source /source/VolA
/source/VolB /source/VolC
The output specifies a successfully created collection of the specified name (for example,
daily-user-vols
). Use the
asmcli list
collection
command to show the contents of the collection:
# asmcli list collection --name daily-user-vols
Name:
daily-user-vols
Mount point:
/source/VolA
Mount point:
/source/VolB
Mount point:
/source/VolC
Listing Collections
Use the
asmcli list collection
command to list all collections or a specific collection by a name. For information about
collections, see
About Collections
.
asmcli list collection Command Syntax
The command syntax is as follows:
# asmcli list collection
--name
collection-name
The following table describes the optional command parameter.
Table 36. List Collection Optional Command Parameter
Parameter
Argument
Description
--name
collection-name
Specifies the name of the collection.
94
Auto-Snapshot Manager Command Line Interface