PDA

View Full Version : SLES 12 sg_persist PR in: command not supported



DoraPatterson
17-Nov-2015, 15:07
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,

jmozdzen
17-Nov-2015, 16:07
Hi DoraPatterson,

> persistent reservation in: transport: Host_status=0x10 [DID_TARGET_FAILURE]
> PR in: command not supported

sounds like the target (disk/subsystem) doesn't support PR or VMware won't virtualize this appropriately.

This most likely is an issue with the VMware setup and/or capabilities, so you might want to ask for additional help from their support.

Regards,
Jens