The datastore and VMs accessing the datastore become inaccessible.
Environment
VMware vSphere 7.x
VMware vSphere 8.x
Cause
Note: Increasing the size of the datastore backing lun from the storage side doesn't automatically increase the size of the datastore on the VMware infra. To increase the size of the datastore - Extending or increasing a datastore through vCenter Server fails
After a datastore is extended from host level, a storage rescan must be completed on all ESXi hosts accessing the datastore so that they detect the new size of the datastore.
If a storge rescan is not run, or if it fails on a host, then, when that host next queries the volume metadata it will find a mismatch between the extended volume size recorded there (i.e. "stored size 8589819905 blocks") and its cached record of the original smaller device size (i.e. "actual size 6442448863"). As the device appears to the host to be smaller than its stored size, a "Device Shrank" warning will be returned.
If the datastore is mounted across multiple clusters and all the hosts have not been rescanned after the size of the lun has been increased then we see this issue since vCenter is displaying all the details in the UI after connecting with one of the host randomly.
Subsequently, if a write is attempted to the extended part of the volume, from a host which has not been rescanned then it will trigger a warning "Address temporarily unmapped" because it has determined that the device shrank and that the addressed part of the device is unavailable.
Resolution
A cluster or datacenter level rescan will trigger all hosts to detect the new size of the datastore and the datastore will become accessible. VMs which became inaccessible may need to be restarted.
Additional Information
Impact/Risks: The datastore will be reported as inaccessible on hosts on which "Address temporarily unmapped" is reported. VMs will become inaccessible.