- Im doing some big data integrations in MongoDB at the moment.
- MongoDB's files are stored at /data/db
- Scientific Linux has automatically setup
root
to have a small amount of disk space and me,bob
to have a huge amount.
.
[bob@bob etc]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_bob-lv_root
50G 5.5G 44G 12% /
tmpfs 7.7G 284K 7.7G 1% /dev/shm
/dev/sda1 485M 43M 418M 10% /boot
/dev/mapper/vg_bob-lv_home
1.8T 277M 1.7T 1% /home
[bob@bob etc]$
- For some reason, MongoDB is limited to
root
's disk quota - even though I've addedbob
to the sudoers and runsudo service mongod start
asbob
. - How can I let this spill over?
Essentially I would like to simply remove all disk quotas and let all users use however much they want.
What is the simplest way to do this?
sudo service mongod start
will runservice
as root, whoever you are when you launch that command.