One of the indexer in production, is in shutdown state. While trying to start splunk service on this server, it fails with the following error message.
homePath='/dev/splunk/var/lib/splunk/audit/db' of index=_audit on unusable filesystem.
Validating databases (splunkd validatedb) failed with code '1'. If you cannot resolve the issue(s) above after consulting documentation, please file a case online at http://www.splunk.com/page/submit_issue
I did try to read through the troubleshooting article and even with “OPTIMISTIC_ABOUT_FILE_LOCKING=1” splunk service start up is still failing with same error.
Folder was accessible. Files were readable. However due to corrupt filesystem was not able to write anything in the said directory as splunk user which was the cause for the issue. Host was rebooted to fix the issue.