SANRAD V-Switch Switch User Manual


 
146 SANRAD V-Switch User Manual
volume create snapshot
You need four parameters to create a snapshot volume:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-vol
VOLUME SNAPSHOT NAME MANDATORY
-src
SOURCE SOURCE OF
SNAPSHOT
MANDATORY
-ch
CHILD SNAPSHOT CHILD MANDATORY
-lt
LOAD THRESHOLD PERCENTAGE FULL
AT DESTINATION
TO TRIGGER AN
ALARM
OPTIONAL
DEFAULT: 80%
Example:
Figure 77 shows a source volume with its first snapshot when the snapshot
is first created. Initially, a snapshot is empty because there has not yet been
a change in its source volume. Only when a write operation is performed
on the source volume will the snapshot begin to fill up. The pointer table
for the snapshot would point to the source volume for all sectors.
volume create snapshot –vol Snapshot1 –src QATesting –
dst Snapshot1 -lt 80
10254
Snapshot1
QA Testing
MM
AO
AS
NH
AN
SS
UN
PT
Figure 77. 1
st
Snapshot
Figure 78, page 147 shows the same source and snapshot volume after a
write operation to sector 1. The original data, S, from sector 1 is first copied
to the snapshot and then the new data, B, is written to the source volume.