HP MSA 1040 HP MSA 1040 SMU Reference Guide (762784-001, March 2014) - Page 73

Rolling back a volume

Page 73 highlights

Rolling back a volume You can roll back (revert) the data in a volume to the data that existed when a specified snapshot was created. You also have the option of including its modified data (data written to the snapshot since it was created). For example, you might want to take a snapshot, mount/present/map it for read/write, and then install new software on the snapshot for testing. If the software installation is successful, you can roll back the volume to the contents of the modified snapshot. CAUTION: • Before rolling back a volume you must unmount/unpresent/unmap it from data hosts to avoid data corruption. If you want to include snapshot modified data in the roll back, you must also unmount/unpresent/unmap the snapshot. • If the snap pool runs out of space, the master volume will change to read only until the rollback has completed. • Whenever you perform a roll back, the data that existed on the volume is replaced by the data on the snapshot; that is, all data on the volume written since the snapshot was taken is lost. As a precaution, take a snapshot of the volume before starting a roll back. Only one roll back is allowed on the same volume at one time. Additional roll backs are queued until the current roll back is complete. However, after the roll back is requested, the volume is available for use as if the roll back has already completed. During a roll back operation using snapshot modified data, the snapshot must be unmounted/unpresented /unmapped and cannot be accessed. Unmounting/unpresenting/unmapping the snapshot ensures that all data cached by the host is written to the snapshot; if unmounting/unpresenting/unmapping is not performed at the host level prior to starting the roll back, data may remain in host cache, and thus not be rolled back to the master volume. As a precaution against inadvertently accessing the snapshot, the system also takes the snapshot offline, as shown by the Snapshot Overview panel. The snapshot becomes inaccessible in order to prevent any data corruption to the master volume. The snapshot can be remounted/re-presented/remapped once the roll back is complete. To roll back a volume 1. Unmount/unpresent/unmap the volume from hosts. 2. If the roll back will include snapshot modified data, unmount/unpresent/unmap the snapshot from hosts. 3. In the Configuration View panel, right-click a volume and select Provisioning > Roll Back Volume. 4. In the main panel, set the options: • For Volume. • From Snapshot Volume. Enter the name of the snapshot to roll back to. • With Modified Data. Select this option to include the snapshot's modified data in the roll back. Otherwise, the master volume will contain only the data that existed when the snapshot was created. 5. Click Roll Back Volume. The roll back starts. You can now remount/re-present/remap the volume. 6. When the roll back is complete, if you unmounted/unpresented/unmapped the snapshot you can remount/re-present/remap it. Rolling back a volume 73

  • 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
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

Rolling back a volume
73
Rolling back a volume
You can roll back (revert) the data in a volume to the data that existed when a specified snapshot was created. You
also have the option of including its modified data (data written to the snapshot since it was created). For example,
you might want to take a snapshot, mount/present/map it for read/write, and then install new software on the
snapshot for testing. If the software installation is successful, you can roll back the volume to the contents of the
modified snapshot.
CAUTION:
Before rolling back a volume you must unmount/unpresent/unmap it from data hosts to avoid data corruption. If
you want to include snapshot modified data in the roll back, you must also unmount/unpresent/unmap the
snapshot.
If the snap pool runs out of space, the master volume will change to read only until the rollback has completed.
Whenever you perform a roll back, the data that existed on the volume is replaced by the data on the snapshot;
that is, all data on the volume written since the snapshot was taken is lost. As a precaution, take a snapshot of the
volume before starting a roll back.
Only one roll back is allowed on the same volume at one time. Additional roll backs are queued until the current roll
back is complete. However, after the roll back is requested, the volume is available for use as if the roll back has
already completed.
During a roll back operation using snapshot modified data, the snapshot must be unmounted/unpresented
/unmapped and cannot be accessed. Unmounting/unpresenting/unmapping the snapshot ensures that all data
cached by the host is written to the snapshot; if unmounting/unpresenting/unmapping is not performed at the host
level prior to starting the roll back, data may remain in host cache, and thus not be rolled back to the master volume.
As a precaution against inadvertently accessing the snapshot, the system also takes the snapshot offline, as shown by
the Snapshot Overview panel. The snapshot becomes inaccessible in order to prevent any data corruption to the
master volume. The snapshot can be remounted/re-presented/remapped once the roll back is complete.
To roll back a volume
1.
Unmount/unpresent/unmap the volume from hosts.
2.
If the roll back will include snapshot modified data, unmount/unpresent/unmap the snapshot from hosts.
3.
In the Configuration View panel, right-click a volume and select
Provisioning > Roll Back Volume
.
4.
In the main panel, set the options:
For Volume.
From Snapshot Volume. Enter the name of the snapshot to roll back to.
With Modified Data
. Select this option to include the snapshot’s modified data in the roll back. Otherwise, the
master volume will contain only the data that existed when the snapshot was created.
5.
Click
Roll Back Volume
. The roll back starts. You can now remount/re-present/remap the volume.
6.
When the roll back is complete, if you unmounted/unpresented/unmapped the snapshot you can
remount/re-present/remap it.