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

Examples: Creating Smart Copies, Example 2: Creating a Smart Copy and Mounting in a Single Operation

Page 66 highlights

Parameter --retry-wait --type Abbr. -w -t --user-name -u Argument n volume-type clone|replica| snapshot| thinclone user-name Description Specifies the number of seconds to wait before retrying a failed operation. Specifies the Smart Copy type to create. If omitted, creates snapshot. ASMCLI reports an error if an incorrect type is applied, such as thinclone for a volume that is not a template volume. Specifies a particular user identity, when multiple user names have been stored in the group access file. Examples: Creating Smart Copies This section includes the following examples: • Example 1: Creating a Smart Copy of a Given Mount Point • Example 2: Creating a Smart Copy and Mounting in a Single Operation • Example 3: Creating a Smart Copy with Multiple Volumes • Example 4: Retrying Creation of Smart Copy with Multiple Volumes • Example 5: Creating a Replica Clone Smart Copy • Example 6: Creating a Smart Copy When a Password Is Required • Example 7: Creating a Smart Copy Using Snapshot Borrowing • Example 8: Creating a Smart Copy That Exceeds Threshold Limits Example 1: Creating a Smart Copy of a Given Mount Point This example creates a Smart Copy of the mount point /source/VolA. The default Smart Copy type is snapshot. # asmcli create smart-copy --source /source/VolA The mount point has been frozen. Created snapshot vola-2017-01-05-14:13:50.220.1 on glengrp The mount point has been thawed. Successfully created a Smart Copy from 1 target. Example 2: Creating a Smart Copy and Mounting in a Single Operation In this example, a Smart Copy is created on a given mount point with the --destination option. # asmcli create smart-copy --source /source/VolC --destination /snapshots/VolC The mount point has been frozen. Created snapshot volc-2017-01-05-14:13:50.220.1 on glengrp The mount point has been thawed. Successfully created a Smart Copy from 1 target. Logging in 1 Smart Copy target. Logged in volc-2017-01-05-14:13:50.220.1 on glengrp Mounted /snapshots/VolC/source/VolC Successfully mounted 1 file system from 1 Smart Copy target. Successfully created 1 smart copy. Example 3: Creating a Smart Copy with Multiple Volumes In this example, multiple sets of mount points are specified for creating Smart Copies. The --retry-count option is specified to continue trying to connect to targets if they are temporarily unavailable. In this example, all targets are available. # asmcli create smart-copy --source /source/VolA /source/VolB /source/VolC \ --retry-count 2 All mount points (3) have been frozen. 66 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

Parameter
Abbr.
Argument
Description
--retry-wait
-w
n
Specifies the number of seconds to wait before retrying a failed
operation.
--type
-t
volume-type
clone|replica|
snapshot| thinclone
Specifies the Smart Copy type to create. If omitted, creates
snapshot
. ASMCLI reports an error if an incorrect type is
applied, such as
thinclone
for a volume that is not a
template volume.
--user-name
-u
user-name
Specifies a particular user identity, when multiple user names
have been stored in the group access file.
Examples: Creating Smart Copies
This section includes the following examples:
Example 1: Creating a Smart Copy of a Given Mount Point
Example 2: Creating a Smart Copy and Mounting in a Single Operation
Example 3: Creating a Smart Copy with Multiple Volumes
Example 4: Retrying Creation of Smart Copy with Multiple Volumes
Example 5: Creating a Replica Clone Smart Copy
Example 6: Creating a Smart Copy When a Password Is Required
Example 7: Creating a Smart Copy Using Snapshot Borrowing
Example 8: Creating a Smart Copy That Exceeds Threshold Limits
Example 1: Creating a Smart Copy of a Given Mount Point
This example creates a Smart Copy of the mount point
/source/VolA
. The default Smart Copy type is snapshot.
# asmcli create smart-copy --source /source/VolA
The mount point has been frozen.
Created snapshot vola-2017-01-05-14:13:50.220.1 on glengrp
The mount point has been thawed.
Successfully created a Smart Copy from 1 target.
Example 2: Creating a Smart Copy and Mounting in a Single Operation
In this example, a Smart Copy is created on a given mount point with the
--destination
option.
# asmcli create smart-copy --source /source/VolC --destination
/snapshots/VolC
The mount point has been frozen.
Created snapshot volc-2017-01-05-14:13:50.220.1 on glengrp
The mount point has been thawed.
Successfully created a Smart Copy from 1 target.
Logging in 1 Smart Copy target.
Logged in volc-2017-01-05-14:13:50.220.1 on glengrp
Mounted /snapshots/VolC/source/VolC
Successfully mounted 1 file system from 1 Smart Copy target.
Successfully created 1 smart copy.
Example 3: Creating a Smart Copy with Multiple Volumes
In this example, multiple sets of mount points are specified for creating Smart Copies. The
--retry-count
option is specified to
continue trying to connect to targets if they are temporarily unavailable. In this example, all targets are available.
# asmcli create smart-copy --source /source/VolA /source/VolB
/source/VolC \
--retry-count 2
All mount points (3) have been frozen.
66
Auto-Snapshot Manager Command Line Interface