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

How To Install VMM Agent (SCVMM) Manually

The following snippet assumes that a New Hyper-V Server has been added to the cluster;…

Limitations: VM Import to AWS

VM to AWS instance limitations: - Cannot import VMs that have been created via P2V…

Hyper-V: Clone Linux Guest VM

There are two methods of cloning an existing guest VM: Templating and Copying. Templating has…