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

Returned values
The pairvolchk command sets the following returned values during exit, allowing you to check the
execution results.
Table 14 pairvolchk returned values
ValueCondition
Normal termination:When the -ss
option is not
specified
1: The volume attribute is SMPL.
2: The volume attribute is P-VOL.
3: The volume attribute is S-VOL.
Abnormal termination: Other than 0 to 127, see the execution log files for error details.
Normal termination:When the -ss
option is specified
11: The status is SMPL.
Abnormal termination: Specific error codes (see Error codes) and generic error codes.
22: The status is P-VOL_COPY or P-VOL_RCPY.For Continuous
Access
23: The status is P-VOL_PAIR.
Synchronous and
Business Copy
24: The status is P-VOL_PSUS.
25: The status is P-VOL_PSUE.
26: The status is P-VOL_PDUB (Continuous Access Synchronous & LUSE volume only).
29: The status is P-VOL_INCSTG (inconsistent status in group). Not returned.
32: The status is S-VOL_COPY or S-VOL_RCPY.
33: The status is S-VOL_PAIR.
34: The status is S-VOL_PSUS.
35: The status is S-VOL_PSUE.
36: The status is S-VOL_PDUB (Continuous Access Synchronous & LUSE volume only).
39: The status is S-VOL_INCSTG (inconsistent status in group). Not returned.
To identify Continuous Access Asynchronous/Cnt Ac-J, the pairvolchk command returns a value
which is 20 more than the Continuous Access Synchronous status code and adds PFUL and PFUS
states to return code to identify sidefile status of Continuous Access Asynchronous or Cnt Ac-J
journal file.
42: The status is P-VOL_COPY.For Continuous
Access
43: The status is P-VOL_PAIR.
Asynchronous and
44: The status is P-VOL_PSUS.
Continuous Access
Journal
45: The status is P-VOL_PSUE.
46: The status is P-VOL_PDUB (Continuous Access Synchronous & LUSE volume only).
47: The status is P-VOL_PFUL.
48: The status is P-VOL_PFUS.
52: The status is S-VOL_COPY or S-VOL_RCPY.
53: The status is S-VOL_PAIR.
54: The status is S-VOL_PSUS.
55: The status is S-VOL_PSUE.
56: The status is S-VOL_PDUB (Continuous Access Synchronous & LUSE volume only).
57: The status is S-VOL_PFUL.
58: The status is S-VOL_PFUS.
For group status, see:
214: EX_EXQCTG
216: EX_EXTCTG
236: EX_ENQVOL
46 Replication commands