|
Newest Member
|
|---|
| beyondimagem | |
| cool Statistics |
| | coolcommands: | 1330 | | Categories: | 83 | | Total queries: | 595500 | | Members: | 16437 | |
|
|
|
 |
|
|
Category Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
dlmpr - utility for clearing Hitachi SAN HDLM persistent reservation |
Description
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 using HACMP. In this case, this utility clears the Reservation Key to cancel the persistent reservation.
# /usr/DynamicLinkManager/bin/dlmpr {{-k | -c} [hdiskn] | -h}
where:
-k: specify this parameter to display the Reservation Key. The utility displays an asterisk (*) 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.
hdiskn: specify the physical volume (hdiskn) for which you want to display the Reservation Key. You can specify more than one volume. Note: If you do not specify this parameter, the utility displays the Reservation Keys for all the physical volumes.
-a: when multiple physical volumes (hdiskn) are specified, even if an error occurs during processing, the processing continues for all physical volumes.
-h: displays the format of the utility for clearing HDLM persistent reservation.
Note: [0x????????????????] appears for Reservation Key if the destination storage subsystem does not support the persistent reservation or if a hardware error occurs.
Example to execute the dlmpr utility to display the Reservation Keys for hdisk1, hdisk2, hdisk3, hdisk4, hdisk5, and hdisk6:
# /usr/DynamicLinkManager/bin/dlmpr -k hdisk1 hdisk2 hdisk3 hdisk4 hdisk5 hdisk6
self Reservation Key : [0xaaaaaaaaaaaaaaaa] hdisk1 Reservation Key : [0xaaaaaaaaaaaaaaaa] Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 1 hdisk2 Reservation Key : [0xbbbbbbbbbbbbbbbb]* Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 2 Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 2 hdisk3 Reservation Key : [0xbbbbbbbbbbbbbbbb]* Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 4 hdisk4 Reservation Key : [0xaaaaaaaaaaaaaaaa] Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 4 hdisk5 Reservation Key : [0x0000000000000000] hdisk6 Reservation Key : [0x0000000000000000] Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 1 Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 1
Example to execute the dlmpr utility to clear the Reservation Keys for other hosts (marked by an asterisk (*)):
# /usr/DynamicLinkManager/bin/dlmpr -c hdisk2 hdisk3 |
Example
dlmpr -k hdisk1; dlmpr -c hdisk2 |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: how to get the hostid of a HP/UX server
Example: uname -i
[show me the details] |
coolcommand: unshare - to unexport NFS filesystems in Sun Solaris
Example: unshare -F nfs -o ro /disk; unshareall
[show me the details] |
coolcommand: vxdisk - how to clear an import in Veritas Volume Manager
Example: vxdisk clearimport c0t0d0s0
[show me the details] |
coolcommand: dfmounts - display mounted resource information in Sun Solaris
Example: dfmounts
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1152 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 49379 |
| Category AIX | 46267 |
| Category General UNIX | 43933 |
| solaris | 22927 |
| aix | 22116 |
|
|
|
|