Unable to use persistent reservation on FC disks exposed from RHEV-M [3.3.0 version] (Host) to guest OS

Latest response

I have installed RHEV 6.5 on HOST system and using RHEV 3.3 hypervisor.
OS version: RHEV Hypervisor - 6.5 - 20141017.0.el6ev
Kernel version: .6.32 - 431.37.1.el6.x86_64
KVM version: 0.12.1.2 - 2.415.el6_5.14

RHEV-M version: rhevm-3.3.3-0.52.el6ev.noarch

I have exposed two FC disks from host to guest OS (RHEL 6.5) one from 3 PAR array and another from EVA disk array.
I am trying to use persistent reservation (iscsi) command but command is failing.

Please guide me to fix this problem.

On host (host1) persistent reservation is working but in guest system (guest1) persistent reservation command failed.

On host:

[root@host1 ~]# sg_persist -k /dev/sdj -vvv
open /dev/sdj with flags=0x800
inquiry cdb: 12 00 00 00 24 00
duration=23 ms
HP HSV300 0953
Peripheral device type: disk
open /dev/sdj with flags=0x802
Persistent Reservation In cmd: 5e 00 00 00 00 00 00 20 00 00
duration=0 ms
persistent reservation in: Fixed format, current; Sense key: Unit Attention
Additional sense: Power on, reset, or bus device reset occurred
Info fld=0x0 [0]
Raw sense data (in hex):
f0 00 06 00 00 00 00 07 00 00 00 00 29 00 00
requested 8192 bytes but got 0 bytes
PR in: unit attention

[root@host1 ~]# sg_persist -k /dev/sdb -vvv
open /dev/sdb with flags=0x800
inquiry cdb: 12 00 00 00 24 00
duration=0 ms
3PARdata VV 3122
Peripheral device type: disk
open /dev/sdb with flags=0x802
Persistent Reservation In cmd: 5e 00 00 00 00 00 00 20 00 00
duration=1 ms
persistent reservation in: requested 8192 bytes but got 8 bytes
persistent reserve in: response
00 00 00 00 00 00 00 00
PR generation=0x0, there are NO registered reservation keys


On Guest:

guest1:~ # sg_persist -k /dev/sdc
HP HSV300 0953
Peripheral device type: disk
PR in: aborted command
node1:~ # sg_persist -k /dev/sdb
3PARdata VV 3122
Peripheral device type: disk
PR in: aborted command

guest1:~ # sg_persist -k /dev/sdb -vvv
open /dev/sdb with flags=0x800
inquiry cdb: 12 00 00 00 24 00
duration=0 ms
3PARdata VV 3122
Peripheral device type: disk
open /dev/sdb with flags=0x802
Persistent Reservation In cmd: 5e 00 00 00 00 00 00 20 00 00
duration=0 ms
persistent reservation in: Fixed format, current; Sense key: Aborted Command
Additional sense: I/O process terminated
Raw sense data (in hex):
70 00 0b 00 00 00 00 0a 00 00 00 00 00 06 00 00
00 00
PR in: aborted command

guest1:~ # sg_persist -k /dev/sdc -vvv
open /dev/sdc with flags=0x800
inquiry cdb: 12 00 00 00 24 00
duration=0 ms
HP HSV300 0953
Peripheral device type: disk
open /dev/sdc with flags=0x802
Persistent Reservation In cmd: 5e 00 00 00 00 00 00 20 00 00
duration=4 ms
persistent reservation in: Fixed format, current; Sense key: Aborted Command
Additional sense: I/O process terminated
Raw sense data (in hex):
70 00 0b 00 00 00 00 0a 00 00 00 00 00 06 00 00
00 00
PR in: aborted command

Responses