Mirroring of volumes reports IO error when using VMDK files with VCS

book

Article ID: 100006765

calendar_today

Updated On:

Description

Error Message

MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: reservation conflict
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: [sdd] Unhandled error code
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_OK
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: [sdd] CDB: Read(10): 28 00 00 94 89 30 00 00 80 00
MM DD HH:MM:SS rhel6-host kernel: end_request: I/O error, dev sdd, sector 9734448
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: reservation conflict
MM DD HH:MM:SS rhel6-host kernel: VxVM vxdmp V-5-0-0 i/o error occured (errno=0x5) on dmpnode 201/0x20
MM DD HH:MM:SS rhel6-host kernel:
MM DD HH:MM:SS rhel6-host kernel: VxVM vxio V-5-0-1266 Subdisk sybasedg01-01 block 9668224: Uncorrectable read error
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: reservation conflict
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: [sdd] Unhandled error code
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_OK
MM DD HH:MM:SS rhel6-host kernel: sd 3:0:0:0: [sdd] CDB: Write(10): 2a 00 00 00 01 3e 00 00 01 00
MM DD HH:MM:SS rhel6-host kernel: end_request: I/O error, dev sdd, sector 318

Cause

When sharing VMDK files between virtual machines, SCSI BUS sharing mode for the corresponding SCSI controllers can be set to either Physical or Virtual modes.

Setting this mode to Physical causes SCSI reservation conflict and I/O errors on DMP. This issue occurs in LVM and raw disks as well.

Resolution

Disable simultaneous write protection for the shared VMDK files, using the procedure from Enabling or disabling simultaneous write protection provided by VMFS using the multi-writer flag

Issue/Introduction

Mirroring volumes using virtual disks from VMDK on a VMWare virtual machine produces IO errors and errors for reservations. This issue occurs only when VMDK files are shared between two or more virtual machines.

Additional Information

ETrack: 2581112