You observe that one or more LUNs report an Operational State of "Detached" across multiple ESXi hosts in a cluster. This persistent software-level state typically follows a transient All-Paths-Down (APD) event or administrative action. Although SAN zoning is correct, standard HBA rescans and host reboots do not restore access. Log analysis reveals the status administratively off with the specific event code esx.problem.scsi.device.state.off.
vmkernel.log or vobd.log:Device <NAA_ID> has been turned off administratively.esx.problem.scsi.device.state.offESXi (All versions)
External storage attached
The ESXi kernel applies a persistent "off" attribute to the storage device after an administrator manually detaches the LUN from the ESXi host. This software-level flag prevents data corruption during transient pathing issues but remains active even after physical connectivity is restored. In ESXi 8.x, this state persists through reboots and rescans until you manually clear it.
To restore access to the storage environment, you must first clear the administrative block on the device and then manually mount the file system.
Re-attach the Storage Device
esxcli storage core device set --state=on -d <NAA_ID>Manually Mount the VMFS Datastore