PowerFlex: ESXi SDC Stops Responding in vCenter with All Paths Down
Summary: ESXi servers stop responding in vCenter due to the All Paths Down (APD) state on one or more of the PowerFlex volumes.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
When an ESXi SDC continuously experiences I/O errors on PowerFlex volumes, it may enter the All-Path-Down (APD) state against one or more PowerFlex volumes. This state may cause it to stop responding in vCenter.
Typically:
- Some ESXi hosts show as Disconnected in vSphere clients
- I/O errors accumulate in
vmkernel.log:
2018-01-10T22:30:08.321Z cpu29:33684)ScsiDeviceIO: 2651: Cmd(0x439e41930500) 0x28, CmdSN 0x8819c3 from world 34407 to dev "eui.<mdmId+volId>" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x4 0x0 0x0.
hostd.logmay contain the following errors at the beginning of the APD state:
2017-10-24T17:06:08.144Z info hostd[2AE0BB70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 10313 : Lost connectivity to storage device eui.<mdmId+volId>. Path vmhba64:C0:T27:L91 is down. Affected datastores: <Datastore Name>.
2017-10-24T17:06:08.144Z info hostd[2AE0BB70] [Originator@6876 sub=Hostsvc.VmkVprobSource] VmkVprobSource::Post event: (vim.event.EventEx) {
--> key = 778923875,
--> chainId = 1635216758,
--> createdTime = "1970-01-01T00:00:00Z",
--> userName = "",
--> datacenter = (vim.event.DatacenterEventArgument) null,
--> computeResource = (vim.event.ComputeResourceEventArgument) null,
--> host = (vim.event.HostEventArgument) {
--> name = "PHSVCESQL1018.partners.org",
--> host = 'vim.HostSystem:ha-host'
--> },
--> vm = (vim.event.VmEventArgument) null,
--> ds = (vim.event.DatastoreEventArgument) null,
--> net = (vim.event.NetworkEventArgument) null,
--> dvs = (vim.event.DvsEventArgument) null,
--> fullFormattedMessage = <unset>,
--> changeTag = <unset>,
--> eventTypeId = "esx.problem.storage.apd.start",
--> severity = <unset>,
--> message = <unset>,
--> arguments = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "1",
--> value = "eui.<mdmId+volId>"
--> }
--> ],
--> objectId = "ha-eventmgr",
--> objectType = "vim.HostSystem",
--> objectName = <unset>,
--> fault = (vmodl.MethodFault) null
--> }
2017-10-24T17:06:08.144Z info hostd[2AE0BB70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 10314 : Device or filesystem with identifier eui.<mdmId+volId> has entered the All Paths Down state.
hostd.loghas the messageesx.problem.storage.apd.timeoutwhen thehostdservice stops responding:
2017-10-24T17:06:58.277Z info hostd[29A40B70] [Originator@6876 sub=Hostsvc.VmkVprobSource] VmkVprobSource::Post event: (vim.event.EventEx) {
--> key = 690973144,
--> chainId = 1635216641,
--> createdTime = "1970-01-01T00:00:00Z",
--> userName = "",
--> datacenter = (vim.event.DatacenterEventArgument) null,
--> computeResource = (vim.event.ComputeResourceEventArgument) null,
--> host = (vim.event.HostEventArgument) {
--> name = "ESXi.host.local",
--> host = 'vim.HostSystem:ha-host'
--> },
--> vm = (vim.event.VmEventArgument) null,
--> ds = (vim.event.DatastoreEventArgument) null,
--> net = (vim.event.NetworkEventArgument) null,
--> dvs = (vim.event.DvsEventArgument) null,
--> fullFormattedMessage = <unset>,
--> changeTag = <unset>,
--> eventTypeId = "esx.problem.storage.apd.timeout",
--> severity = <unset>,
--> message = <unset>,
--> arguments = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "1",
--> value = "eui.<mdmId+volId>"
--> },
--> (vmodl.KeyAnyValue) {
--> key = "2",
--> value = "140"
--> }
--> ],
--> objectId = "ha-eventmgr",
--> objectType = "vim.HostSystem",
--> objectName = <unset>,
--> fault = (vmodl.MethodFault) null
--> }
2017-10-24T17:06:58.278Z info hostd[29A40B70] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 10336 : Device or filesystem with identifier eui.<mdmId+volId> has entered the All Paths Down Timeout state after being in the All Paths Down state for 140 seconds. I/Os will now be fast failed.
- Snippet of
vmkwarningthat coincides with the abovehostd:
Notice that the kernel is attempting to remove
vmhba64:C0:T30:L62, but it cannot due to hostd holding it in a busy state during the rescan and stop responding state:
2017-10-24T17:04:38.267Z cpu8:33147)WARNING: NMP: nmpUnclaimPath:1516: NMP device "eui.<mdmId+volId>" quiesce state change failed: Busy 2017-10-24T17:04:38.267Z cpu8:33147)WARNING: ScsiPath: 4507: Path vmhba64:C0:T30:L62 is being removed 2017-10-24T17:04:38.267Z cpu8:33147)WARNING: ScsiPath: 4737: Failed to issue command 0x0 (cmdSN 0x0) on path vmhba64:C0:T30:L62: No connection 2017-10-24T17:04:38.268Z cpu8:33147)WARNING: ScsiScan: 2007: Could not delete path vmhba64:C0:T30:L62 2017-10-24T17:04:38.337Z cpu42:34088)WARNING: NMP: nmp_IssueCommandToDevice:4553: I/O could not be issued to device "eui.<mdmId+volId>" due to Not found 2017-10-24T17:04:38.337Z cpu42:34088)WARNING: NMP: nmp_DeviceRetryCommand:133: Device "eui.<mdmId+volId>": awaiting fast path state update for failover with I/O blocked. No prior reservation exists on the device. 2017-10-24T17:04:38.337Z cpu42:34088)WARNING: NMP: nmp_DeviceStartLoop:725: NMP Device "eui.<mdmId+volId>" is blocked. Not starting I/O from device. 2017-10-24T17:04:38.560Z cpu32:33507)WARNING: NMP: nmpDeviceAttemptFailover:603: Retry world failover device "eui.<mdmId+volId>" - issuing command 0x43a6402bbac0 2017-10-24T17:04:38.560Z cpu32:33507)WARNING: NMP: nmpDeviceAttemptFailover:678: Retry world failover device "eui.<mdmId+volId>" - failed to issue command due to Not found (APD), try again...
- The following is occurring as seen in the
storagermlogs:
2017-10-24T17:05:49.274Z: Write 0xffcda788[512] -> 68 failed. 38:Function not implemented, offset=0, bufLen=512 2017-10-24T17:05:49.274Z: <Datastore Nam, 0> Write error to fd 68, error: Function not implemented 2017-10-24T17:05:49.274Z: <Datastore Nam, 0> I/Os from datastore eui.207d160928aa82202102c97700000060 took 62.962148(>= 30.000000) seconds to complete stats computation. Reducing its polling frequency. 2017-10-24T17:06:58.277Z: Write 0xffcda788[512] -> 58 failed. 6:No such device or address, offset=0, bufLen=512 2017-10-24T17:07:04.484Z: <Datastore Name, 0> Some host is down, need to reset the slot allocation 2017-10-24T17:07:08.554Z: Skipping device eui.207d160928aa82202102c9530000003e either due to VSI read error or abnormal state 2017-10-24T17:07:08.580Z: open /vmfs/volumes//<Datastore Name>/.eui.<mdmId+volId>/slotsfile(0x202, 0x0) failed: Input/output error 2017-10-24T17:07:08.580Z: Input/output error Error -1 opening/truncating file /vmfs/volumes//<Datastore Name>/.eui.<mdmId+volId>/slotsfile
- VMs may show as
/vmfs/volumes/.../...vmxfiles instead of the display name. - DVS ports may start failing because of loss of connectivity with vpxa and vCenter:
2017-10-24T17:06:55.704Z warning hostd[29C81B70] [Originator@6876 sub=Hostsvc.NetworkProvider] Error saving dvport 38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c-14505 to file /vmfs/volumes/59553df0-a1c109ac-b164-54ab3a16bf9d/.dvsData/38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c/14505 2017-10-24T17:06:55.943Z warning hostd[29C81B70] [Originator@6876 sub=Hostsvc.NetworkProvider] Error saving dvport 38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c-8339 to file /vmfs/volumes/59553df0-a1c109ac-b164-54ab3a16bf9d/.dvsData/38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c/8339 2017-10-24T17:06:55.994Z warning hostd[29C81B70] [Originator@6876 sub=Hostsvc.NetworkProvider] Error saving dvport 38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c-15520 to file /vmfs/volumes/59553bbc-77b8edaa-15da-54ab3a16bf9d/.dvsData/38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c/15520 2017-10-24T17:06:56.017Z warning hostd[29C81B70] [Originator@6876 sub=Hostsvc.NetworkProvider] Error saving dvport 38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c-7684 to file /vmfs/volumes/59553bbc-77b8edaa-15da-54ab3a16bf9d/.dvsData/38 c1 36 50 b6 92 e4 32-1f 16 2d 37 80 dd 7b 2c/7684
- Loss of connectivity of VMs and hosts connected to vCenter
Also possible:
- Unable to establish an SSH connection to ESXi or VMs (if the management network is on a Distributed vSwitch)
- Cannot use
esxcliin the console session. (It stops responding, uselocalcliinstead. See the Workaround Section.) - VMs, including SVM, may not be able to power on or off without killing the processes.
- ESXi host may stop responding on reboot or boot.
- The boot process usually, but not necessarily, stops responding after the
nfs41clientmodule is loaded. The following messages are displayed on the host's console (DCUI).
nfs41client loaded successfully
Impact
- Inability to manage ESXi hosts through vCenter or establish an SSH connection.
- No vMotion capabilities
Cause
In the APD state, I/Os from the ESXi user (hostd agent), or any I/Os from guest OS that is not aborted due to timeout by the guest OS, are retried indefinitely, exhausting the system's resources, and leading to the ESXi's unresponsive state in vCenter.
Resolution
- Rebooting ESXi hosts without fixing the underlying APD condition does not help, as the host may enter APD again.
- If there is a requirement to run commands on an ESXi host that is experiencing APD, use "
localcli" instead of "esxcli," as the latter stops responding.
For example:
- Use the following to check if the datastores are showing as mounted:
[root@92U-16:~] localcli storage filesystem list Mount Point Volume Name UUID Mounted Type Size Free ----------------------------------------------------------------------------------------------------------------------------------------- /vmfs/volumes/5975cf1e-9306f9bc-0dbc-a0369fdaccbc SATADOM17 5975cf1e-9306f9bc-0dbc-a0369fdaccbc true VMFS-5 55834574848 53979643904 /vmfs/volumes/59916bcd-22a730ae-db91-a0369fdaccbc LocalDS17 59916bcd-22a730ae-db91-a0369fdaccbc true VMFS-6 1920118816768 986341965824 /vmfs/volumes/5975cf15-c44cea1b-de13-a0369fdaccbc 5975cf15-c44cea1b-de13-a0369fdaccbc true vfat 299712512 83927040 /vmfs/volumes/16a83277-c690cda2-9723-26fe2e41d0c3 16a83277-c690cda2-9723-26fe2e41d0c3 true vfat 261853184 97923072 /vmfs/volumes/5975cf1f-17e61cfc-a0ae-a0369fdaccbc 5975cf1f-17e61cfc-a0ae-a0369fdaccbc true vfat 4293591040 4260626432 /vmfs/volumes/79e9c87d-f55f1864-b3ce-6e24607afc68 79e9c87d-f55f1864-b3ce-6e24607afc68 true vfat 261853184 99840000
- Use the following to attempt a rescan at the host level:
localcli storage filesystem rescan
- If there is a requirement to reboot an ESXi host that is already in APD state, note down the volumes mapped to it, and unmap them temporarily; map them back to the host after the issue is fixed.
Note: If the ESXi host is connected to multiple MDM or PowerFlex systems, only the volumes from the affected system should be unmapped.
- If
unmap_volumeoperation is necessary during the recovery, some of the VMs may have to be re-registered after the volumes are mapped back, and datastores are mounted again.
In version 2.0.1.3, the Permanent Device Loss (PDL) feature was introduced, which is disabled by default. This feature when enabled, can turn APD into PDL after the SDC is unable to send I/O to a volume after 60 seconds. This timeout value may still be longer than some environments can endure without seeing the impact and may require further tuning.
Additional Information
Additional Reading:
Affected Products
PowerFlex rack, ScaleIOArticle Properties
Article Number: 000437810
Article Type: Solution
Last Modified: 27 آذار 2026
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.