Users Guide

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