VMAX Local Replication
VMAX Local Replication
This Technical Note explains the EMC HYPERMAX OS Local Replication, including
TimeFinder SnapVX and TimeFinder Emulation Support.
Executive Summary.................................................................................. 2
TimeFinder SnapVX .................................................................................. 2
Implementing TimeFinder SnapVX ............................................................ 18
Emulation Support for TimeFinder Mirror, Clone, and VP Snap ................... 23
Conclusion .............................................................................................. 24
References .............................................................................................. 25
Appendices ............................................................................................. 26
Executive Summary
Executive Summary
EMC TimeFinder software delivers point-in-time copies of volumes that can be used
for backups, decision support, data warehouse refreshes, or any other process that
requires parallel access to production data.
Previous VMAXTM families offer several different TimeFinder offerings, each with their
own characteristics and ideal use cases. These offerings also have several
similarities, the main one being that they each require a target volume to retain
snapshot or clone data.
TimeFinder in HYPERMAX OS 5977 introduces TimeFinder SnapVX which combines
the best aspects of the previous TimeFinder offerings, adds some new ease-of-use
features, and increases scalability.
SnapVX provides very low impact snapshots and clones for VMAX LUNs. SnapVX
supports up to 256 snapshots per source volume, which are tracked as versions with
less overhead and simple relationship tracking. Users can assign names to identify
their snapshots, and they have the option of setting automatic expiration dates on
each snapshot.
SnapVX provides the ability to manage consistent point-in-time copies for storage
groups with a single operation. Up to 1024 target volumes can be linked per source
volume, providing read/write access as pointers or full-copy clones.
TimeFinder in HYPERMAX OS also provides compatibility modes for users who rely on
their TimeFinder Mirror, Clone, or VP Snap command scripts. This will allow users to
use their existing scripts while learning how to take advantage of the new features of
SnapVX.
This document describes TimeFinder features for business continuance and
implementation guidelines, including restrictions and limitations for this product.
The features discussed are valid for HYPERMAX OS 5977 on VMAXTM All Flash and
VMAX3TM Series arrays.
Audience
This technical note is intended for storage administrators, database administrators,
and technologists who have an interest in understanding the concepts surrounding
Local Replication in VMAX All Flash and VMAX3 Family storage arrays.
TimeFinder SnapVX
Local replication with SnapVX starts out as efficient as possible by creating a
snapshot, a pointer based structure that preserves a point in time view of a source
volume. Snapshots do not require target volumes, share back-end allocations with
the source volume and other snapshots of the source volume, and only consume
additional space when the source volume is changed. A single source volume can
have up to 256 snapshots.
TimeFinder SnapVX
Terminology
The following are explanations of terms that are commonly used
throughout the paper:
Storage Resource Pool (SRP): A collection of data pools which
provide physical storage for thin devices. SRPs are managed by
Fully Automated Storage Tiering (FAST).
Source Volume: A LUN that has SnapVX snapshots from it, either
with or without linked targets.
Snapshot: A preserved point-in-time image of a source volume. A
snapshot uses pointers in cache to indicate which version of a
track is applicable to the specific point-in-time; either a track that
resides on the source volume, or a snapshot delta.
Snapshot Delta: A point-in-time version of a source volume track
that was preserved during a host write to a source volume that
had an active snapshot.
Linked Target Volume: A LUN that is linked to a SnapVX snapshot
in order to make the point-in-time of the snapshot accessible to
the host. Linked targets can have one of two modes:
Nocopy Mode: Does not copy data to the linked target volume but still makes the
point-in-time accessible via pointers to the snapshot. The point-in-time
image will not be available after the target is unlinked because some target
data may no longer be associated with the point-in-time1.
1
TimeFinder SnapVX
Creating Snapshots
TimeFinder SnapVX allows snapshots to be taken without the use of a target volume.
The snapshots are made as efficient as possible by sharing point-in-time tracks,
which are called snapshot deltas. The snapshot deltas are stored directly in the
Storage Resource Pool (SRP) where the source volume resides. Each snapshot will
use pointers to reference snapshot deltas appropriate for the specific point-in-time
image.
SnapVX Snapshots are created with the symsnapvx establish command. As part
of the establish command the user will define a name for the snapshot. The userdefined name may be up to 32 characters long and may include alpha and numeric
characters, dash and underscores. The name is not case sensitive.
Figure1 depicts a source volume with three snapshots.
Generation Numbers
It is possible to have multiple snapshots by the same name for the same set of
source volumes, and generation numbers will be used to identify the different
snapshots. It is important to understand how generation numbers are applied when
deciding to either reuse snapshot names or to use unique names for each snapshot.
Generation numbers are relative to existing snapshots at the time of creating or
displaying snapshots, and will change as snapshots are created and terminated.
4 EMC HYPERMAX OS Lo c a l Rep lic a tio n
TimeFinder SnapVX
When a snapshot name is reused, the new session will become Generation 0 and all
previous sessions by the same name will have their generation numbers incremented
by a value of 1. Similarly, if a more recent snapshot is terminated, all older
snapshots will have their generation numbers decreased by a value of 1. The most
recent snapshot will always have a generation number of 0. This is advantageous
because after creating a new snapshot, the user will always know that it is Generation
0 and will not have to search for the specific snapshot.
For example, if a user creates a snapshot called hourly_backup at 1PM. This
snapshot would be Generation 0. Then at 2PM they create another snapshot and
reuse the name hourly_backup. At this point, the 1PM snapshot would become
Generation 1 and the 2PM snapshot would be Generation 0. Similarly, at this point if
the 2PM snapshot (Generation 0) was terminated, the 1PM snapshot would again
become Generation 0.
Reusing snapshot names and employing generation numbers can be very useful. A
user could create a certain amount of generations for a specific snapshot, and then
every day they could create a new one and terminate the oldest, using the same
commands each day and making scripting simple.
However, the user must be cognizant of the fact that the generation numbers are
dynamic; creating or terminating snapshots may cause generation numbers of other
snapshots to change. This could be problematic in situations where multiple users
create snapshots on the same set of volumes, especially in situations where a single
volume is in multiple groups (Storage Groups, Device Groups, Composite Groups,
etc). Just as with any other feature or option, the user must make the best choice for
their environment.
Time-to-Live (TTL)
The user also has the option of defining a time-to-live (TTL) value on each snapshot,
which acts as an expiration date. Snapshots will automatically terminate when the
TTL expires, assuming the snapshot does not have any linked targets. If a snapshot
has linked targets and the time-to-live has expired, the snapshot will terminate when
the last target is unlinked.
TTL values can either be set to a specific date (-absolute) or a specified number of
days (-delta). When a user sets TTL to a specific date, Solutions Enabler will
internally use a delta that is calculated from the specified date and the current host
time. This internal conversion eliminates the need for users to synchronize clocks or
calculate times between servers and the storage array. Time-to-Live values can be
specified when the snapshot is established, and can also be set or changed on
existing snapshots.
TimeFinder SnapVX
The output of command symsnapvx list detail and other commands will report
the amount of deltas for each snapshot. The symsnapvx list detail output also
has a Non-Shared Tracks field that provides the number of tracks uniquely
allocated to each snapshot. This information is valuable because it can be used to
determine which snapshots are using the most non-shared space and will be most
beneficial to terminate in the event of needing to free some space in the SRP. Only
non-shared space is freed from the SRP when a snapshot is terminated.
Redirect-On-Write
SnapVX introduces Redirect-On-Write (ROW) technology to TimeFinder. When a
source track is written to and the original data needs to be preserved for a
snapshot(s), the new write will be accepted and asynchronously written to a new
location in the Storage Resource Pool (SRP). The source volume will now point to the
new data while the snapshot(s) will continue to point to the original data (the
snapshot delta) in its original location.
Redirect-On-Write is illustrated in the following figures. Figure 2 shows the source
volume and snapshot both pointing to the same location in the pool before the track
is updated.
Figure 3 shows the source pointing to the new location in the pool after the host
write, while the snapshot continues to point to the original location.
SnapVX will use Asynchronous Copy on First Write (ACOFW) rather than ROW in
certain situations, specifically to prevent the new write from being directed to a lower
tier. For example, if the original track resides on the Flash Drive tier, it may be copied
to a lower technology drive to allow the new write to be applied to the original
location on the Flash tier.
Replication Cache
A portion of the metadata in cache is dedicated for Replication Data Pointers (RDP)
which keep track of the snapshot deltas in the SRP. This portion of metadata is
6 EMC HYPERMAX OS Lo c a l Rep lic a tio n
TimeFinder SnapVX
SE 8.2 also provides a new alert ID 1222 to report when Replication Cache usage has
exceeded the specified thresholds. The default threshold values are the same as the
default values for other SE thresholds alerts. The user also has the ability to specify
other values. However, the alerts are not enabled by default, and need to be enabled
by the user.
The default threshold values are as follows:
TimeFinder SnapVX
Unisphere for VMAX reports the Replication Cache usage on the summary page of the
Data Protection Dashboard:
Alerts are also available in Unisphere for VMAX 8.2. The System Alerts have the
following threshold values and are enabled by default:
TimeFinder SnapVX
Users also have the ability to create custom alerts with their own threshold values:
With the Q1 2016 Service Release of HYPERMAX OS, the system will call home to the
EMC Support Center when Replication Cache usage reaches new predetermined
thresholds.
Shared Allocations
VP Snap in Enginuity 5876 introduced backend allocation sharing between VP Snap
target volumes; multiple snapshots from a source volume can share point-in-time
versions of a track. A backend allocation could be shared by up to 16 VP Snaps.
Allowing multiple targets to reference the same shared copy provides cost-effective
space savings. Shared track values on thin pools could be seen with Solutions
Enabler and Unisphere for VMAX.
EMC HYPERMAX OS Lo c a l Rep lic a tio n
TimeFinder SnapVX
TimeFinder SnapVX
Targets can be linked in either copy mode to create full-volume copies that will
remain available even after a snapshot is terminated, or in nocopy mode to create
space-saving copies that will only allocate space due to host writes to the target.
Host writes to a source volume that has a snapshot with a target linked in nocopy
mode will only preserve point-in-time tracks as snapshot deltas, and will not cause
any tracks to be copied to the linked target. The linked targets will access the
preserved point-in-time by sharing the snapshot delta allocation.
Snapshots that have linked targets cannot be terminated. The user needs to unlink
the target first and then the snapshot can be terminated.
Linked targets can be SRDF R1 volumes, as long as the link command is in copy
mode.
Relinking
The relink command provides the capability to perform incremental refreshes of
linked targets. The relink command can also be used to link a target to a different
snapshot of the same source volume. The relink command can be issued to both
copy and nocopy mode linked targets. This functionality provides an easy way for
users to check different points-in-time if they are unsure which one is the best for
them to access.
Please note that, just like the link command, relink will be in nocopy mode by
default unless the user specifies copy, regardless of the mode of the original link.
11
TimeFinder SnapVX
Unlinking
The unlink command is used to break the relationship between a snapshot and a
linked target. Copy mode linked targets can be unlinked once copying is complete
and will retain a full, useable point-in-time copy of the source volume.
After a nocopy linked target has been unlinked, the target data should not be
considered valid since a considerable amount of the data may not be associated with
the point-in-time1.
1
Note: Please see Appendix D for changes to the nocopy target functionality
beginning in the HYPERMAX OS Q1 2016 Service Release.
A target volume that has cascaded snapshots can only be unlinked once the target
has completely copied. In the case of a nocopy linked target that has cascaded
snapshot(s), the user will need to set mode to copy, then unlink after copy has
completed2. Cascaded snapshots are discussed further on page 14.
2
Note: This restriction has been removed in the HYPERMAX OS Q1 2016 Service
Release. Beginning with this version of HYPERMAX OS and going forward, users can
unlink nocopy targets that have dependent/cascaded snapshots.
Defining State
SnapVX introduces a new concept of a defined state for linked target tracks.
Defining may aid performance of host access of target tracks that have not yet been
copied to target by presenting data directly from the SRP and eliminating the need for
a redirect to source or snapshot.
The point-in-time of a snapshot is immediately available through the target volume as
soon as it is linked. However, its track tables will still be pointing to its old track
locations and all tracks are considered undefined. Shortly after linking, a
background defining process will change the pointers of each track to reflect the
location of the appropriate track version for the specific point-in-time. The defining
process is what creates shared allocations between the target and tracks on source
and/or snapshot deltas.
Figure 9 illustrates the defining process. The target is linked to snapshot 2. The first
two tracks on the linked target volume have been defined and point directly to the
data in the SRP. The last two tracks on the linked target volume have not yet been
defined and are still pointing to the snapshot. Note that an undefined track could
point to a track on source rather than snapshot if that is the appropriate version of
the track for the specific point-in-time represented by that snapshot.
TimeFinder SnapVX
Defining applies to both copy mode and nocopy mode linked targets. In the case of
copy mode linked targets, the copy will begin after the defining process has
completed.
The point-in-time of the snapshot is immediately available when the target is linked.
The user does not need to wait for the target volume to be defined before accessing
the point-in-time. A write to an undefined target track will invoke the defining
process for the track. And a read to an undefined target track will be redirected to the
appropriate point-in-time version of the track via either the snapshot or the source
volume.
The user can check for the defined state of a linked target with the following
command:
symsnapvx sid verify sg snapshot_name linked -defined
13
TimeFinder SnapVX
A single snapshot can have both copy and nocopy linked targets. All linked targets
from a single snapshot do not need to be in the same SRP. Source volumes and
linked targets (copy and nocopy modes) can be moved between SRPs while
TimeFinder sessions are active; FAST will move allocations accordingly.
Restore Operations
Snapshots can be restored directly to the source volume(s) via the symsnapvx
restore command or via Unisphere for VMAX. The symsnapvx terminate
restored command will terminate the restored session only and will not break the
source-to-snapshot relationship. Restoring from a snapshot to source will not affect
the point-in-time of any other snapshots or linked targets.
Restoring from a linked target back to a source is functionally possible although it is
not done with a restore command. Instead, the user would take a snapshot of a
linked target, which will essentially create a cascaded scenario, discussed further in
the following section. The user could then use the original source volume as a linked
target to the cascaded snapshot. Cascaded snapshots are discussed further in the
following section.
Cascading Snapshots
Cascading refers to taking a snapshot of a linked target, and also to linking a target to
a snapshot of a linked target. All tracks on a target volume must be defined before a
snapshot can be taken of the target volume.
Figure 10 illustrates one example of cascaded SnapVX sessions.
TimeFinder SnapVX
and there is no need to make a Gold Copy clone to cascade from. Even if a target is
linked to the snapshot and written to, the point-in-time of the snapshot will not
change. This reduces the amount of full volume copies that are required in most use
cases making SnapVX very space efficient.
Furthermore, the defining mechanism allows reads to tracks that do not reside on the
target volume to be serviced directly from the SRP and not redirected to the source
volume as would be the case with traditional snaps or clones. This not only improves
performance of the read but also reduces the possibility of target reads affecting
performance of the source volume.
Cascaded SnapVX sessions are supported with the following considerations:
Note: This restriction has been removed in the HYPERMAX OS Q1 2016 Service
Release. Beginning with this version of HYPERMAX OS and going forward, users can
unlink nocopy targets that have dependent/cascaded snapshots.
Reserved Capacity
Reserved Capacity is a percentage of the SRP that can only be consumed by new host
writes. Existing and new snapshots will be affected if the Free Capacity of the SRP
falls below the set Reserved Capacity. The following commands can be used to view
and change the values:
Valid values for Reserved Capacity percentage are from 1% to 80%, and NONE.
As an example, if the reserved capacity on an SRP is set to 10% and the SRP becomes
90% full with volume allocations, snapshot deltas, and SRDF Delta Set Extension
allocations, then only new host writes can consume the last free 10% of the SRP.
When only Reserved Capacity is available in an SRP, a snapshot will fail at the next
attempt to create a new snapshot delta, and the snapshot will need to be terminated.
EMC HYPERMAX OS Lo c a l Rep lic a tio n 15
TimeFinder SnapVX
VP Snap and Clone Nocopy Emulation Mode sessions will also fail at the next write
that requires a source track to be copied to target.
Copy to targets will halt and will not be able to complete. This includes SnapVX
linked targets, Clone copy mode sessions, and TimeFinder Mirror BCVs. Copy will
resume if free space is made available in the SRP, or if the Reserved Capacity value is
lowered to a sufficient value.
The Reserved Capacity only affects the TimeFinder copy process. Host reads and
writes to the targets will still be possible.
Interoperability
TimeFinder SnapVX is interoperable with other HYPERMAX OS features under the
following conditions:
SRDF
Read miss I/Os to target tracks that are owned by the source
volume will increment the FAST metrics for the source
volume, not the target volume, and may contribute to the
extent being promoted
FAST
Persistent Allocations
Persistent Allocations are tracks that are unaffected by a standard reclaim operation.
The user can mark and unmark tracks as persistent with the Solutions Enabler
symdev or symsg commands, and with Unisphere for VMAX.
16 EMC HYPERMAX OS Lo c a l Rep lic a tio n
TimeFinder SnapVX
17
will be set to Not Ready and will not be included in the point-in-time image.
The user will need to determine the best course of action to remove or
reintroduce the extra volumes. And if the SG is linked to another snapshot
that contains all of the volumes in the SG, the volumes will automatically
be made ready and will be included in the session.
Figure 13 shows there are 4 generations of snap from the storage group snapsouce,
and Figure 14 shows a more detailed view giving more information including the each
snapshot was taken and expiration date if one was set on creation.
:
:
:
:
X
X
X
X
=
=
=
=
Failed, . = No Failure
Link Exists, . = No Link Exists
Restore Active, . = No Restore Active
GCM, . = Non-GCM
Figure 14. Listing of snapshots for storage group snapsource with detail option
19
Figure 16 shows the cli commands for linking to a snapshot, note that a generation
number was specified. If no generation is specified the most recent snapshot for the
snapshot name provided will automatically be selected.
Note: Please see Appendix C for information on monitoring the copy process to copy
mode linked targets.
When linking snapshots via Unisphere for VMAX, the user is presented with existing
SGs to select for the targets. Unisphere for VMAX can also create a new SG with the
appropriate volumes and perform the link operation from one simple wizard, as seen
in Figure 17.
Should the user need to transition to a different snapshot copy using the same set of
source and target volumes a relink operation can be performed linking to a different
snapshot or a different generation of the same snapshot. Users should unmount any
target volumes from the mount host and remount after relink to ensure that the data
the host sees is correct Figure 18 shows the relink process from the CLI and Figure 19
shows the relink process the Unisphere GUI.
$ symsnapvx -sid 67 -sg snapsource -snapshot_name hourlysnap -gen 0 relink -lnsg snaptarget
Execute Relink operation for Storage Group snapsource (y/[n]) ? y
Relink operation execution is in progress for the storage group snapsource. Please wait...
Polling for Relink..................................................Started.
Polling for Relink..................................................Done.
Relink operation successfully executed for the storage group snapsource
Figure 18. Relinking via command line
21
Figure 19. Relinking a target snapshot to a different point in time Unisphere for VMAX
correct data. Users can determine which snapshot to use by verifying the data
through a linked target with the link/relink commands.
$ symsnapvx -sid 67 -sg snapsource -snapshot_name hourlysnap -gen 2 restore
Execute Restore operation for Storage Group snapsource (y/[n]) ? y
Restore operation execution is in progress for the storage group snapsource. Please wait...
Polling for Restore..................................................Started.
Polling for Restore..................................................Done.
Restore operation successfully executed for the storage group snapsource
Figure 20. Restoring from snapshot
Figure 20 shows the command line option restoring from generation 2 of a snapshot
to the source volume.
VP Snap target volumes can be moved across SRPs while sessions are
active. Non-shared allocations will be moved.
23
Conclusion
As source tracks are updated, the Protected Track counts will not
decrement.
As source tracks are updated when the session is active, the preserved
point-in-time tracks for the VP Snap emulation sessions will be stored
in the SRP of the source volume, even if the target volume is in a
different SRP. Only changed tracks on the target volume are stored in
the target SRP.
VP Snap target volumes will not be deallocated when the sessions are
terminated. If the target volume is in a separate SRP from the source
volume, any allocations that reside in the source SRP after terminate
will be relocated to the target SRP by a FAST compliance move.
Note: Please see Appendix C for information on monitoring the copy process of Mirror
and Clone emulation sessions.
Conclusion
TimeFinder SnapVX provides new functionality and combines the benefits of the
TimeFinder Clone, Mirror, and VP Snap into one easy-to-use software feature.
SnapVX allows the user to create snapshots without the need for a target volume.
Snapshots can then be used to link to target volumes in either full-copy or nocopy
mode which can then be presented to the host server. SnapVX allows for far greater
scalability than previous TimeFinder offerings, with up to 256 snapshots per source
volume and 1024 linked target volumes per source volume. SnapVX also introduces
the ability to take snapshots on a Storage Group level, and uses advanced redirecton-write technology.
SnapVX is compatible with many other HYPERMAX OS features. And along with all of
the new functionality that is provided, users can also run emulation of TimeFinder
Mirror, Clone, and VP Snap which will use SnapVX technology in the background,
completely transparent to the user until they are ready to make the switch and take
full advantage of SnapVX.
References
References
Reference information and product documentation can be found at support.EMC.com
including;
EMC VMAX All Flash Product Guide for VMAX 450F,
450FX , 850F, 850FX with HYPERMAX OS
EMC VMAX3 Family with HYPERMAX OS Product Guide
EMC Solutions Enabler TimeFinder SnapVX CLI User
Guide
EMC Solutions Enabler TimeFinder Family CLI User Guide
EMC VMAX3 Family Feature Overview
EMC VMAX3 Service Level Provisioning with Fully
Automated Storage Tiering (FAST)
25
Appendices
Appendices
Appendix A
TimeFinder SnapVX State Table
The following table describes prerequisites, transient states, and final states for all
controls:
Action
Prerequisite
Transient State
Final State
Establish
None
Establish In Progress
Established
Restore
Established
Restore In Progress
Restored
Terminate
Established
Terminate In Progress
NA
Terminate with
FLAG1_RESTORED
Restored
NA
NA
Setmode Copy
Linked NoCopy
Link Copied
Setmode NoCopy
NA
Linked
Set TTL
NA
NA
Link
Established
NA
Linked
Established
Link Copied
Unlink
Linked or
NA
NA
NA
Linked
Link Copied
NA
NA
Link Copied
If the target is the source of
another snapshot, the link
must be fully copied.
Relink
Linked or
Link Copied
Relink with
FLAG1_COPY
Linked or
Rename
Established
Link Copied
Appendices
Appendix B
Geometry Compatibility Mode (GCM)
An array running HYPERMAX OS cannot create a device that is exactly the same size
as a device with an odd number of cylinders on an array running Enginuity 5876. In
order to support the full functionality, SRDF requires that R1 and R2 devices in a
device pair be same size and TimeFinder requires that source and target devices are
the same size.
HYPERMAX OS introduces a new device attribute, Geometry Compatible Mode (GCM).
A device with GCM set is treated as half a cylinder smaller than its true configured
size so the device will be treated as the same size as an Enginuity 5876 device with
an odd number of cylinders, thus enabling full functionality between HYPERMAX OS
and Enginuity 5876 for SRDF, TimeFinder SnapVX, and TimeFinder emulations, and
ORS.
The GCM attribute can only be set for devices on arrays running HYPERMAX OS. The
attribute can be set manually or automatically as part of an operation that creates a
local or remote replication relationship.
The symdev set /unset, symdg set/unset, symcg set/unset, and symsg
set/unset commands have been enhanced with a new option -gcm to set and
unset GCM for a device or group.
The symdev show, symdev list v, symdg show ld, symdg list ld v,
sympd show, and sympd list v commands have been enhanced to report the
GCM attribute.
Set the GCM attribute for a target device that is configured a cylinder larger.
The source of the copy can be:
Unset the GCM attribute for a target device that is configured the exact same
size as the source of the copy. The source of the copy can be:
ORS
o
The ORS create operation will be modified to use the GCM size when
establishing a push or pull session to the remote target.
EMC HYPERMAX OS Lo c a l Rep lic a tio n
27
Appendices
TimeFinder SnapVX
o
A SnapVX link operation will change the GCM attribute on the link target
device to match the GCM setting of the snapshot.
Create, full establish, or full restore operations between a GCM device and a
non-GCM device will result in the device that is the target of the data copy
having its GCM attribute changed to match the GCM attribute setting of the
device that is the source of the data copy.
When the source and target devices are the same physical size, and the
source of a clone session is a GCM device and the target device is not, then
the Clone to Larger Target rules will be enforced.
TimeFinder Mirror
o
Full establish and full restore operations between a GCM device and a nonGCM device will result in the device that is the target of the data copy having
its GCM attribute changed to match the GCM attribute setting of the device
that is the source of the data copy.
Appendix C
Monitoring the Copy Process
When monitoring the copy process to a full copy linked target, the number of tracks
remaining to copy are determined by a sum of multiple internal counters, capped at
the maximum size of the volume. If the sum of these values exceeds the size of the
device, then it may appear that the copy has not started or is stuck when querying the
session from Solutions Enabler or Unisphere for VMAX, even though the copy has
actually begun. See Figure 21 as an example.
$ symsnapvx -sid 067 list -sg snapsource -linked -detail
Storage Group (SGName
: SNVX_SG
SG's Symmetrix ID
: 000197200067
(Microcode Version: 5977)
----------------------------------------------------------------------------------------------Sym
Link Flgs
Remaining Done
Dev
Snapshot Name
Gen Dev
FCMD Snapshot Timestamp
(Tracks)
(%)
----- -------------------------------- ---- ----- ---- ------------------------ ---------- ---00040 hourlysnap
2 0003D ...I Mon Sep 29 14:01:59 2014
18510
0
00041 hourlysnap
2 0003E ...I Mon Sep 29 14:01:59 2014
18510
0
00042 hourlysnap
2 0003F ...I Mon Sep 29 14:01:59 2014
18510
0
00043 hourlysnap
2 00040 ...I Mon Sep 29 14:01:59 2014
18510
0
---------74040
Flgs:
(F)ailed
: F = Force Failed, X = Failed, . = No Failure
(C)opy
: I = CopyInProg, C = Copied, D = Copied/Destaged, . = NoCopy Link
(M)odified : X = Modified Target Data, . = Not Modified
(D)efined : X = All Tracks Defined, . = Define in progress
Figure 21. Viewing snapshot with linked targets
28 EMC HYPERMAX OS Lo c a l Rep lic a tio n
Appendices
The user may be able to notice usage increase on the target volumes or SRPs. This
does not slow down the actual copy, just the way that the copy is reported. Once the
internal counters drop below a certain threshold the number of tracks reported to the
user will drop dramatically.
Another effect of this is that incremental relink operations may appear as full
operations because the internal counters add up to the full size of the volume. Both
of these behaviors will be more noticeable on larger volumes.
This behavior also applies to monitoring the copy process of TimeFinder Mirror and
Clone emulation sessions, which use SnapVX in the background.
This behavior is also documented in knowledgebase solution 196700.
Appendix D
Nocopy Linked Target Functionality
Beginning with the HYPERMAX OS Q1 2016 Service Release, users can continue to
access the data on fully-defined nocopy targets after they have been unlinked. This
functionality is possible through the shared allocations. As discussed earlier, the
defining process creates the shared allocations between the target volume and
source/snapshot deltas.
When a target is unlinked, the shared remains in place. In other words, unlinking will
not unshare the allocations. Even after unlinked, termination of a snapshot will
result in the target owning the snapshot delta. And an updated write to the source
track will result in the target owning the original track. Target will also take ownership
of any shared source tracks if the source is deallocated after unlink.
This enhanced functionality allows the user to continue to access the target data after
unlink in the same way that previously required full copy targets, but without
duplicating the entire backend data from the point-in-time to the target.
There are a few important aspects to understand about this behavior:
Nocopy target data will only be valid if the target is fully defined before unlink.
The following commands will help the user determine if defined process has
completed on target(s):
o symsnapvx <sourcedevs> snapshot_name list linked
o symsnapvx -<targetdevs> -snapshot_name verify
-linked -defined -by_tgt
If the user wants to deallocate the data on the target(s) after unlink, they can
do so by issuing the symdev free all command to the target volume.
Please note that this is a powerful command that will completely deallocate
all data on the volumes that it is issued to. Extreme care must be taken when
using this command. As a safety mechanism, the free all command requires
the device to be not ready or unmapped.
EMC HYPERMAX OS Lo c a l Rep lic a tio n 29
Appendices
Similarly, after terminating a snapshot, users may not see as much capacity
as they expected freed up in the SRP because the previous target that was
sharing the snapshot deltas has taken ownership of them.
The underlying behavior exists in earlier versions of HYPERMAX OS, but the
data verification testing was not completed to qualify the feature until the
HYPERMAX OS Q1 2016 Service Release.
This means that at earlier versions of HYPERMAX OS, users may observe the
behavior described in the previous bullets. But they should not rely on the
data on the targets after unlink.
Copyright 2016 EMC Corporation. All rights reserved. Published in the USA.
Published March, 2016
EMC believes the information in this publication is accurate as of its
publication date. The information is subject to change without notice.
The information in this publication is provided as is. EMC Corporation makes no
representations or warranties of any kind with respect to the information in this
publication, and specifically disclaims implied warranties of merchantability or
fitness for a particular purpose. Use, copying, and distribution of any EMC
software described in this publication requires an applicable software license.
EMC2, EMC, and the EMC logo are registered trademarks or trademarks of EMC
Corporation in the United States and other countries.
All other trademarks used herein are the property of their respective owners.
For the most up-to-date regulatory document for your product line, go to EMC
Online Support (https://support.emc.com).
30 EMC HYPERMAX OS Lo c a l Rep lic a tio n