Network Card User Manual
Examples
The following examples show typical output from the rescheck command. The Adapter
In Use field shows which adapter path the using system is using.
ssa_rescheck -l hdisk1 produces this type of output:
Disk Primary Secondary Adapter Primary Secondary Reserved
Adapter Adapter In Use Access Access to
hdisk1 ssa0 ------ ssa0 OK ----- none
ssa_rescheck -l hdisk1 -h produces this type of output:
hdisk1 ssa0 ------ ssa0 OK ----- none
The next example shows the disk drive Open by adapter ssa1. The disk drive is
reserved to ssa1, and adapter ssa0 has a Busy status. Because the two adapters are in
the same using system, the Busy status indicates that the node number is not set:
Disk Primary Secondary Adapter Primary Secondary Reserved
Adapter Adapter In Use Access Access to
hdisk2 ssa1 ssa0 ssa1 Open Busy ssa1
The next example shows that the disk drive is reserved to a node, because the
secondary access is OK (not Busy), and the Reserved To field shows the using system
name:
Disk Primary Secondary Adapter Primary Secondary Reserved
Adapter Adapter In Use Access Access to
hdisk2 ssa1 ssa0 ssa1 Open OK abcd.location.com
Return Codes
0 The command has completed successfully.
1 A system error has occurred.
Any other value
An error that is more serious that 0 or 1 has occurred.
Chapter 16. Using the SSA Command Line Utilities 367