Users Guide

Example 3: Status of Smart Copy After Recovery
The following example shows the status of the Smart Copies after one clone has been recovered and one clone remains in the volume
recovery bin.
# asmcli list smart-copy --type clone --check-status -vv
Logged into PS Series group 192.x.x.xx (earth39-grp) as username grpadmin (GroupAdmin)
========================================================
Smart Copies
========================================================
Source: mysystem.equallogic.com : /mnt/ns-gl1 /mnt/ns-gl2
Clone: 18-May-2017 18:47:38.101719
ObjectId: d-ae90fe-d14693ed0-4b94835698ac308b
Directory: /tmp/asm3/asm-le-ns.equallogic.com/source-e-86ca5b-
e4f2bf9ea-3660dd7d9ae03f4b/
File: .20170518-224738.101719-d-ae90fe-d14693ed0-4b94835698ac308b.bcd
ns-gl1 --> ns-gl1-clone-2017:05:18-18:47:38.112 on earth39-grp
ns-gl2 --> ns-gl2-clone-2017:05:18-18:47:38.371 on earth39-grp [ recovery bin ]
1 Smart Copy found.
Example 4: Status of Restored Smart Copies
The following example shows the status reported by the asmcli list command after all deleted Smart Copy clones have been
restored.
# asmcli list smart-copy --type clone --check-status -vv
Logged into PS Series group 192.x.x.xx (earth39-grp) as username
grpadmin (GroupAdmin)
========================================================
Smart Copies
========================================================
Source: mysystem.equallogic.com : /mnt/ns-gl1 /mnt/ns-gl2
Clone: 18-May-2017 18:47:38.101719
ObjectId: d-ae90fe-d14693ed0-4b94835698ac308b
Directory: /tmp/asm3/asm-le.equallogic.com/source-e-86ca5b-
e4f2bf9ea-3660dd7d9ae03f4b/
File: 20170518-224738.101719-d-ae90fe-d14693ed0-4b94835698ac308b.bcd
ns-gl1 --> ns-gl1-clone-2017:05:18-18:47:38.112 on earth39-grp
ns-gl2 --> ns-gl2-clone-2017:05:18-18:47:38.371 on earth39-grp
1 Smart Copy found.
Managing Soft-Deleted Smart Copy Clones Without Credentials
For groups running PS Series firmware version 6.0 and higher, if you create a Smart Copy clone and delete it, the firmware places the
deletion in a recovery bin. The deleted volume can be restored by the PS Series group or eventually, it will be purged. Depending on which
action occurs, entering an asmcli list smart-copy --check-status command will either restore or permanently delete the
Smart Copy. However, if you change credentials so that the volume is no longer accessible, ASMCLI cannot see the volume in the
recovery bin, and entering list smart-copy --check-status will permanently delete the Smart Copy. This behavior is identical
to the way that changing credentials can create unreachable Smart Copies.
However, if you delete credentials so that there is no way to connect to the PS Series group at all, entering an asmcli list smart-
copy --check-status command will not purge the Smart Copy backup documents. In that case, ASM/LE cannot clean up the Smart
Copy backup documents.
Smart Copy Operations for Synchronous Replication
Volumes
The asmcli command provides synchronous replication volumes a subset of the functions that are available from the Group Manager
interface.
NOTE:
To configure synchronous replication volumes or to switch from the active volume (SyncActive) to the alternate
volume (SyncAlternate), use the PS Series firmware array.
Auto-Snapshot Manager Command Line Interface 77