Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* What's wrong with quota.user?
@ 2006-03-13 10:35 Wim Cossement
  2006-03-15  0:46 ` Bob Harris
  0 siblings, 1 reply; 4+ messages in thread
From: Wim Cossement @ 2006-03-13 10:35 UTC (permalink / raw)


I think the size (at least the size-indicator) of qouta.user in a 
locally mounted disk has gone haywire, since it's a 34 GB disk, but in 
it's root there is a 256 GB file present... :-)

This is not causing any trouble, it's just a bit weird to look at...

df -h /kablam
Filesystem      Size  Used Avail Use% Mounted on
/kablam         34G   29G  5.1G  85% /kablam

ls -lh /kablam
total 128K
drwxr-xr-x   2 root root    8.0K Mar 20  2003 TT_DB
drwxr-xr-x  12 root root    8.0K Mar  3 13:11 people
-rw-r-----   1 root dialout  16M Aug 12  2003 quota.group
-rw-r-----   1 root dialout 256G Feb 24 15:04 quota.user

Has anyone heared of something like this yet?
It might have happend after I ran a defragment on the driver but I'm not 
sure about that...

Wimmy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What's wrong with quota.user?
  2006-03-13 10:35 What's wrong with quota.user? Wim Cossement
@ 2006-03-15  0:46 ` Bob Harris
  2006-03-15 11:50   ` Wim Cossement
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Harris @ 2006-03-15  0:46 UTC (permalink / raw)


In article <dv3hud$49i$1@snic.vub.ac.be>,
 Wim Cossement <wcosseme@nospam.bcol.be> wrote:

> I think the size (at least the size-indicator) of qouta.user in a 
> locally mounted disk has gone haywire, since it's a 34 GB disk, but in 
> it's root there is a 256 GB file present... :-)
> 
> This is not causing any trouble, it's just a bit weird to look at...
> 
> df -h /kablam
> Filesystem      Size  Used Avail Use% Mounted on
> /kablam         34G   29G  5.1G  85% /kablam
> 
> ls -lh /kablam
> total 128K
> drwxr-xr-x   2 root root    8.0K Mar 20  2003 TT_DB
> drwxr-xr-x  12 root root    8.0K Mar  3 13:11 people
> -rw-r-----   1 root dialout  16M Aug 12  2003 quota.group
> -rw-r-----   1 root dialout 256G Feb 24 15:04 quota.user
> 
> Has anyone heared of something like this yet?
> It might have happend after I ran a defragment on the driver but I'm not 
> sure about that...
> 
> Wimmy

quota.user is a sparse file.  You need to look at it with ls -s to 
see that actual storage allocated.  Or with the showfile command.

quota entries in the file are stored at the User ID number times 
the size of a quota structure.

It is my guess that a UID of somewhere in the neighborhood of 
0x80000000 more or less was used to create a file.  Maybe the 
nobody account often used by NFS for anonymous guest users has a 
0x80000000 or 0x7fffffff or 0x7ffffffe type value (or something in 
that neighborhood).

                                        Bob Harris


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What's wrong with quota.user?
  2006-03-15  0:46 ` Bob Harris
@ 2006-03-15 11:50   ` Wim Cossement
  2006-03-15 12:34     ` Bob Harris
  0 siblings, 1 reply; 4+ messages in thread
From: Wim Cossement @ 2006-03-15 11:50 UTC (permalink / raw)


Bob Harris wrote:
> quota.user is a sparse file.  You need to look at it with ls -s to 
> see that actual storage allocated.  Or with the showfile command.

Well that's what I though too, it's in fact only 88 blocks large.

> quota entries in the file are stored at the User ID number times 
> the size of a quota structure.
> 
> It is my guess that a UID of somewhere in the neighborhood of 
> 0x80000000 more or less was used to create a file.  Maybe the 
> nobody account often used by NFS for anonymous guest users has a 
> 0x80000000 or 0x7fffffff or 0x7ffffffe type value (or something in 
> that neighborhood).

Quotas are in fact turned off, so it's strange that this file has been 
updated at all.

I did a find for files having nobody or nobodyV as group or user but 
this has found nothing, so I guess I'll just have to leave it like this...

Wimmy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What's wrong with quota.user?
  2006-03-15 11:50   ` Wim Cossement
@ 2006-03-15 12:34     ` Bob Harris
  0 siblings, 0 replies; 4+ messages in thread
From: Bob Harris @ 2006-03-15 12:34 UTC (permalink / raw)


In article <dv8v1k$q3d$1@snic.vub.ac.be>,
 Wim Cossement <wcosseme@nospam.bcol.be> wrote:

> Bob Harris wrote:
> > quota.user is a sparse file.  You need to look at it with ls -s to 
> > see that actual storage allocated.  Or with the showfile command.
> 
> Well that's what I though too, it's in fact only 88 blocks large.
> 
> > quota entries in the file are stored at the User ID number times 
> > the size of a quota structure.
> > 
> > It is my guess that a UID of somewhere in the neighborhood of 
> > 0x80000000 more or less was used to create a file.  Maybe the 
> > nobody account often used by NFS for anonymous guest users has a 
> > 0x80000000 or 0x7fffffff or 0x7ffffffe type value (or something in 
> > that neighborhood).
> 
> Quotas are in fact turned off, so it's strange that this file has been 
> updated at all.
> 
> I did a find for files having nobody or nobodyV as group or user but 
> this has found nothing, so I guess I'll just have to leave it like this...
> 
> Wimmy

AdvFS _AWAYS_ maintains quotas info.  Turning it off only disables 
enforcement of limits, it does not stop collecting of data.

AdvFS uses the quota info to keep track of how much space is used 
by each fileset in a domain.

                                        Bob Harris


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-15 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-13 10:35 What's wrong with quota.user? Wim Cossement
2006-03-15  0:46 ` Bob Harris
2006-03-15 11:50   ` Wim Cossement
2006-03-15 12:34     ` Bob Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox