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

Accessing lost+found when using directoryPerDB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MMAPv1, Storage
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: