title: Unable to lock the lock file: /data/db/mongod.lock. Another mongod instance is already running on the /data/db directory, terminating
body: <p>I trying to run mongodb statefulset with three replicas in kubernetes using nfs persistence storage. Out of three pods mongo-0 pod is in running and another two pods are showing <code>CrashLoopBackOff</code>. I saw the logs of those two pods and getting the error like </p>
  
  <blockquote>
    <p>2018-11-27T21:38:18.581+0000 I STORAGE  [initandlisten] exception in initAndListen: DBPathInUse: Unable to lock the lock file: /data/db/mongod.lock (Unknown error). Another mongod instance is already running on the /data/db directory, terminating</p>
  </blockquote>
  
  <p>Here the <a href="https://github.com/BalipalliGayathri/Mongosfs-nfs/tree/master" rel="nofollow noreferrer">link</a> for my pv, pvc and mongodb statefulset files.</p>
  
  <p>Could anybody suggest me on this issue? </p>