beautypg.com

Copying a volume (off-line copy), Synchronizing a volume – SANRAD I3.1.1205 User Manual

Page 155

background image

Chapter 8: Advanced Volume Operations

8-3

Copying a Volume (Off-line Copy)

Data from any volume type can be replicated offline using the CLI command
volume copy create

. Off-line replication is faster than on-line replication

but both the source and destination volumes must be off-line which can create
an interruption of service to the volume host(s). Because snapshot volumes are
internal (off-line) volumes, this is a way of copying a snapshot volume.

volume copy create

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-src

SOURCE

ALIAS OF SOURCE
VOLUME TO COPY

MANDATORY

ScienceLab

-dst

DESTINATION

ALIAS OF VOLUME
TO COPY TO

MANDATORY

ScienceLabII

volume copy create –src ScienceLab –dst ScienceLabII

Synchronizing a Volume

You cannot execute

another volume

operation while a

volume synch

operation is

underway on any

volume in a

hierarchy. This

includes a snapshot

operation.

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 Chapter 7

Volume Exposure and Security

”. 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 in Appendix A

Replicating Data Off-line

”.