Ответ в теме: Не могу сделать ImportVG

Главная Форумы POWER Systems AIX/Hardware Не могу сделать ImportVG Ответ в теме: Не могу сделать ImportVG

#43390
Владимир
Участник

http://www-01.ibm.com/support/docview.wss?uid=ssg1S7000303&aid=15

страница 143-144

3. To query and display which type of persistent reservation is on

a device, enter pcmquerypr -Vh /dev/hdisk#.

The following output indicates there is SCSI-2 reserve on the

device:

# pcmquerypr -Vh /dev/hdisk27

connection type: fscsi3

open dev: /dev/hdisk27

Attempt to read reservation key…

*> ioctl(PR_READ) error; errno = 5 (I/O error)

*> status_validity=0x1, scsi_bus_status=0x2

Attempt to read reservation key…

*> ioctl(PR_READ) error; errno = 5 (I/O error)

*> status_validity=0x1, scsi_bus_status=0x18

Attempt to read reservation key…

*> ioctl(PR_READ) error; errno = 5 (I/O error)

*> status_validity=0x1, scsi_bus_status=0x18

Attempt to read reservation key…

*> ioctl(PR_READ) error; errno = 5 (I/O error)

*> status_validity=0x1, scsi_bus_status=0x18

The following output indicates that there is SCSI-3 reserve on

the device:

# pcmquerypr -Vh /dev/hdisk43

connection type: fscsi0

open dev: /dev/hdisk43

Attempt to read reservation key…

*> ioctl(PR_READ) error; errno = 5 (I/O error)

*> status_validity=0x1, scsi_bus_status=0x2

Attempt to read reservation key…

Attempt to read registration keys…

Read Keys parameter

Generation : 12

Additional Length: 32

Key0 : 0x3236303232344446

Key1 : 0x3236303232344446

Key2 : 0x3236303232344446

Key3 : 0x3236303232344446

resrvpolicy= no_reserve

Reserve Key provided by current host = none (hex)0924ffff

Reserve Key on the device: 0x3236303232344446

Reservation key type: 0x6

Device is reserved by SDD device.

4. To release the persistent reservation if the device is reserved by

the current host, enter pcmquerypr -rh /dev/hdisk30.

This command releases the persistent reserve if the device is

reserved by the current host. It returns 0 if the command

succeeds or the device is not reserved. It returns 2 if the

command fails.

Chapter 3. Using SDDPCM on an AIX host system 143

5. To reset any persistent reserve and clear all reservation key

registrations, enter pcmquerypr -ch /dev/hdisk30.

This command resets any persistent reserve and clears all

reservation key registrations on a device. It returns 0 if the

command succeeds, or 2 if the command fails.

6. To remove the persistent reservation if the device is reserved by

another host, enter pcmquerypr -ph /dev/hdisk30.

This command removes an existing registration and persistent

reserve from another host. It returns 0 if the command succeeds

or if the device is not persistent reserved. It returns 2 if the

command fails.