change mongodb data path error

asked 2015-04-21 04:12:10 -0500

fresher gravatar image

I observed that the ceilometer stats that are store in /var/lib/mongodb are filling up the root partition. I tried to change the data path to a folder in /home i.e. /home/mongodb. I changed the owner of this folder to mongodb. But when I start the mongod service it gives me error.

I even tried using soft link from /var/lib/mongodb to /home/mongodb but still it did not work. I has stopped the ceilometer services before making these changes.

Please help me solve this issue.

edit retag flag offensive close merge delete