Adding a child to a mirror (on-line copy) – SANRAD I3.1.1205 User Manual

Page 156

Advertising
background image

8-4

SANRAD V-Switch CLI User Manual

volume mirror sync

You need to define two parameters to synchronize a volume:

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-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

Adding a Child to a Mirror (On-line Copy)

If you are working in

a V-Switch cluster,

the child must be

added on both V-

Switches.

To perform on-line data replication, either by increasing the number of
children in a mirrored volume or creating a mirrored copy of any other
type of volume, except transparent and snapshot volumes, you can use the
CLI command volume mirror add.

Since this is on-line data replication, the source volume does not need to
be taken off-line and write operations to the source volume can continue
while the mirror is being created. Any data written to the volume will be
included in the added child(ren). Use this command to replace a failed
disk in a mirrored volume without taking the mirror off-line.

The added child can be any type of volume, except transparent or snapshot,
and it must be the same size or greater than the actual capacity of the mirror
volume.

In Figure 8-1, a mirrored volume with two children has another child added.
The mirrored volume stays at the head of the hierarchy.

Advertising