Accessing lost+found when using directoryPerDB

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: MMAPv1, Storage
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Client is using directoryPerDB and dbPath=/data is a mount point. It looks like mongoldb is treating the lost+found directory as a database and trying to access the ns file, which obviously doesn't exist. We should make sure we don't try to access this directory.

      2016-10-17T05:53:11.077-0700 E NETWORK [conn3] Uncaught std::exception: boost::filesystem::status: Permission denied: "/data/lost+found/lost+found.ns", terminating
      2016-10-17T05:53:11.077-0700 I - [conn3] Assertion failure c src/mongo/db/client.cpp 157

            Assignee:
            Mark Agarunov (Inactive)
            Reporter:
            Lorne Schachter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: