The purpose of this article is to highlight the tolerance level of the vmkusb driver to recover from brief SD card disconnections witnessed on the Hardware level.
Symptoms:
ESXi 6.x/7.x hosts experience random All Paths Down events (APDs) on their locally attached SD cards using the vmkusb based USB driver.
YYYY-MM-DDTHH:MM:SS.###Z: [APDCorrelator] 1960326656825us: [vob.storage.apd.start] Device or filesystem with identifier [mpx.vmhba32:C0:T0:L0] has entered the All Paths Down state.
YYYY-MM-DDTHH:MM:SS.###Z: [scsiCorrelator] 1960326656798us: [vob.scsi.scsipath.pathstate.dead] scsiPath vmhba32:C0:T0:L0 changed state from on
YYYY-MM-DDTHH:MM:SS.###Z: [APDCorrelator] 1960324330689us: [esx.problem.storage.apd.start] Device or filesystem with identifier [mpx.vmhba32:C0:T0:L0] has entered the All Paths Down state.
YYYY-MM-DDTHH:MM:SS.###Z: [scsiCorrelator] 1960324334135us: [esx.problem.storage.connectivity.lost] Lost connectivity to storage device mpx.vmhba32:C0:T0:L0. Path vmhba32:C0:T0:L0 is down. Affected datastores: "".
YYYY-MM-DDTHH:MM:SS.###Z: [netCorrelator] 1960335078949us: [vob.net.vmnic.linkstate.up] vmnic vusb0 linkstate up
YYYY-MM-DDTHH:MM:SS.###Z: [netCorrelator] 1960332762933us: [esx.clear.net.vmnic.linkstate.up] Physical NIC vusb0 linkstate is up
YYYY-MM-DDTHH:MM:SS.###Z: [APDCorrelator] 1960466657332us: [vob.storage.apd.timeout] Device or filesystem with identifier [mpx.vmhba32:C0:T0:L0] 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.
YYYY-MM-DDTHH:MM:SS.###Z cpu0:2097360)WARNING: NMP: nmpUnclaimPath:1561: NMP device "mpx.vmhba32:C0:T0:L0" quiesce state change failed: Busy
YYYY-MM-DDTHH:MM:SS.###Z cpu0:2097360)WARNING: ScsiPath: 6506: Path vmhba32:C0:T0:L0 is being removed
YYYY-MM-DDTHH:MM:SS.###Z cpu0:2097360)WARNING: ScsiPath: 6820: Failed to issue command 0x0 (cmdSN 0x0) on path vmhba32:C0:T0:L0: No connection
The ESXi host will remain connected inside vCenter, however, the ESXi operating system will be in a read only state until it is rebooted.
This issue does not re-occur if you move back to the legacy USB driver as outlined here: KB 344764.
*Note: The legacy USB/XHCI drivers are no longer available in ESXi 7.0 and beyond.