View Full Version : quotacheck command not found on fedora
9th August 2004, 04:35 AM
Im trying to setup the quotas
i add it the :
usrquota,grpquota to the /etc/fstab and reboot it the system .
then i ran the command quotacheck and i get command not found. :confused:
What can i do ? any ideas ?
PS: Im running FC2
9th August 2004, 06:07 PM
You ran it as an ordinary user. It is in /sbin/quotacheck, not in a user's path.
Also, from the man page:
quotacheck should only be run by super-user. Non-privileged users are
presumably not allowed to read all the directories on the given
So I would run it as root: enter su - and the root password, and run it.
9th August 2004, 06:08 PM
please don't write bold
and you can use the su - command to become root.
//edit: jman edited his post :p
9th August 2004, 07:21 PM
i know that has to be done under root.
But now im getting this when i run it
/sbin/quotacheck -acug /home
Bad number of arguments
im trying to follow this from redhat
Disk Quotas (http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-disk-quotas.html)
Is it different for fedora ?
10th August 2004, 09:20 PM
Back to the manpage, all those options exist. However, -a, -u, and -g are quite similar, so this may be causing the confusion?
Try it without the -a option.
10th August 2004, 11:24 PM
/sbin/quotacheck -cug /home
quotacheck: Cannot remount filesystem mounted on /home read-only so counted values might not be right. Please stop all programs writing to filesystem or use -m flag to force checking.
Do i have to force with the -m flag ? because i cant umount /home ..its busy.. :mad:
11th August 2004, 11:56 PM
You can probably unmount it in single user mode. Run telinit 1
12th August 2004, 07:30 PM
Thanks a lot Jman !
Got it working. Thanks for the help :)
12th August 2004, 11:22 PM
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.