Repair process fails with a mount folder volume on Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.4.1
    • Component/s: Diagnostics
    • Environment:
      db version v2.4.1
      build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
    • ALL
    • Hide

      1) Start a mongod instance with dbpath: "E:\mongodb\data\db" and directoryperdb: true parameters.
      2) Create a database "cacheagg", insert some data and stop instance
      3) Rename folder "E:\mongodb\data\db\cacheagg" to "E:\mongodb\data\db\cacheagg_migrate"
      3) Create a mounted folder on "E:\mongodb\data\db\cacheagg"
      4) Move all files from "E:\mongodb\data\db\cacheagg_migrate" to "E:\mongodb\data\db\cacheagg"
      5) Start instance and you review that everything is ok and then stop instance
      6) Start repair process
      options:

      { auth: true, dbpath: "E:\mongodb\data\db", directoryperdb: true, keyFile: "C:\mongodb\bin\keyfilecacheagg.txt", logpath: "E:\mongodb\log\mongo.log", repair: true, repairpath: "E:\mongodb\data\db\mongodb_repair" }
      Show
      1) Start a mongod instance with dbpath: "E:\mongodb\data\db" and directoryperdb: true parameters. 2) Create a database "cacheagg", insert some data and stop instance 3) Rename folder "E:\mongodb\data\db\cacheagg" to "E:\mongodb\data\db\cacheagg_migrate" 3) Create a mounted folder on "E:\mongodb\data\db\cacheagg" 4) Move all files from "E:\mongodb\data\db\cacheagg_migrate" to "E:\mongodb\data\db\cacheagg" 5) Start instance and you review that everything is ok and then stop instance 6) Start repair process options: { auth: true, dbpath: "E:\mongodb\data\db", directoryperdb: true, keyFile: "C:\mongodb\bin\keyfilecacheagg.txt", logpath: "E:\mongodb\log\mongo.log", repair: true, repairpath: "E:\mongodb\data\db\mongodb_repair" }
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We create use a mounted folder on Windows to use a database on a different volume for improve performance disk.
      I tried to use repair option, the repair process fails with a error to access to the mounted folder (see logs).

        1. repair_error_mount_folder.txt
          23 kB
        2. mongo_mount_folder.PNG
          mongo_mount_folder.PNG
          12 kB

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            David Verdejo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: