LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with "quotacheck"... (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-quotacheck-240247/)

p_test 10-08-2004 10:48 AM

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 ?

Mikhail_16 10-08-2004 12:16 PM

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.


All times are GMT -5. The time now is 05:39 PM.