LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-12-2012, 12:58 PM   #1
Griever92
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
repquota reporting incorrect values?


Hi all,

I seem to be having an issue with my quota system, being that it is reporting incorrect values using the repquota command, as such, I can not accurately define user quotas. Seen below, reported space and file usage does not match what is seen with my own checks using 'du -sh' and 'ls -alR [target] | wc -l'

Code:
[grievesrv :: griever92 /home] sudo repquota -s /home
*** Report for user quotas on device /dev/md3
Block grace time: 7days; Inode grace time: 7days
                        Space limits                File limits
User             used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
griever92  --   1289G      0K      0K          13084     0     0
dcbrand    --  87693M      0K      0K          11397     0     0
awarwick   --   3740K      0K      0K             18     0     0
xnakashoji --     16K      0K      0K              4     0     0
freeleech  --   3260K      0K      0K            803     0     0

[grievesrv :: griever92 /home] du -sh /home/griever92/
1.4T    /home/griever92/
[grievesrv :: griever92 /home] ls -alR griever92/ | wc -l
28874

[grievesrv :: griever92 /home] du -sh /home/dcbrand/
86G     /home/dcbrand/
[grievesrv :: griever92 /home] ls -alR dcbrand/ | wc -l
15500

[grievesrv :: griever92 /home] du -sh /home/awarwick/
85G     /home/awarwick/
[grievesrv :: griever92 /home] ls -alR awarwick/ | wc -l
12986

[grievesrv :: griever92 /home] du -sh /home/xnakashoji/
16K     /home/xnakashoji/
[grievesrv :: griever92 /home] ls -alR xnakashoji/ | wc -l
7

[grievesrv :: griever92 /home] du -sh /home/freeleech/
85G     /home/freeleech/
[grievesrv :: griever92 /home] ls -alR freeleech/ | wc -l
12946
Unfortunately, I haven't been able to find much in the way of a solution for this, so I was hoping someone here might have an idea or two.

Also, would anyone be aware of a way to exclude 'links' from being calculated in the quotas and disk usage?
As an example, user 'freeleech' is simply a file repository. Users awarwick, dcbrand and griever92 are members of the 'freeleech' group, and as such, have access to said repository.
These files, which are physically located within the freeleech home folder, are copied/linked to each of these users' home folders (cp -al [source] [target] )
Alternatively, if this is not possible, I could always point these users directly into the freeleech home directory, but i'd like to avoid that and isolate them to their own obviously.


[EDIT]
Well, now quotas are working properly, not sure what changed, but i'll take it.

Last edited by Griever92; 11-13-2012 at 07:36 AM.
 
Old 11-14-2012, 03:48 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Thread is marked as closed.

Taken off the zero-reply list.
 
  


Reply



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
top linux command reporting wrong values Vikneels Linux - General 1 05-21-2009 06:47 PM
kcore reporting incorrect size magiconexxx Linux - Software 3 04-04-2007 10:47 PM
incorrect swap reporting on SLES9.3 da_tibmeister SUSE / openSUSE 2 09-07-2006 01:10 PM
repquota (and edquota) report incorrect "used" blocks/inodes.. marcolof Linux - General 0 02-18-2005 09:26 AM
Qt Parted reporting incorrect parition types nrunge Linux - Software 2 01-28-2004 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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
Open Source Consulting | Domain Registration