Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

ESXi "Bootbank cannot be found at path '/bootbank'": what it means and what to do first

Technical article
VMware

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

The message Bootbank cannot be found at path '/bootbank' means ESXi has lost its connection to the device it boots from, such as an SD card, a USB drive, a local HBA or a boot controller. The host often shows Not Responding in vCenter while its VMs keep running. Save the host configuration before anything else, because Broadcom warns that a reboot of a host whose boot device has failed permanently may end in a total boot failure.

What the error means

ESXi keeps its system files on the boot device in boot banks. Broadcom's system storage page for ESX 9.0 lists four partitions: System Boot, Boot-bank 0, Boot-bank 1 and ESX-OSData. It says ESX-OSData consolidates the legacy scratch partition, the locker partition for VMware Tools and the core dump destinations. When the host cannot read or write that device, /bootbank cannot be resolved and the alert appears in vmkernel.log, in hostd.log and as a warning in the vSphere Client.

Broadcom has several KBs for the same text, with different causes:

  • KB 388495 (no version range) describes a loss of connectivity between the hypervisor and the boot device (SD card, USB or local HBA). It says this is often due to hardware degradation or firmware issues on controllers such as the Cisco UCS M7 series or the HPE NS204i, and that it is fixed in ESXi 8.0 Update 3 and higher.
  • KB 440920 (ESXi 8.x) shows the same message with SCSI sense data for a hardware error and an internal target failure on the boot device. KB 440920 gives a hardware cause and no version fix.
  • KB 317914 (ESXi 7.0 Update 2c and below) describes USB and SD boot devices, whose small queue depth lets a race condition in the storage stack time out. It says it is fixed in 7.0 Update 2d and higher, and that a host reboot is required to restore connectivity.
  • KB 318611 (ESXi 7.0.0 and 6.7) describes a USB bus reset that makes ESXi treat the reconnected boot device as a new device, and a corrupt VMFS-L locker partition.

A host that is up but whose /bootbank link points to /tmp is a different state, with its own KB, 318029: configuration changes do not survive a reboot.

Likely causes

Cause What you see How to confirm
Boot controller or media hardware fault H:0x5 write failures and H:0x1 NO_CONNECT in vmkernel.log; smartd warnings for the boot device in syslog.log vmkfstools -Ph -v10 bootbank fails with Could not open bootbank
Internal target failure on the boot device (ESXi 8.x) Sense data 0x4 0x44 0x0; a local datastore on the same device inaccessible The sense line in vmkernel.log
USB or SD queue-depth race (ESXi 7.0 Update 2c and below) Transient storage condition, suggest retry and Cancelled Cmd(0x...) 0x1a for vmhba32 The build is 7.0 Update 2c or older and the device is vmhba32 or similar
USB device reconnect and locker corruption (ESXi 7.0.0, 6.7) esx.problem.vmfs.resource.corruptondisk for a LOCKER- volume vobd.log lines for the locker volume
Bootbank links point to /tmp Settings roll back after each reboot ls -al / shows bootbank and altbootbank pointing to /tmp

Prove the cause before changing anything

These checks only read. If SSH is slow, as KB 388495 says it can be, give each command time to finish.

1. Search the logs for the alert and the device errors. The KBs show these files:

grep -i bootbank /var/run/log/vmkernel.log /var/run/log/hostd.log
grep -E "H:0x1|H:0x5|0x4 0x44" /var/run/log/vmkernel.log
grep smartd /var/run/log/syslog.log

A good result is no Bootbank line. A bad one is the alert with SCSI errors on the same device name, or smartd lines for the boot device.

2. Try to read the boot bank. KB 388495 gives this command for the status of the boot disk:

vmkfstools -Ph -v10 bootbank

On a failed boot device the KB shows Could not open bootbank and Error: Unable to access device, please check your connection to the device.

3. Look at where the links point. KB 318029 uses a directory listing of the root:

ls -al /

A healthy host shows bootbank and altbootbank pointing under /vmfs/volumes/ with a UUID. /tmp/ is the state KB 318029 describes.

4. Check the hardware console. Read the boot controller and drive health there. KB 440920 says the hardware vendor must run offline diagnostics on the boot device, the backplane and the storage controller.

5. Note whether scratch shares the device. KB 388495 says that if logs are missing for the time of the fault, check whether the scratch partition and bootbank are configured on the same device. If they are, move scratch to a separate device; the topic "ESXi Logs Vanish After Reboot: Check the Active Scratch Location" covers how to read it.

Fix

First save the host configuration while the host can still run. KB 313510 gives these commands for ESXi 8.x and ESX 9.x. The last one prints a download URL for a configBundle file. Download it from that URL and keep it off the host:

vmware -vl
vim-cmd hostsvc/firmware/sync_config
vim-cmd hostsvc/firmware/backup_config

vmware -vl prints the build. KB 313510 says a restore needs the same build and the same host UUID. It also says to check that backup_config creates a folder under /scratch/downloads/. If a command fails or hangs, stop, and do not reboot until the hardware vendor has been asked how to protect the configuration. KB 388495 says SSH to an affected host can be very slow and that scratch can sit on the same device as the bootbank.

Disruptive step: the sequence below ends in a host reboot. KB 388495 warns that if the boot device has failed permanently, a reboot may result in a total boot failure. Every VM on the host stops or must be moved first.

The sequence in KB 388495, in order:

  1. Back up the configuration, as above.
  2. Agree a maintenance window and evacuate all VMs from the host.
  3. Perform a graceful reboot of the host. KB 440920 says a cold boot, which is a complete power cycle through the hardware management console, may be needed, and that it can let the hardware reinitialise.
  4. When the host is back, collect a vm-support bundle.
  5. Ask the hardware vendor to inspect the boot media or HBA, and to check for BIOS or firmware updates.
  6. If the problem persists, replace the faulty boot media.

There is no back-out for a reboot. The saved bundle is the recovery record. Restoring it is a separate, disruptive operation described in KB 313510, and it needs its own plan.

The USB and SD KBs describe version fixes. KB 317914 says the queue-depth fault is fixed in 7.0 Update 2d, and KB 318611 says the reconnect fault is fixed in 7.0 Update 2c and in 6.7 Update 3p. KB 317631, Broadcom's guidance on SD card and USB boot devices, says that SD cards should preferably be replaced with an SSD or another local persistent device.

Confirm the fix

  1. The host shows Connected in vCenter and vmkfstools -Ph -v10 bootbank returns without Could not open bootbank.
  2. ls -al / shows both links under /vmfs/volumes/.
  3. No Bootbank line appears in vmkernel.log after the time of the repair.

What to watch afterwards

  • Watch smartd lines and the boot device's health in the hardware console.
  • Keep a current configuration bundle for every host, with the build number written beside it.
  • Plan to move USB and SD boot media to persistent storage, as KB 317631 prefers.

Example (illustrative): esx03, a rack server with a boot controller, shows Not Responding in vCenter, yet its VMs answer. grep -i bootbank /var/run/log/vmkernel.log shows the alert, and vmkfstools -Ph -v10 bootbank prints Could not open bootbank. The engineer saves the configuration bundle and the output of vmware -vl, books a window, moves the VMs to esx04, and asks the vendor to inspect the controller. The reboot is done only after the bundle is off the host.

Risks and limits

  • These commands have not been run or lab-tested.
  • The message can come from hardware, firmware or a software defect. Broadcom says KB 388495 is fixed in ESXi 8.0 Update 3 and higher, yet KB 440920 reports the same message on ESXi 8.x from a hardware error, so a version alone does not settle the cause.
  • The reboot, a cold boot and a boot media replacement are disruptive and cannot be undone.
  • The sizes and layout in the ESX 9.0 page are for ESX 9.0. Other versions differ and no sizes are given here.
  • This guide covers the message in vmkernel.log and the vSphere Client. It does not cover boot failures at power-on.

Sources