SANRAD V-Switch Switch User Manual


 
Chapter 8: Advanced Volume Operations 141
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 72, a mirrored volume with two children has another child added.
The mirrored volume stays at the head of the hierarchy.
10189
Mir
Vol X
1T
Ch1
1T
Ch2
1T
1T
Mir
Ch3
1T
Ch1
1T
Ch2
1T
1T
Figure 72. Adding Another Child to a Mirror
In Figure 73, page 142 , a concatenated volume becomes one child of a new
mirrored volume. This adds a level to the hierarchy. The new mirrored
volume becomes the head of the volume hierarchy. The new mirrored
volume automatically assumes the LUN from the concatenated volume.