https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-18-04-sourcearrow-up-right restart mongo db
The order of volume matter : the first volume is by default the startup volume
Conect to mongo using mongo
mongo
Type show dbs;
show dbs;
It will output all dbs and their space on disk
Last updated 5 years ago
sudo systemctl start mongod.service
mongod --dbpath=/var/lib/mongodb