VMFS datastore storage path down events in vCenter
book
Article ID: 422347
calendar_today
Updated On:
Products
VMware vSphere ESX 8.x
Issue/Introduction
The VMFS datastore experiences storage path failures, leading to an All Paths Down (APD) state.
You also notice the VM disks are being rendered in read-only mode, causing application failure/stoppage.
Environment
VMware vSphere ESXi 8.x
Cause
The underlying storage device is marked as Read only by the storage array, as confirmed by the specific entry in the vmkernel.log: YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu52:2099165)Fil6: 4289: '<datastore_name>': Fil6 file IO (<FD c16 r1>) : Read only
The vmkernel log shows failed write commands (SCSI code H:0x0 D:0x2 P:0x0 with sense data 0x7 0x27 0x0), indicating the storage device is Write-Protected/Data-Protected. YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu0:2098288)ScsiDeviceIO: 4686: Cmd(0x45baa8515a00) 0x8a, CmdSN 0x3fd from world 622XXXX to dev "naa.################################" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x7 0x27 0x0 YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu0:2098288)ScsiDeviceIO: 4686: Cmd(0x45baceeb89c0) 0x8a, CmdSN 0x344 from world 622XXXX to dev "naa.################################" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x7 0x27 0x0
Resolution
Engage the storage vendor to determine why the LUN is marked read-only/Write-Protect.