HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011)

Returned values
The pairsyncwait command sets the following returned values during exit, allowing you to check
the execution results.
Returned valueCondition
When the -nowait option is
specified
Normal termination: 0. The status is NOWAIT.
Abnormal termination: Other than 0 to 127, see the execution logs for error details.
Normal termination:
0: The status is DONE (completion of synchronization).
When the -nowait option is
not specified
1: The status is TIMEOUT (timeout).
2: The status is BROKEN (Q-marker synchronized process is rejected).
3: The status is CHANGED (Q-marker is invalid due to resynchronize).
Abnormal termination: Other than 0 to 127, see the execution logs for error details.
Error codes
Unrecoverable errors are fixed and not resolved, even after re-executing the command. If the
command failed, the detailed status will be logged in the RAID Manager command log
($HORCC_LOG), even if the user script has no error handling.
ValueRecommended ActionError MessageError CodeCategory
222Confirm pair status using pairdisplay -l.Invalid volume statusEX_INVVOLVolume status
Unrecoverable
Examples
Examples of the pairsyncwait command with and without the -nowait option follow.
pairsyncwait command examples
# pairsyncwait -g oradb -nowait <=-nowait is specified.
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef NOWAIT 2
# pairsyncwait -g oradb -t 100 <=-nowait is not specified.
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef DONE 2
# pairsyncwait -g oradb -t 1
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef TIMEOUT 3
# pairsyncwait -g oradb -t 100 -m 01003408ef
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef DONE 0
# pairsyncwait -g oradb -t 100
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef BROKEN 0
# pairsyncwait -g oradb -t 100 -m 01003408ef
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef CHANGED 0
ã Q-Marker (01003408ef) is invalid when P-VOL was resynchronized while this command is executed.
The output of the pairsyncwait command is:
UnitID: Unit ID in the case of multiple storage system connection.
CTGID: CTGID within Unit ID.
Q-Marker: The latest sequence # of MCU PVol (Marker) when the command is received.
Status: The status after the execution of command.
Q-Num: The number of process queue to wait for synchronization within the CTGID.
96 Replication commands