How to I get mongo to use a mounted drive on ec2? I really do not understand. I attached a volume on ec2 formatted the drive as root and start as root and yet as root I ca
You just have to give access to your /data/db folder.
/data/db
Type sudo chown -R /data/db, replace by your username.
sudo chown -R /data/db
You can find your username by typing whoami.
whoami