LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05:29 AM   #1
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

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, 08:39 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 12:13 AM   #3
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

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, 01:01 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 01:38 AM   #5
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

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


thanks
shahz
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:52 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
Open Source Consulting | Domain Registration