sg_persist PR in: command not supported

Hello experts,

I have some problem about sg_persist command:

root@hosta:/root > sg_persist --in --report-capabilities -v /dev/sdb
inquiry cdb: 12 00 00 00 24 00
VMware Virtual disk 1.0
Peripheral device type: disk
Persistent Reservation In cmd: 5e 02 00 00 00 00 00 20 00 00
persistent reservation in: transport: Host_status=0x10 [DID_TARGET_FAILURE]
Driver_status=0x08 [DRIVER_SENSE, SUGGEST_OK]

persistent reservation in: Fixed format, current; Sense key: Illegal Request
Additional sense: Invalid command operation code
Sense Key Specific: Error in Command byte 0
PR in: command not supported

root@hosta:/root > sg_persist /dev/sdb

No service action given; assume Persistent Reserve In command
with Read Keys service action
VMware Virtual disk 1.0
Peripheral device type: disk
persistent reservation in: transport: Host_status=0x10 [DID_TARGET_FAILURE]
Driver_status=0x08 [DRIVER_SENSE, SUGGEST_OK]

PR in: command not supported

Do you know any hint about how to analyze and solve this problem?

Thanks & Best Regards,
Tong Ning

Tongninguniverse,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com

Hi Ting Ning,

[QUOTE=tongninguniverse;25635]Hello experts,

I have some problem about sg_persist command:

root@hosta:/root > sg_persist --in --report-capabilities -v /dev/sdb
inquiry cdb: 12 00 00 00 24 00
VMware Virtual disk 1.0
Peripheral device type: disk
Persistent Reservation In cmd: 5e 02 00 00 00 00 00 20 00 00
persistent reservation in: transport: Host_status=0x10 [DID_TARGET_FAILURE]
Driver_status=0x08 [DRIVER_SENSE, SUGGEST_OK]

persistent reservation in: Fixed format, current; Sense key: Illegal Request
Additional sense: Invalid command operation code
Sense Key Specific: Error in Command byte 0
PR in: command not supported

root@hosta:/root > sg_persist /dev/sdb

No service action given; assume Persistent Reserve In command
with Read Keys service action
VMware Virtual disk 1.0
Peripheral device type: disk
persistent reservation in: transport: Host_status=0x10 [DID_TARGET_FAILURE]
Driver_status=0x08 [DRIVER_SENSE, SUGGEST_OK]

PR in: command not supported

Do you know any hint about how to analyze and solve this problem?[/QUOTE]

It will help to provide specifics of what’s behind that virtual disk you’re querying, persistent SCSI reservations need to be supported by the underlying layer.

Regards,
Jens