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

There are no preallocated journal files created in specified folder when mongod start up at first time

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Incomplete
    • Icon: Critical - P2 Critical - P2
    • None
    • None
    • None
    • None

    Description

      Backgrouds:
      I installed below 2 rpm packages on CentOS 6.3(Final) 64bits
      mongo-10gen-2.2.1-mongodb_1.x86_64.rpm
      mongo-10gen-server-2.2.1-mongodb_1.x86_64.rpm

      Symptom:
      When mongod startup at first time, there are no preallocated journal files created in specified folder.As aside note, the journal option is enable by default.

      Questions:
      It is normal case or not? I review manual in www.mongodb.org site. It claims "If no journal files exist, when mongod starts, it MUST preallocates new journal files"

      I posted mongod relevant configurations:
      #################################################################################################

      1. mongo.conf

      #where to log
      logpath=/drbd0/mongo/log/mongod.log

      logappend=true

      1. fork and run in background
        fork = true

      port = 27017

      dbpath=/drbd0/mongo/data

      1. location of pidfile
        pidfilepath = /var/run/mongodb/mongod.pid
      1. Disables write-ahead journaling
      2. nojournal = true
      1. Enables periodic logging of CPU utilization and I/O wait
        #cpu = true
      1. Turn on/off security. Off is currently the default
        #noauth = true
        #auth = true
      1. Verbose logging output.
        #verbose = true
      1. Inspect all client data for validity on receipt (useful for
      2. developing drivers)
        #objcheck = true
      1. Enable db quota management
        #quota = true
      1. Set oplogging level where n is
      2. 0=off (default)
      3. 1=W
      4. 2=R
      5. 3=both
      6. 7=W+some reads
        #diaglog = 0
      1. Ignore query hints
        #nohints = true
      1. Disable the HTTP interface (Defaults to localhost:27018).
        #nohttpinterface = true
      1. Turns off server-side scripting. This will result in greatly limited
      2. functionality
        #noscripting = true
      1. Turns off table scans. Any query that would do a table scan fails.
        #notablescan = true
      1. Disable data file preallocation.
        #noprealloc = true
      1. Specify .ns file size for new databases.
      2. nssize = <size>
      1. Accout token for Mongo monitoring server.
        #mms-token = <token>
      1. Server name for Mongo monitoring server.
        #mms-name = <server-name>
      1. Ping interval for Mongo monitoring server.
        #mms-interval = <seconds>
      1. Replication Options
      1. in replicated mongo databases, specify here whether this is a slave or master
        #slave = true
        #source = master.example.com
      2. Slave only: specify a single database to replicate
        #only = master.example.com
      3. or
        #master = true
        #source = slave.example.com

      bind_ip=admin1_ss_nc

      replSet=rstest
      #################################################################################################

      Thanks in advanced!
      James Zhou

      Attachments

        Activity

          People

            Unassigned Unassigned
            jameszhou jameszhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: