注意事項
# lsattr -El hdisk12 | grep PR_key_value
PR_key_value 0xaaaaaaaaaaaaaaaa Reserve Key 真
使用例
Reservation Keyを確認したあと,自ホスト以外のReservation Keyをクリアする場合
# /usr/DynamicLinkManager/bin/dlmpr -k hdisk1 hdisk2 hdisk3 hdisk4 hdisk5 hdisk6 hdisk7 hdisk8 hdisk9 hdisk10
self Reservation Key : [0xaaaaaaaaaaaaaaaa]
hdisk1 Reservation Key : [0x????????????????] , reserve_policy : PR_exclusive
hdisk2 Reservation Key : [0x0000000000000000] , reserve_policy : no_reserve
hdisk3 Reservation Key : [0xaaaaaaaaaaaaaaaa] , reserve_policy : PR_exclusive
Regist Key : [0xaaaaaaaaaaaaaaaa] , Key Count : 4
Regist Key : [0xcccccccccccccccc] , Key Count : 4
hdisk4 Reservation Key : [0xbbbbbbbbbbbbbbbb]*, reserve_policy : PR_exclusive
Regist Key : [0xaaaaaaaaaaaaaaaa] , Key Count : 4
Regist Key : [0xbbbbbbbbbbbbbbbb] , Key Count : 4
hdisk5 Reservation Key : [0xbbbbbbbbbbbbbbbb]*, reserve_policy : no_reserve
Regist Key : [0xbbbbbbbbbbbbbbbb] , Key Count : 4
hdisk6 Reservation Key : [0x0000000000000000] , reserve_policy : single_path
Regist Key : [0xcccccccccccccccc] , Key Count : 4
hdisk7 Reservation Key : [0x????????????????] , reserve_policy : -
hdisk8 Reservation Key : following , reserve_policy : PR_shared
Regist Key : [0xaaaaaaaaaaaaaaaa] , Key Count : 4
Regist Key : [0xdddddddddddddddd] , Key Count : 2
hdisk9 Reservation Key : following , reserve_policy : PR_exclusive
Regist Key : [0xdddddddddddddddd] , Key Count : 2
hdisk10 Reservation Key : [0xbbbbbbbbbbbbbbbb]*, reserve_policy : PR_shared
Regist Key : [0xdddddddddddddddd] , Key Count : 2
KAPL10665-I The dlmpr utility completed.
# /usr/DynamicLinkManager/bin/dlmpr -c hdisk4 hdisk5
KAPL10641-I Reservation Key will now be cleared. Is this OK? [y/n]:y
KAPL10642-I Reservation Key of hdisk4 was cleared.
KAPL10642-I Reservation Key of hdisk5 was cleared.
# /usr/DynamicLinkManager/bin/dlmpr -h
Usage : dlmpr {{ -k | -c } [hdisk名...] [-a] | -h}