title: Neo4j - Error when having the data folder on external hard drive
body: <p>I can start Neo4j without issues using default settings.</p>
  
  <p>Now I try to have my Neo4j data in a folder of an external hard drive because I don't have enough space on my local machine for an import. 
  So in my neo4j.conf I have set: <code>dbms.directories.data=/Volumes/INTENSO/richRich/neo4j-data</code>. Then on <code>neo4j start</code> a <code>databases</code> folder gets created, but the database shuts down immediately after start. This is what I perceived as useful from the debug.log stacktrace:</p>
  
  <pre><code>...
  
  2018-07-22 11:25:55.745+0000 INFO [o.n.k.i.DiagnosticsManager] --- INITIALIZED diagnostics END ---
  2018-07-22 11:25:55.912+0000 INFO [o.n.b.BoltKernelExtension] Bolt Server extension loaded.
  2018-07-22 11:25:56.069+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Selected format 'RecordFormat:StandardV3_4[v0.A.9]' for the new store
  2018-07-22 11:25:56.118+0000 WARN [o.n.k.NeoStoreDataSource] Exception occurred while setting up store modules. Attempting to close things down. Unable to open store file: /Volumes/INTENSO/richRich/neo4j-data/databases/graph.db/neostore.nodestore.db.labels
  org.neo4j.kernel.impl.store.UnderlyingStorageException: Unable to open store file: /Volumes/INTENSO/richRich/neo4j-data/databases/graph.db/neostore.nodestore.db.labels
  
  ...
  
  Caused by: org.neo4j.io.pagecache.impl.FileLockException: Already locked: /Volumes/INTENSO/richRich/neo4j-data/databases/graph.db/neostore.nodestore.db.labels
  
  ...
  </code></pre>
  
  <p>I checked <code>/Volumes/INTENSO/richRich/neo4j-data/databases/graph.db/neostore.nodestore.db.labels</code> and the file is there. I also made everything chmod -R 777 to ensure that there are no permission issues.</p>
  
  <p>OS: latest MacOS
  Neo4j: 3.4.4 Community Edition</p>