Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-18-2005, 09:26 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
repquota (and edquota) report incorrect "used" blocks/inodes..

Repquota says there are twice as many files as there actually are.

This originally started when I overwrote the /aquota.user file with a copy from another machine (mimicing a situation from a production machine). I've tried almost everything[1] I can think of in order to get quota working again, but can't seem to find something that will make quota report the correct information!!

Hitting the disk really hard (physically) or reformatting isn't an option at this point because it's located at a remote location. I guess I could actually
reformat the machine remotely.. hmm..


LABEL=/ / ext3 defaults,usrquota 1 1
#LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

test2|15:48|~|# repquota / | grep atr
atr -- 96 0 0 24 0 0
test2|16:23|~|# find / -xdev -user atr -ls | wc -l

repquota originally reported correct stats for atr and for #<atr's uid>.
After running quotacheck, the stats you see above started coming out..

Any ideas?

Where in Sam Hill's name is quota getting the stat info from?

Thanks in advance,

(btw, any ideas for syncing quotas between to cluster nodes that have local (identically formatted/sized) filesystems will be very appreciated!! copying /aquota.user didn't work out all that well.. 8)

quotaoff -v / ; quotacheck -anmvu; quotaon -v /;
quotaoff -v / ; quotacheck -anmvu -Fvfsv0; quotaon -v /;

I've even tried
quotaoff -v /
rm /aquota.user;
perl -pi -e 's/,usrquota//' /etc/fstab
shutdown -r now
rm -f /aquota.user
perl -pi -e 'if( /^LABEL=\/\s/ ) { s/defaults/defaults,usrquota / }' /etc/fstab
# do the quotacheck hack in rc.sysinit
shutdown -r now
quotaon -v /
with no luck..


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql install error says "please submit bug report" learnfast Linux - Newbie 1 04-30-2005 09:26 AM
Get "530 Login incorrect." trying to FTP to Slackware 9.1 box. RichDawg Linux - Networking 1 07-22-2004 07:45 PM
Getting "530 Login incorrect" trying to ftp to slackware 9.1 box. RichDawg Linux - Newbie 0 07-22-2004 02:05 PM
How to convert KB to "Blocks and Inodes" or quota SammyK Linux - General 4 09-17-2003 01:57 PM
Incorrect IRQ/IO addr. with Zipslack's "tulip" ethernet driver jeffg84 Linux - Networking 0 04-08-2003 12:46 PM > Forums > Linux Forums > Linux - General

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

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