Closed mabras closed 4 years ago
Normally BBB mongod creates a tmpfs ramdisk for performance reason on
tmpfs 524288 6616 517672 2% /mnt/mongo-ramdisk
In the startup procedure, if you mount an NFS/fs on top of /mnt, this obfuscate the mongod tmpfs, causing it to crash. Do not mount the scalelite NFS filesystem on /mnt on BBB nodes, choose another directory, elsewhere, but not /mnt! In the scalelite's documentation there is a suggestion for /mnt but only for the scalelite server, not for the BBB nodes, even if i do not like to mount an application NFS share onto a system directory, as this can cause confusion to other system tools, like you experienced. In my opinion, choose any /namedir you like to use as the NFS mountpoint for all the cluster servers and change the configs accordingly.
Documentation doesn't really say you should mount it on /mnt, rather it says to mount it on /mnt/scalelite-recordings. Fine like that.
Yes, my mistake.
When I mount NFS with this:
Or if I add this to my fstab:
mongod service failed:
This would not work:
I have to run:
After the restart everything work as expected.
Thanks