LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2004, 11:48 AM   #1
p_test
Member
 
Registered: Aug 2004
Location: Jaipur(Rajasthan), INDIA
Posts: 35

Rep: Reputation: 15
problem with "quotacheck"...


hi

i am facing problem while running quotacheck.....please help
I wanted to create 'aquota.user' & 'aquota.group' files in the home directory.

i ran the quotacheck command as ...
#quotacheck -vug /home
it was giving message similar to " could not mount /home.........."
therefore i restarted the system. i had already added the usrquota & grpquota entries in the fstab file .

Following are the commands that i placed and the messages that i got....

#cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
/dev/hda3 swap swap defaults 0 0
/dev/hda2 /home ext3 defaults, usrquota, grpquota 1 2


with the above fstab file and after restarting i again used the quotacheck command and got the following message..

#quotacheck -vug /home
quotachech : Cannot get quotafile name for /dev/hda2
quotachech : Cannot get quotafile name for /dev/hda2


please help me out....if i 'm missing out any step or following a wrong procedure.

Q. what do the digits at the end of each entry in fstab file signify ?
 
Old 10-08-2004, 01:16 PM   #2
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
To avoid typing a long howto, go here and attentively read the part about quotas:

http://www.gentoo.org/doc/en/gentoo-....xml#doc_chap6

The numbers in the end of fstab string are (IIRC) priority of mounting and whether or not the partition should be checked on boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 05:36 PM
problem with "quotacheck"... p_test Linux - Enterprise 4 08-04-2005 02:10 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
Sound problem with "alsamixer" or "alsaconf" or sth else maybe... Mikuda Linux - Games 4 05-01-2004 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration