Hitachi Dynamic Link Manager Software Users Guide for AIX (6.6) (T5208-96010, April 2011)

7. Utility Reference
330
7.9 dlmpr Utility for Clearing HDLM Persistent Reservation
The persistent reservation of a logical unit (LU) may not be canceled due to some
reason when multiple hosts share a volume group rather than making up a cluster
configuration. In this case, this utility clears the Reservation Key to cancel the
persistent reservation.
7.9.1 Format
/usr/DynamicLinkManager/bin/dlmpr {{-k | -c} [hdisk-name]
[
hdisk-name] ... [-a] | -h}
7.9.2 Parameters
-k
Specify this parameter to display the Reservation Key. The following explains the
items displayed when the
-k parameter is specified:
Reservation Key
An asterisk (
*) is displayed at the end of the Reservation Key for a
Reservation Key of another host.
If the Reservation Key is not set,
[0x0000000000000000] is displayed.
Regist Key
The registered Keys are displayed.
Key Count
The number of registered Keys is displayed.
-c
Specify this parameter to clear the Reservation Key.
Note
Do not use the
-c parameter during normal operation. Once the
Reservation Key is cleared, the hdisk can be accessed from other hosts,
which may lead to data corruption.
Use the
-c parameter only when you need to clear a Reservation Key
that was improperly retained.
When the hdisk-name parameter is omitted, the Reservation Key for the
hdisks that makes up rootvg will not be cleared. In this case, the
KAPL10670-I message is displayed in the execution result.
hdisk-name