title: Workaround for createrepo without placing the SQLite DB on NFS?
body: <p>I want to build a local YUM repository on (my) NFS so it does not take up space of the host and others can access it. When I try to create a repository in the NFS directories I got the follow error.</p>
  
  <pre><code>[root@d62539456920 /]# createrepo /data/docker-ce-stable/ -g comps.xml
  Could not create exclusive lock in /data/docker-ce-stable/repodata and sqlite database generation enabled. Is this path on nfs? Is your lockd running?
  </code></pre>
  
  <p>Has any one worked out a way where you can have <code>createrepo</code> use the directories without placing the SQLite DB in the NFS?</p>