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

About Restoring Data From a Smart Copy, Preconditions for Restoring Data, Restoring Data Process,

Page 50 highlights

• Ensure that the computer has the security credentials to access the Smart Copies in the set. • Identify the snapshot or Smart Copy Set that you want to log off. • Stop using the Smart Copy. About Restoring Data From a Smart Copy If a catastrophic system failure results in data loss, it might be necessary to restore data from a Smart Copy. If the Smart Copy contains a copy of a volume (a mount point or set of mount points) on a PS Series group, this operation will reset the data on the volume to the previous state. If the Smart Copy is a consistent copy of multiple mount points and multiple volumes, the restore operation will restore all of the mount points and all of the volumes to the earlier state. When you restore a complete volume, it is called an in-place restore. For snapshot Smart Copies of volumes or volume collections, the restore operation replaces the current data in the volumes or volume collection with the data in the Smart Copy. The Smart Copy continues to exist and you can restore from it as often as necessary. The asmcli restore smart-copy command provides options for identifying the exact data to restore from a set of mount points used to create the Smart Copy. You can also conveniently restore from the newest or oldest Smart Copy data. See Restoring a Smart Copy. Preconditions for Restoring Data Before you restore data, several preconditions must be met: • The Smart Copy must be a snapshot type. • The Smart Copy cannot already have been logged in or mounted by ASM/LE. • The EqualLogic volumes to be restored can only have sessions logged in by the host doing the restore in place. Other systems cannot have sessions logged in. As part of the restore operation, ASM/LE unmounts all mount points specified by the Smart Copy. If a file system is in use, the unmount and the restore operations fail. • All of the mount points (directories) in the Smart Copy must exist on the host. • If a new mount point has been added to the EqualLogic volumes, the mount point must be unmounted before the restore operation. Because the new mount point did not exist before the Smart Copy was created, the new file system will be lost when the restore completes. Restoring Data Process When you restore data from a Smart Copy using the asmcli restore smart-copy command, ASM/LE automatically performs the following tasks: 1. Unmounts the mount points. If processes are still using any of the file systems, the restore operation fails. 2. Deletes all Device Mapper (DM) devices used to support the EqualLogic volumes 3. Logs out all sessions to the EqualLogic volumes 4. Sets the EqualLogic volumes offline 5. Restores the EqualLogic volumes using the specified snapshots. (The group automatically creates a new snapshot that represents the current state of the volume.) 6. Sets the EqualLogic volumes online 7. Logs in sessions to the EqualLogic volumes 8. Rebuilds the DM devices to support the EqualLogic volumes 9. Mounts the file systems About Restoring a Soft-Deleted Smart Copy When a Smart Copy clone is deleted, the clone is soft-deleted and moved to a volume recovery bin, enabling the clone to be restored. As long as the clone is in the recovery bin, a backup document is retained. The asmcli list smart-copy --check-status command uses the backup document to identify the clones that have been soft-deleted. NOTE: • Restoring soft-deleted volumes can be performed only for Smart Copy clones running PS Series array firmware version 6.0 or later. Deleting a Smart Copy clone that is running an earlier version of the firmware immediately deletes that clone and does not preserve the backup document for that Smart Copy. 50 Introduction to ASM/LE

  • 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

Ensure that the computer has the security credentials to access the Smart Copies in the set.
Identify the snapshot or Smart Copy Set that you want to log off.
Stop using the Smart Copy.
About Restoring Data From a Smart Copy
If a catastrophic system failure results in data loss, it might be necessary to restore data from a Smart Copy. If the Smart Copy contains a
copy of a volume (a mount point or set of mount points) on a PS Series group, this operation will reset the data on the volume to the
previous state. If the Smart Copy is a consistent copy of multiple mount points and multiple volumes, the restore operation will restore all
of the mount points and all of the volumes to the earlier state.
When you restore a complete volume, it is called an in-place restore. For snapshot Smart Copies of volumes or volume collections, the
restore operation replaces the current data in the volumes or volume collection with the data in the Smart Copy. The Smart Copy
continues to exist and you can restore from it as often as necessary.
The
asmcli restore smart-copy
command provides options for identifying the exact data to restore from a set of mount points
used to create the Smart Copy. You can also conveniently restore from the newest or oldest Smart Copy data. See
Restoring a Smart
Copy
.
Preconditions for Restoring Data
Before you restore data, several preconditions must be met:
The Smart Copy must be a snapshot type.
The Smart Copy cannot already have been logged in or mounted by ASM/LE.
The EqualLogic volumes to be restored can only have sessions logged in by the host doing the restore in place. Other systems cannot
have sessions logged in. As part of the restore operation, ASM/LE unmounts all mount points specified by the Smart Copy. If a file
system is in use, the unmount and the restore operations fail.
All of the mount points (directories) in the Smart Copy must exist on the host.
If a new mount point has been added to the EqualLogic volumes, the mount point must be unmounted before the restore operation.
Because the new mount point did not exist before the Smart Copy was created, the new file system will be lost when the restore
completes.
Restoring Data Process
When you restore data from a Smart Copy using the
asmcli restore smart-copy
command, ASM/LE automatically performs the
following tasks:
1.
Unmounts the mount points. If processes are still using any of the file systems, the restore operation fails.
2.
Deletes all Device Mapper (DM) devices used to support the EqualLogic volumes
3.
Logs out all sessions to the EqualLogic volumes
4.
Sets the EqualLogic volumes offline
5.
Restores the EqualLogic volumes using the specified snapshots. (The group automatically creates a new snapshot that represents the
current state of the volume.)
6.
Sets the EqualLogic volumes online
7.
Logs in sessions to the EqualLogic volumes
8.
Rebuilds the DM devices to support the EqualLogic volumes
9.
Mounts the file systems
About Restoring a Soft-Deleted Smart Copy
When a Smart Copy clone is deleted, the clone is soft-deleted and moved to a volume recovery bin, enabling the clone to be restored. As
long as the clone is in the recovery bin, a backup document is retained. The
asmcli list smart-copy --check-status
command uses the backup document to identify the clones that have been soft-deleted.
NOTE:
Restoring soft-deleted volumes can be performed only for Smart Copy clones running PS Series array firmware
version 6.0 or later. Deleting a Smart Copy clone that is running an earlier version of the firmware immediately
deletes that clone and does not preserve the backup document for that Smart Copy.
50
Introduction to ASM/LE