Veritas Storage Foundation 5.1 SP1 for Oracle RAC Administrator"s Guide (5900-1512, April 2011)

# vxdg list |grep data
galaxy_data1 enabled,shared,cds 1201715530.28.pushover
Select the data disk belonging to galaxy_data1:
# vxdisk -o alldgs list |grep galaxy_data1
c1t2d0s2 auto:cdsdisk c1t2d0s2 galaxy_data1 online shared
c1t2d1s2 auto:cdsdisk c1t2d1s2 galaxy_data1 online shared
c1t2d2s2 auto:cdsdisk c1t2d2s2 galaxy_data1 online shared
The following command lists the PR keys:
# vxdisk -o listreserve list c1t2d0s2
........
........
Alternatively, the PR keys can be listed using vxfenadm command:
# echo "/dev/vx/dmp/c1t2d0s2" > /tmp/disk71
# vxfenadm -g all -f /tmp/disk71
Device Name: /dev/vx/dmp/c1t2d0s2
Total Number Of Keys: 2
key[0]:
Key Value [Numeric Format]: 66,80,71,82,48,48,48,52
Key Value [Character Format]: BPGR0004
key[1]:
Key Value [Numeric Format]: 65,80,71,82,48,48,48,52
Key Value [Character Format]: APGR0004
Evaluating the number of SCSI-3 PR keys on a coordinator LUN, if there
are multiple paths to the LUN from the hosts
The utility vxfenadm (1M) can be used to display the keys on the coordinator LUN.
The key value identifies the node that corresponds to each key. Each node installs
a registration key on all the available paths to the LUN. Thus, the total number
of registration keys is the sum of the keys that are installed by each node in the
above manner.
See About the vxfenadm utility on page 114.
Prevention and recovery strategies
Managing SCSI-3 PR keys in SF Oracle RAC cluster
240