Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26696

Accessing lost+found when using directoryPerDB

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

      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 Mark Agarunov
            Reporter:
            lorne.schachter Lorne Schachter
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: