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
View all Dell EqualLogic PS6210XS manuals
Add to My Manuals
Save this manual to your list of manuals |
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