HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96078, February 2008)

A - 11
Mirror Start
Mirror Stop
Command MIRROR START
Description Initiates the mirror process
Syntax
MIRROR START <con_id> [CLEAN | DIFFERENT [,NEWER] ,CHECKSUM]
[ORPHANS |NOORPHANS] [CALC
ULATE]
Options con_id—Connection ID assigned to the source/target connection
CLEANDeletes all files in the specified target path prior to mirroring
DIFFERENT—Mirrors only those files that are different based on the file date, time, and/or size
NEWERMirrors only those files that are newer on the source than on the target
CHECKSUM—Mirrors only those blocks that are different based on block checksum comparisons
ORPHANSRemoves orphan files on the target
NOORPHANS—Does not remove orphan files on the target
CALCULATE—Calculate the size of the replication set prior to mirroring
Examples
mirror start 1 different, newer
mirror start 3 clean
mirror start 2 different, checksum
Notes In order to use the clean option, you must have the cleaner program setting enabled. For
detailed information, see the cleaner option in the table
Storage Mirroring Text Client program
settings
on page 14-11.
By default, orphan files will not be removed and the size of the replication set database will be
calculated.
Command MIRROR STOP
Description Stops a paused mirror
Syntax
MIRROR STOP <con_id | *>
Options con_id—Connection ID assigned to the source/target connection
*—Specifies all connection IDs
Examples
mirror stop 1
mirror stop *