beautypg.com

HP XP P9500 Storage User Manual

Page 444

background image

Specify this parameter to display the reservation key. The following

explains the items displayed when the -k parameter is specified:

Reservation Key

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.

sdn

Specify the SCSI device (sdn) for which you want to display or clear the

reservation key. You can specify more than one SCSI device.
If you omit this parameter, the utility displays or clears the reservation

keys for all SCSI devices.

-a

Even if an error occurs during processing, processing continues for all

remaining SCSI devices.

-h

Displays the format of the utility for clearing HDLM persistent reservation.

Example

To check the reservation keys, and then clear a reservation key:

1

.

Execute the dlmpr utility to display the reservation keys for sda, sdb,
sdc, sdd, sde, and sdf.

# /opt/DynamicLinkManager/bin/dlmpr -k sda sdb sdc sdd sde sdf

sda Reservation Key : [0xaaaaaaaaaaaaaaaa]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 1

sdb Reservation Key : [0xbbbbbbbbbbbbbbbb]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 2

Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 2

sdc Reservation Key : [0xbbbbbbbbbbbbbbbb]

Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 4

sdd Reservation Key : [0xaaaaaaaaaaaaaaaa]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 4

sde Reservation Key : [0x0000000000000000]

sdf Reservation Key : [0x0000000000000000]

Regist Key : [0xaaaaaaaaaaaaaaaa], Key Count : 1

Regist Key : [0xbbbbbbbbbbbbbbbb], Key Count : 1

2

.

Execute the dlmpr utility to clear the reservation key.

# /opt/DynamicLinkManager/bin/dlmpr -c sdb sdc

7-34

Utility Reference

Hitachi Dynamic Link Manager User Guide (for Linux(R))

This manual is related to the following products: