The lucene index files location health check fails for BTRFS and probably other sub-volume file system mounts.
BTRFS sub-volume mounted
Mount a BTRFS sub-volume
Configure JIRA to store index files on BTRFS volume mount
Run health check
Health check is able to resolve the volume and validate conditions are met to pass the check, or fails based on conditions.
The below exception is thrown displayed in the health check:
It looks like there is an issue with Java and sub-volume mounts in linux which BTRFS supports. Here's an open issue describing the problem for OpenJDK:
While OpenJDK is not supported by Atlassian, it appears that the Oracle Java impelmentation has the same issue as noted in this thread by Elasticsearch users seeing the same issue with BTRFS:
The call that throws the exception is:
Move the JIRA home directory to a non sub-volume mounted file system.
There is also a BTRFS specific workaround mentioned in the Elasticsearch issue, but it is specific to their configuration and linux version.