Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638
Rep:
The quota command
quota -v
Shows current disk usage and limits.
The above is not true in my Linux. I have Mandrake Linux 10.0 version. Please read the following. Why is this?
[ka@c83-250-88-242 ka]$ quota
bash: quota: command not found
[ka@c83-250-88-242 ka]$
[ka@c83-250-88-242 ka]$ quota -v
bash: quota: command not found
[ka@c83-250-88-242 ka]$
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638
Original Poster
Rep:
Thanks for the reply. What is the meaning of the following?
[ka@c83-250-88-242 ka]$ locate quota
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
[ka@c83-250-88-242 ka]$
Originally posted by Gins Thanks for the reply. What is the meaning of the following?
[ka@c83-250-88-242 ka]$ locate quota
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
[ka@c83-250-88-242 ka]$
It means exactly what it says: the locate database doesn't exist. You can create it by running updatedb.
However, since quota usually is installed in /usr/bin I doubt it's a problem with your PATH variable. So most likely you don't have quota installed on your system.
No, I mean the updatedb command worked. As the above poster had said, it seems like you don't have quota installed (as you can tell from "bash: quota: command not found". So go install it, then run it again.
I don't follow the packaging system of Mandrake [Mandriva] (which you say you are running in your profile), but I had thought they had some tool to get rpms from a central repository? You might want to check out the Mandriva docs, sorry I can't be more help
But yeah, once you find an rpm of quota, you can just install that and rerun quota and it should work.
Those should all be for Mandrake / Mandriva 10, which as I said I assume you are using (right?). Hopefully one of those links has what you need. Remember, to install rpms it is the following command (as root):
Code:
rpm -ivh quota-bla-bla.rpm
If one of those quota rpms installs fine, you should be good to go for running the quota command.
Also, you might want to look into urpmi / easy urpmi, it is some sort of GUI tool for installing RPMs from a Mandriva repository. If it sounds interesting, check out:
Hopefully that would stop you from needing to hunt down individual rpms.
I don't know tons about Mandriva though, but I imagine if you talked to an advanced Mandriva user they could help you a lot more, especially with getting easy install RPMs setup and all that.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638
Original Poster
Rep:
Vgui
I profoundly appreciate all you did to help me. You don't have any obligation to search on my behalf. It was very kind of you. I will come back to you later on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.