LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   disk quotas (https://www.linuxquestions.org/questions/red-hat-31/disk-quotas-678776/)

shahz 10-24-2008 05:29 AM

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

TB0ne 10-24-2008 08:39 AM

Quote:

Originally Posted by shahz (Post 3320667)
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.

shahz 10-25-2008 12:13 AM

Quote:

Originally Posted by TB0ne (Post 3320782)
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

chrism01 10-28-2008 01:01 AM

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.

shahz 10-28-2008 01:38 AM

I made another user and it works fine don't know really what was the problem.


thanks
shahz


All times are GMT -5. The time now is 11:57 PM.