Last updated 4 years ago
Was this helpful?
sudo systemctl start mongod.service
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
mongod --dbpath=/var/lib/mongodb
restart mongo db