SUMMARY: quotas

From: Mariel Feder (mfeder@meralco.com.ph)
Date: Tue Feb 24 1998 - 16:13:26 CST


ORIGINAL QUESTION:

We have a quotas defined for our users on a disk on an Ultra 2, running
Solaris 2.5.1
Everything worked ok, until today when one user exceeded his quota.
After deleting some files, and changing ownership of other, now with
repquota I see:
          used: 66424
          soft limit: 40000
          hardlimit: 45000

However, the user only has 20 M on the disk, according to du -sk on its
home. I run quotacheck two or three times already, and everything is
the
same.

I also used the find -user .... command, to see if there are more files
belonging to this user hidden somewhere else in the file system, but I
can't find them.

The only thing I can think of, is to reboot the server in single user,
and run fsck on the file system, but I wouldn't like to shutdown the
machine, because it is the main server and the developers wouldn't
be very happy.

Has anyone seen this problem before? How could I solve it?
Thanks in advance
Mariel

REPLIES:

Most of the repliers agreed that the problem was that
probably there were processes run by this user, that still
had the files open, therefore the deletion will not be reflected
until the end of this processes.
To find out this processes, the options are to use ps and grep
and kill them, or also check with the lsof utility.
I should have remembered this myself.

Thanks to everybody for their answers:

Mattias Zhabinskiy <mattias@txc.com>
"DJEVANS.AU.ORACLE.COM" <DJEVANS@au.oracle.com>
Aaron Dewell <dewell@woods.net>

Mariel



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:31 CDT