VMware Networking Community
derrellb
Contributor
Contributor

UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY error

Went to log into a clients NSX Manager today to start Micro-Seg, and it had an "Unexpected Inconsistency: run fsck Manually" error!  That doesn't sound good.  I have found a solution on other blogs about boot the NSX Manager to an UBUNTU iso, and cleaning up the filesystem using the SUDO....command.

I have created a ticket with tech support about this.

I wanted to get your thoughts as well.  Any special tricks out there?

AND NO!  There are no backups!!!  I tried but they didn't want to create a backup solution at that time.  Hopefully they will now.

Thanks for your help!

Derrell

Reply
0 Kudos
1 Reply
cnrz
Expert
Expert

The best idea would be to restore from the backup, but if not possible fsck and checking services after rebooting the VM may solve the problem.

After running the fsck from the livecd it may be helpful to check if all the NSX Manager services  (vPostgres, RabbitMQ andNSX Manager) have started and NSX Manager has connected to vCenter.

NSX Manager boot fail with partition unexpected inconsistency

Also checking the LUN that NSX Manager is located in against errors, and checking if NSx Manager running with snapshot could be helpful.

For the procedure of fsck detailed steps

https://blah.cloud/virtualisation/recovering-nsx-manager-corrupt-filesystem/

https://www.techcrumble.net/2017/10/vmware-nsx-unexpected-inconsistency-run-fack-manually/

NSX Manager CLI has shutdown command that halts the filesystem before powering off, so if poweroff is needed this command could be used in order to poweroff, similarly reboot command reboots halting the filesystem.

https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.4/nsx_64_cli.pdf

shutdown In Privileged mode, the shutdown command powers off the virtual machine.

reboot Reboots an NSX virtual appliance. Synopsis reboot CLI Mode Privileged

Reply
0 Kudos