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

Mongod killed when database disk is full (with directoryPerDB: true)

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.20, 3.4.15, 3.6.5
    • Component/s: None

      I'm using MongoDB 3.6.5 (already tested on 3.2 / 3.4) and i have enabled "directoryPerDB" in /etc/mongo.conf.

      #mongod.conf

      storage:
      dbPath: /var/lib/mongodb
      journal:
      enabled: true
      directoryPerDB: true

      I created LVM disk's for my databases and symlinked in to /var/lib/mongodb

      Here is problem:

      When one of these lvm's is full, it will kill mongod service, so i can't use the rest of databases, where is free space on storage. Because of that, this will kill my primary node and subsequently the secondary node.

      This is critical problem for us.

      Your help will be greatly appreciated!

            Assignee:
            nick.brewer Nick Brewer
            Reporter:
            polak.martin.mail2@gmail.com Martin Polák
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: