Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th August 2004, 04:35 AM
mtekc's Avatar
mtekc Offline
Registered User
 
Join Date: Jun 2004
Posts: 30
quotacheck command not found on fedora

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.

What can i do ? any ideas ?

PS: Im running FC2
Reply With Quote
  #2  
Old 9th August 2004, 06:07 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
You ran it as an ordinary user. It is in /sbin/quotacheck, not in a user's path.

Also, from the man page:
Quote:
NOTE
quotacheck should only be run by super-user. Non-privileged users are
presumably not allowed to read all the directories on the given
filesystem.
So I would run it as root: enter
Code:
su -
and the root password, and run it.
Reply With Quote
  #3  
Old 9th August 2004, 06:08 PM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
please don't write bold

and you can use the su - command to become root.

//edit: jman edited his post
__________________
--
http://twitter.com/ik12
Reply With Quote
  #4  
Old 9th August 2004, 07:21 PM
mtekc's Avatar
mtekc Offline
Registered User
 
Join Date: Jun 2004
Posts: 30
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

Is it different for fedora ?

Last edited by mtekc; 9th August 2004 at 10:16 PM.
Reply With Quote
  #5  
Old 10th August 2004, 09:20 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
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.
Reply With Quote
  #6  
Old 10th August 2004, 11:24 PM
mtekc's Avatar
mtekc Offline
Registered User
 
Join Date: Jun 2004
Posts: 30
/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..
Reply With Quote
  #7  
Old 11th August 2004, 11:56 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
You can probably unmount it in single user mode. Run
Code:
telinit 1
Reply With Quote
  #8  
Old 12th August 2004, 07:30 PM
mtekc's Avatar
mtekc Offline
Registered User
 
Join Date: Jun 2004
Posts: 30
Thanks a lot Jman !

Got it working. Thanks for the help
Reply With Quote
  #9  
Old 12th August 2004, 11:22 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
No problem.
Reply With Quote
Reply

Tags
command, fedora, quotacheck

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable login into fedora 9 and getting error as bash:command not found sri22 Using Fedora 3 19th September 2008 12:26 PM
terminal command problem "chkconfig: command not found" Omni-Tom Using Fedora 3 19th July 2008 03:29 AM
Command not found Dave Smith Using Fedora 2 18th July 2004 07:25 AM


Current GMT-time: 23:44 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat