User Tools

Site Tools


aix:aix_disk_reservation

Release disk reservation

[root@labo]/root# devrsrv -c query -l hdisk0
Device Reservation State Information
==================================================
Device Name                     :  hdisk0
Device Open On Current Host?    :  NO
ODM Reservation Policy          :  NO RESERVE
Device Reservation State        :  NO RESERVE

To release the reservation on the hdisk0 device, enter the following commands:

[root@labo]/root# devrsrv -c release -l hdisk0

Force mode

The hdisk0 device is reserved with key 777 from another I/O path. To release this reservation from the other client, enter the following command:

[root@labo]/root# devrsrv -f -l hdisk0
       Device Reservation State Information
       ==================================================
       Device Name                     :  hdisk16
       Device Open On Current Host?    :  NO
       ODM Reservation Policy          :  PR SHARED
       ODM PR Key Value                :  5555
       Device Reservation State        :  PR SHARED
       Reservation will be cleared on the device. Do you want to continue y/n:y
       Command Successful
aix/aix_disk_reservation.txt · Last modified: 2022/09/20 11:35 by manu