--dbpath does not support drive root properly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.3
    • Component/s: Storage
    • None
    • Environment:
      Windows 7 x64
    • Windows
    • Hide

      Attempt to have MongoDB use a drive root as dbpath and run it as a Windows Service.

      Show
      Attempt to have MongoDB use a drive root as dbpath and run it as a Windows Service.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Configured a mongod instance where I had dedicated a separate drive for storage and assigned it the drive letter M.

      While trying to setup mongod as a Windows service, it would not take "M:\" as a valid dbpath, But it would take "M:". For simplicity's sake (nothing else would be using the drive) I wanted to store all data at the root directory.

      Things appeared to be working correctly because files were being allocated in M:\ as the databases grew. However, upon inspection, all data was actually being written to C:\Windows\System32\m_<db name>.x and the files on M:\ were zeroed out and empty.

      I created a directory on M for data and moved the datafiles from C to M with no apparent loss of data.

            Assignee:
            Mark Benvenuto
            Reporter:
            Peter Graening
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: