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 killed **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, because there is the same structure.
Is there some way to deal wiith it ?
**Your help will be greatly appreciated!**