Operating System - Tru64 Unix
1751924 Members
4577 Online
108783 Solutions
New Discussion юеВ

Re: User and Group Quotas not work .

 
Slayer Slayer
Frequent Advisor

User and Group Quotas not work .

Hello All,

Tru64 4.0G

Last saturday i had to shutdown the machine due to some infra-structure changes.
I also did the following steps to get rid of these messages at /var/adm/messages.

vmunix: chk_bf_quota: user quota underflow for user
vmunix: chk_bf_quota: group quota underflow for group

make a copy of fstab
#vi /etc/fstab
like:
root_domain#root / advfs rw,userquota,groupquota 0 1
# init 0
shutdown
# boot -fl s
boot single user
# bcheckrc
check and mount local file systems
# quotacheck -a -v >/usr/tmp/quota.log 2>&1
Reports discrepancies between the calculated and recorded disk quotas.
restore old copy of fstab
reboot

I did all of these with success but today i checked the messages files and the following messages still appearing ..
Is there any other step to take in order to make these damm messages disapear ?

Thanks a lot in Advance.

Bruno
6 REPLIES 6
Michael Schulte zur Sur
Honored Contributor

Re: User and Group Quotas not work .

Bruno,

is there any reason you do not have user and group quota in fstab? As much as I know, it is recommended even though you do not use quotas.

Michael
Ralf Puchner
Honored Contributor

Re: User and Group Quotas not work .

Bruno,

use the search function, this question was made several times. Why flodding this forum with obsolete questions?
Help() { FirstReadManual(urgently); Go_to_it;; }
Slayer Slayer
Frequent Advisor

Re: User and Group Quotas not work .

Hey thanks for the response.
Specially to Michael.
So i am going to add userquota and groupquota and leave it there.

Ralf Puchner
Honored Contributor

Re: User and Group Quotas not work .

Bruno,

Ok I will do so.

Btw. if you really read the previous replies to similar problems you must understood what causes this problem and how to solve it.
Help() { FirstReadManual(urgently); Go_to_it;; }
Michael Schulte zur Sur
Honored Contributor

Re: User and Group Quotas not work .

Ralf,

while you are right with Bruno asking an old question, it still does not answer the question why this message appears so often in the first place. Other than in a crash this should not be the case, at least no so frequently.

Michael


The quotacheck command examines each specified file system, builds a table
of current disk usage, and compares this table against that stored in the
disk quota file for the file system. If any inconsistencies are detected,
both the quota file and the current system copy of the incorrect quotas are
updated. Each file system must be mounted with quotas enabled.
Ralf Puchner
Honored Contributor

Re: User and Group Quotas not work .

Michael,

the .quota files are not "quota" only features, advfs uses this files for internal use also (without quota commands etc.). There is also a note within the release notes of v4.x systems. So if reading the old answers and pointers to the documentation leads to a knowledge which are suitable to fix the problem.
Help() { FirstReadManual(urgently); Go_to_it;; }