File quota on Filesystemroot increased from 1,2 MB to 128 GB -> repquota very slow (398 Views)
Reply
Regular Advisor
Posts: 113
Registered: ‎10-06-1998
Message 1 of 4 (398 Views)

File quota on Filesystemroot increased from 1,2 MB to 128 GB -> repquota very slow

Hi,

 

We ran into a strange problem.

from on day to another the quotas-File in the Filesystemroot increased from 1,2 MB to 128 GB.

This seems to make the response of the repquota command very slow (severeal minutes, which used to be fractions of a second).

 

Before raising a call at HP-Support I want to make sure that we did not miss something very simple.

 

We are running HPUX 11.31 on an BL860, Filesystem is on a P2000, and Size of the Filesystem is about 600GB (did not increase very much in the last days)

 

we already switched the Filesystem over to another node (two nodes in an MC-Serviceguard env), but no luck.

 

we also tried to move the huge file away, but almostinstantly there was a new file with exact the same size ...

 

Has anybody had an issue like this ?

 

Thanks in advance,

Christian

never touch a running system
Honored Contributor
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 4 (377 Views)

Re: File quota on Filesystemroot increased from 1,2 MB to 128 GB -> repquota very slow

By any chance, does your system have users with unusually large UID/GID numbers?

 

Or have you recently specified a disk quota for user "nobody" (typically UID -2... or if interpreted as an unsigned number, something rather big)?

MK
Regular Advisor
Posts: 113
Registered: ‎10-06-1998
Message 3 of 4 (359 Views)

Re: File quota on Filesystemroot increased from 1,2 MB to 128 GB -> repquota very slow

Hi Matti,

 

thanks for your response.

 

we have high UIDs/GIDs, but those were working fine for the last years.

 

UID 38272 and GID 6814 were highest until last week;

we then recently added a User with UID 38292 and GID 6722

 

I tried also to remove quotas completely using the quotaoff / quotaon / quotacheck command until I figured out that they are no longer supported.

So there might be a chance that I messed all the quotas up :-(

 

But, this is does not matter very much, because we were using quotas only for a few Users (would be very easy to reconstruct those).

 

The only thing is: I cannot umount/mount the filesystem, because it is heavily used in an manufacturing environment. And therefore I dont want to mess up the filesystem

 

Christian

never touch a running system
Honored Contributor
Posts: 6,271
Registered: ‎12-02-2001
Message 4 of 4 (352 Views)

Re: File quota on Filesystemroot increased from 1,2 MB to 128 GB -> repquota very slow

Those aren't high at all - I was thinking about more-than-16-bit UID values like 4294967294.

(See "id nobody" for an example!)

HP-UX has apparently supported 32-bit UIDs since version 10.20.

 

A huge /quotas file might actually be a sparse file. Use the "du -k" command to see how much disk space it actually occupies - it might be significantly less than the file size as reported by "ls -l".

MK
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.