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

Example 4: Retrying Creation of Smart Copy with Multiple Volumes

Page 67 highlights

Created snapshot volb-2017-01-05-14:39:14.221.1 on glengrp Created snapshot volc-2017-01-05-14:39:14.222.1 on glengrp Created snapshot vola-2017-01-05-14:39:14.223.1 on glengrp All mount points (3) have been thawed. Successfully created a Smart Copy from 3 targets. Example 4: Retrying Creation of Smart Copy with Multiple Volumes In this example, ASMCLI fails to create a consistent Smart Copy for a large number of source mount points on the first attempt. Because the --retry option was used, the creation succeeded on the second attempt. # asmcli create smart-copy --source /vol1 /vol2 /vol3 /vol4 /vol5 /vol6 \ /vol7a /vol7b /vol7c /vol8 /vol9 /vol10 /vol11 /vol12 --retry-count 10 All mount points (14) have been frozen. Created snapshot vola03-2017-01-09-13:42:13.16776 on eqlgroup1 Created snapshot vola02-2017-01-09-13:42:13.16777 on eqlgroup1 Created snapshot vola01-2017-01-09-13:42:13.16778 on eqlgroup1 Created snapshot vola11-2017-01-09-13:42:13.16779 on eqlgroup1 Created snapshot vola05-2017-01-09-13:42:13.16780 on eqlgroup1 Created snapshot vola08-2017-01-09-13:42:13.16781 on eqlgroup1 Created snapshot vola10-2017-01-09-13:42:14.16782 on eqlgroup1 Created snapshot vola12-2017-01-09-13:42:14.16783 on eqlgroup1 Created snapshot vola04-2017-01-09-13:42:14.16784 on eqlgroup1 Created snapshot vola07-2017-01-09-13:42:14.16785 on eqlgroup1 Created snapshot vola06-2017-01-09-13:42:14.16786 on eqlgroup1 Created snapshot vola09-2017-01-09-13:42:14.16787 on eqlgroup1 Timeout limit (10 seconds) reached: Thawing all mount points early. All mount points (14) have been thawed. Error: Cannot create a consistent Smart Copy. Sleeping for 10 seconds and then will retry the operation. All mount points (14) have been frozen. Created snapshot vola03-2017-01-09-13:42:25.16788 on eqlgroup1 Created snapshot vola02-2017-01-09-13:42:25.16789 on eqlgroup1 Created snapshot vola01-2017-01-09-13:42:26.16790 on eqlgroup1 Created snapshot vola11-2017-01-09-13:42:26.16791 on eqlgroup1 Created snapshot vola05-2017-01-09-13:42:26.16792 on eqlgroup1 Created snapshot vola08-2017-01-09-13:42:26.16793 on eqlgroup1 Created snapshot vola10-2017-01-09-13:42:26.16794 on eqlgroup1 Created snapshot vola12-2017-01-09-13:42:26.16795 on eqlgroup1 Created snapshot vola04-2017-01-09-13:42:26.16796 on eqlgroup1 Created snapshot vola07-2017-01-09-13:42:26.16797 on eqlgroup1 Created snapshot vola06-2017-01-09-13:42:26.16798 on eqlgroup1 Created snapshot vola09-2017-01-09-13:42:26.16799 on eqlgroup1 All mount points (14) have been thawed. Successfully created a Smart Copy from 12 targets. Example 5: Creating a Replica Clone Smart Copy This example creates a replica Smart Copy (--type replica), lists the result, and creates a replica clone Smart Copy. The replica Smart Copy is identified by object ID ( --object), the clone by --type clone. # asmcli create smart-copy --source /mnt/asm-acl --type replica The mount point has been frozen. The replica was started successfully. The mount point has been thawed. Getting remote replica information, please wait ... Created replica asm-acl.1-2017-02-02-01:50:58.533.1 on HitStore4 Successfully created a Smart Copy from 1 target. # asmcli list smart-copy Auto-Snapshot Manager Command Line Interface 67

  • 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

Created snapshot volb-2017-01-05-14:39:14.221.1 on glengrp
Created snapshot volc-2017-01-05-14:39:14.222.1 on glengrp
Created snapshot vola-2017-01-05-14:39:14.223.1 on glengrp
All mount points (3) have been thawed.
Successfully created a Smart Copy from 3 targets.
Example 4: Retrying Creation of Smart Copy with Multiple Volumes
In this example, ASMCLI fails to create a consistent Smart Copy for a large number of source mount points on the first attempt. Because
the
--retry
option was used, the creation succeeded on the second attempt.
# asmcli create smart-copy --source /vol1 /vol2 /vol3
/vol4 /vol5 /vol6 \
/vol7a /vol7b /vol7c /vol8 /vol9 /vol10 /vol11 /vol12
--retry-count 10
All mount points (14) have been frozen.
Created snapshot vola03-2017-01-09-13:42:13.16776 on eqlgroup1
Created snapshot vola02-2017-01-09-13:42:13.16777 on eqlgroup1
Created snapshot vola01-2017-01-09-13:42:13.16778 on eqlgroup1
Created snapshot vola11-2017-01-09-13:42:13.16779 on eqlgroup1
Created snapshot vola05-2017-01-09-13:42:13.16780 on eqlgroup1
Created snapshot vola08-2017-01-09-13:42:13.16781 on eqlgroup1
Created snapshot vola10-2017-01-09-13:42:14.16782 on eqlgroup1
Created snapshot vola12-2017-01-09-13:42:14.16783 on eqlgroup1
Created snapshot vola04-2017-01-09-13:42:14.16784 on eqlgroup1
Created snapshot vola07-2017-01-09-13:42:14.16785 on eqlgroup1
Created snapshot vola06-2017-01-09-13:42:14.16786 on eqlgroup1
Created snapshot vola09-2017-01-09-13:42:14.16787 on eqlgroup1
Timeout limit (10 seconds) reached: Thawing all mount points early.
All mount points (14) have been thawed.
Error: Cannot create a consistent Smart Copy.
Sleeping for 10 seconds and then will retry the operation.
All mount points (14) have been frozen.
Created snapshot vola03-2017-01-09-13:42:25.16788 on eqlgroup1
Created snapshot vola02-2017-01-09-13:42:25.16789 on eqlgroup1
Created snapshot vola01-2017-01-09-13:42:26.16790 on eqlgroup1
Created snapshot vola11-2017-01-09-13:42:26.16791 on eqlgroup1
Created snapshot vola05-2017-01-09-13:42:26.16792 on eqlgroup1
Created snapshot vola08-2017-01-09-13:42:26.16793 on eqlgroup1
Created snapshot vola10-2017-01-09-13:42:26.16794 on eqlgroup1
Created snapshot vola12-2017-01-09-13:42:26.16795 on eqlgroup1
Created snapshot vola04-2017-01-09-13:42:26.16796 on eqlgroup1
Created snapshot vola07-2017-01-09-13:42:26.16797 on eqlgroup1
Created snapshot vola06-2017-01-09-13:42:26.16798 on eqlgroup1
Created snapshot vola09-2017-01-09-13:42:26.16799 on eqlgroup1
All mount points (14) have been thawed.
Successfully created a Smart Copy from 12 targets.
Example 5: Creating a Replica Clone Smart Copy
This example creates a replica Smart Copy (
--type replica
), lists the result, and creates a replica clone Smart Copy. The replica
Smart Copy is identified by object ID (
--object
), the clone by
--type clone
.
# asmcli create smart-copy --source /mnt/asm-acl --type replica
The mount point has been frozen.
The replica was started successfully.
The mount point has been thawed.
Getting remote replica information, please wait ...
Created replica asm-acl.1-2017-02-02-01:50:58.533.1 on HitStore4
Successfully created a Smart Copy from 1 target.
# asmcli list smart-copy
========================================================
Auto-Snapshot Manager Command Line Interface
67