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

Managing Soft-Deleted Smart Copies, Examples: asmcli list Command

Page 76 highlights

Managing Soft-Deleted Smart Copies Smart Copy clones that have been soft-deleted are held temporarily in the volume recovery bin. You can use the following commands with Smart Copy clones: • Identify clones that have been soft-deleted in the volume recovery bin using the asmcli list smart-copy --check-status command. • Access the Volume Recovery Bin interface through the EqualLogic Group Manager GUI. Examples: asmcli list Command The asmcli list --check-status command reports the status of Smart Copy clones. This section provides the following examples: • Example 1: Listing Smart Copies in a Collection • Example 2: Listing Deleted Smart Copies • Example 3: Status of Smart Copy After Recovery • Example 4: Status of Restored Smart Copies Example 1: Listing Smart Copies in a Collection The following example shows the output of the asmcli list command which includes the status of clones. # 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 1 Smart Copy found. Example 2: Listing Deleted Smart Copies The following example shows the status reported by the asmcli list command when a Smart Copy clone has been deleted. # asmcli delete smart-copy --type clone --latest Deleted Smart Copy: d-ae90fe-d14693ed0-4b94835698ac308b Successfully removed the Smart Copy. # 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 [ recovery bin ] ns-gl2 --> ns-gl2-clone-2017:05:18-18:47:38.371 on earth39-grp [ recovery bin ] 1 Smart Copy found. 76 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

Managing Soft-Deleted Smart Copies
Smart Copy clones that have been soft-deleted are held temporarily in the volume recovery bin. You can use the following commands with
Smart Copy clones:
Identify clones that have been soft-deleted in the volume recovery bin using the
asmcli list smart-copy --check-status
command.
Access the Volume Recovery Bin interface through the EqualLogic Group Manager GUI.
Examples: asmcli list Command
The
asmcli list --check-status
command reports the status of Smart Copy clones. This section provides the following examples:
Example 1: Listing Smart Copies in a Collection
Example 2: Listing Deleted Smart Copies
Example 3: Status of Smart Copy After Recovery
Example 4: Status of Restored Smart Copies
Example 1: Listing Smart Copies in a Collection
The following example shows the output of the
asmcli list
command which includes the status of clones.
# 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
1 Smart Copy found.
Example 2: Listing Deleted Smart Copies
The following example shows the status reported by the
asmcli list
command when a Smart Copy clone has been deleted.
# asmcli delete smart-copy --type clone --latest
Deleted Smart Copy: d-ae90fe-d14693ed0-4b94835698ac308b
Successfully removed the Smart Copy.
# 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 [ recovery bin ]
ns-gl2 --> ns-gl2-clone-2017:05:18-18:47:38.371 on earth39-grp [ recovery bin ]
1 Smart Copy found.
76
Auto-Snapshot Manager Command Line Interface