SANRAD V-Switch Switch User Manual


 
140 SANRAD V-Switch User Manual
Synchronizing a Volume
If one child of a mirrored volume, the source, already contains data, the
data can be replicated to the second child, the destination, using the CLI
command volume mirror sync. This can be done on-line while the
source volume is still exposed or off-line while both the source and
destination volumes are unexposed. See how to expose volumes “Volume
Exposure & Security,” page 107. On-line data replication is slower but
allows the source volume to remain on-line with no interruption of service
to the volume host(s). Off-line replication is faster than on-line replication
but both the source and destination volumes must be taken off-line which
can create an interruption of service to the volume host(s).
See the working example of off-line data replication “Replicating Data Off-
line,” page 264.
volume mirror sync
You need to define two parameters to synchronize a volume:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-src
SOURCE
VOLUME
ORIGINAL VOLUME
TO SYNCHRONIZE
TO
MANDATORY
Simple3
-dst
DESTINATION
VOLUME
NEW VOLUME TO
ADD TO
SYNCHRONINZE
MANDATORY
Simple5
Example:
The on-line volume Simple3 is synchronized to the on-line volume Simple5.
volume mirror sync –src Simple3 –dst Simple5