ESXi upgrade fails with any method i.e. using ISO file, offline bundle, using VLCM.
"A general system error occurred: Remediation failed for host xxxxxx"
Below log entries are registered in esxupdate.log
Error getting data for filesystem on '/vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx': Cannot open volume: /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx, skipping.
Running 'df -h' also gives below error,
VmFileSystem: Slow refresh failed: Cannot open volume: /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx
Error when running esxcli, return status was: 1
Errors:
Error getting data for filesystem on '/vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx': Cannot open volume: /vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx, skipping.
ESXi 7.x
ESXi 8.x
ESXi has a duplicate OSDATA-xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx system partition which is inaccessible, preventing the HA vib from updating .
The duplicate/inaccessible OSDATA-/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx, shows in red when checked through command 'ls -lh /vmfs/volumes'.
You can also identify the correct OSDATA by matching the output of below commands,
vmkfstools -P /vmfs/volumes/bootbank1-UUID | grep 'naa'
vmkfstools -P /vmfs/volumes/bootbank2-UUID | grep 'naa'
vmkfstools -P /vmfs/volumes/OSdata1-UUID | grep 'naa'
vmkfstools -P /vmfs/volumes/OSdata2-UUID | grep 'naa'
vim-cmd hostsvc/firmware/sync_configvim-cmd hostsvc/firmware/backup_configls -lh /vmfs/volumesesxcli storage filesystem unmount --volume-uuid=(UUID of affected datastore)ls -lh /vmfs/volumes