Posted On February 20, 2021

Resolving a Corrupted Data Store in ESXi

kimconnect 0 comments
blog.KimConnect.com >> Virtualization >> Resolving a Corrupted Data Store in ESXi

Scenario:

A USB disk has been mounted as a data store and subsequently removed. This error would occur via the UI

SSH session into the console of ESXi host would yield some errors such as this:

Rescan complete, however some dead paths were not removed because they were in use by the system. Please use the 'storage core device world list' command to see the VMkernel worlds still using these paths.

A fix to that would to be ensure that guest VMs are no longer attached to the ‘dead’ data store. Once that is done, the physically detached USB drive would be automatically unmounted and and removed as a listed data store on a rescan. Also these two commands would be necessary:

/etc/init.d/hostd restart
/etc/init.d/vpxa restart

Although the data store has been removed, it’s stale pointer toward a physically removed USB device would still show vie the ls /dev/disks command. Thus, rebooting the ESXi host would be the last step to effectively remove a ‘dead’ USB mounted data store from the machine.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Obtain List of Hyper-V Hosts via Active Directory

# listHyperVHostsInForests.ps1 # Version: 0.03 function listHyperVHostsInForests{ # Ensure that AD management module is available…

Bash Shell: Old School Migration of ESXi Guest Virtual Machines

Step 0: Preparations Estimate file-copying duration for cut-over:- Sustained storage transfer speed using a 1GB…

Network Zones

Corporate Head-Quarter:DMZ: Extranet: VendorsWeb: Front-end Sites (a) Web (b) Application (c) DataPublic: Public, satellite VPN…