LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 10-24-2008, 06:29 AM   #1
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Rep: Reputation: 29
disk quotas


Hi,

I have configured disk quotas for my users within /home directory. every thing was working okay but now when I added a new user and added disk quota for him and typed the command.

#repquota -a
user +- 15288324 15000000 16000000 6days 17979 0 0

the + in the beggining shows that the user has filled his disk quota. but the user is newly made and there is nothing within his home directory.

any body knows what can be wrong thanks in advance.

shahz
 
Old 10-24-2008, 09:39 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,102

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
Quote:
Originally Posted by shahz View Post
Hi,

I have configured disk quotas for my users within /home directory. every thing was working okay but now when I added a new user and added disk quota for him and typed the command.

#repquota -a
user +- 15288324 15000000 16000000 6days 17979 0 0

the + in the beggining shows that the user has filled his disk quota. but the user is newly made and there is nothing within his home directory.

any body knows what can be wrong thanks in advance.

shahz
Without details, you could have put his home directory in the wrong place, typed in the quota command wrong, or had someone copy a ton of stuff into that directory when you weren't looking.
 
Old 10-25-2008, 01:13 AM   #3
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by TB0ne View Post
Without details, you could have put his home directory in the wrong place, typed in the quota command wrong, or had someone copy a ton of stuff into that directory when you weren't looking.
his home directory was made when I made the user with useradd command, and there is nothing within his home directory. but the repquota -a command shows that directory is full.

thanks
shahz
 
Old 10-28-2008, 02:01 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
The repquota shows how much diskspace his uid is using, doesn't have to be in his home dir, could be anywhere eg /tmp.
As an example, are you absolutely sure you haven't re-used a previously used uid?
Use the find cmd to check for files owned by his id across your disks.
 
Old 10-28-2008, 02:38 AM   #5
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
I made another user and it works fine don't know really what was the problem.


thanks
shahz
 
  


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
Disk Quotas aniketgore Linux - Newbie 1 01-13-2008 09:17 AM
Disk Quotas or What? dalponis Linux - Software 3 02-04-2006 08:53 AM
Disk Quotas mdk3 Linux - General 12 07-06-2005 05:41 PM
disk quotas johnnycash Linux - General 1 03-16-2004 09:12 AM
disk quotas skeletal29 Linux - General 1 10-13-2002 05:42 PM


All times are GMT -5. The time now is 09:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration