If the node specifies
"DatabasePath": "<path>",
"LedgerDB": {
"Backend": "V1LMDB"
}
The LMDB database will be put in mainnet/db/lmdb as that is the default in Cardano.Node.Configuration.LedgerDB.defaultLMDBPath. It should point to <path>/lmdb.
If the node specifies
"DatabasePath": {
"ImmutableDbPath": <p1>,
"VolatileDbPath": <p2>
},
"LedgerDB": {
"Backend": "V1LMDB"
}
The LMDB database will still be put in mainnet/db/lmdb. It should be in <p2>/lmdb.
In short, it should be put in Ouroboros.Consensus.Node.nonImmutableDbPath dbPath </> "lmdb"