{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12018","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12018/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12018/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12018/events","html_url":"https://github.com/elastic/elasticsearch/issues/12018","id":92845822,"number":12018,"title":"ElasticSearch 1.6 fails to start with an empty/missing fstab","user":{"login":"peikk0","id":1555947,"avatar_url":"https://avatars.githubusercontent.com/u/1555947?v=3","gravatar_id":"","url":"https://api.github.com/users/peikk0","html_url":"https://github.com/peikk0","followers_url":"https://api.github.com/users/peikk0/followers","following_url":"https://api.github.com/users/peikk0/following{/other_user}","gists_url":"https://api.github.com/users/peikk0/gists{/gist_id}","starred_url":"https://api.github.com/users/peikk0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peikk0/subscriptions","organizations_url":"https://api.github.com/users/peikk0/orgs","repos_url":"https://api.github.com/users/peikk0/repos","events_url":"https://api.github.com/users/peikk0/events{/privacy}","received_events_url":"https://api.github.com/users/peikk0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core","name":":Core","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"rmuir","id":504194,"avatar_url":"https://avatars.githubusercontent.com/u/504194?v=3","gravatar_id":"","url":"https://api.github.com/users/rmuir","html_url":"https://github.com/rmuir","followers_url":"https://api.github.com/users/rmuir/followers","following_url":"https://api.github.com/users/rmuir/following{/other_user}","gists_url":"https://api.github.com/users/rmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/rmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmuir/subscriptions","organizations_url":"https://api.github.com/users/rmuir/orgs","repos_url":"https://api.github.com/users/rmuir/repos","events_url":"https://api.github.com/users/rmuir/events{/privacy}","received_events_url":"https://api.github.com/users/rmuir/received_events","type":"User","site_admin":false},"milestone":null,"comments":20,"created_at":"2015-07-03T10:31:48Z","updated_at":"2016-04-19T07:44:11Z","closed_at":"2015-07-10T09:29:53Z","body":"Hi,\r\n\r\nI'm running ES in a FreeBSD jail, so there is no fstab and no mount point visible. And since I upgraded ES to version 1.6, it no longer start because it fails to obtain a lock because \"Mount point not found in fstab\" (file permissions are ok).\r\n\r\n```\r\n[2015-07-03 12:22:10,088][INFO ][node                     ] [Awesome Android] version[1.6.0], pid[42071], build[cdd3ac4/2015-06-09T13:36:34Z]\r\n[2015-07-03 12:22:10,088][INFO ][node                     ] [Awesome Android] initializing ...\r\n[2015-07-03 12:22:10,092][INFO ][plugins                  ] [Awesome Android] loaded [], sites []\r\n[2015-07-03 12:22:10,133][ERROR][bootstrap                ] Exception\r\norg.elasticsearch.ElasticsearchIllegalStateException: Failed to obtain node lock, is the following location writable?: [/var/db/elasticsearch/mon]\r\n        at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:158)\r\n        at org.elasticsearch.node.internal.InternalNode.<init>(InternalNode.java:162)\r\n        at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)\r\n        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:77)\r\n        at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:245)\r\n        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)\r\nCaused by: java.io.IOException: failed to obtain lock on /var/db/elasticsearch/mon/nodes/49\r\n        at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:145)\r\n        ... 5 more\r\nCaused by: java.io.IOException: Mount point not found in fstab\r\n        at sun.nio.fs.BsdFileStore.findMountEntry(BsdFileStore.java:86)\r\n        at sun.nio.fs.UnixFileStore.<init>(UnixFileStore.java:65)\r\n        at sun.nio.fs.BsdFileStore.<init>(BsdFileStore.java:40)\r\n        at sun.nio.fs.BsdFileSystemProvider.getFileStore(BsdFileSystemProvider.java:53)\r\n        at sun.nio.fs.BsdFileSystemProvider.getFileStore(BsdFileSystemProvider.java:37)\r\n        at sun.nio.fs.UnixFileSystemProvider.getFileStore(UnixFileSystemProvider.java:368)\r\n        at java.nio.file.Files.getFileStore(Files.java:1413)\r\n        at org.elasticsearch.env.NodeEnvironment.getFileStore(NodeEnvironment.java:256)\r\n        at org.elasticsearch.env.NodeEnvironment.access$000(NodeEnvironment.java:62)\r\n        at org.elasticsearch.env.NodeEnvironment$NodePath.<init>(NodeEnvironment.java:75)\r\n        at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:134)\r\n        ... 5 more\r\n```\r\n\r\nWhy does it even need to access /etc/fstab just to obtain a lock?"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/211779181","html_url":"https://github.com/elastic/elasticsearch/issues/12018#issuecomment-211779181","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12018","id":211779181,"user":{"login":"hydrapolic","id":3277373,"avatar_url":"https://avatars.githubusercontent.com/u/3277373?v=3","gravatar_id":"","url":"https://api.github.com/users/hydrapolic","html_url":"https://github.com/hydrapolic","followers_url":"https://api.github.com/users/hydrapolic/followers","following_url":"https://api.github.com/users/hydrapolic/following{/other_user}","gists_url":"https://api.github.com/users/hydrapolic/gists{/gist_id}","starred_url":"https://api.github.com/users/hydrapolic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydrapolic/subscriptions","organizations_url":"https://api.github.com/users/hydrapolic/orgs","repos_url":"https://api.github.com/users/hydrapolic/repos","events_url":"https://api.github.com/users/hydrapolic/events{/privacy}","received_events_url":"https://api.github.com/users/hydrapolic/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T07:44:11Z","updated_at":"2016-04-19T07:44:11Z","body":"This is still an issue on Linux."}}