From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,fb46535cbc21ee3d X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny07.POSTED!3485a766!not-for-mail From: Bob Harris Newsgroups: comp.unix.tru64 Subject: Re: What's wrong with quota.user? References: User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) Message-ID: Date: Wed, 15 Mar 2006 00:46:01 GMT NNTP-Posting-Host: 151.204.252.138 X-Complaints-To: abuse@verizon.net X-Trace: trndny07 1142383561 151.204.252.138 (Tue, 14 Mar 2006 19:46:01 EST) NNTP-Posting-Date: Tue, 14 Mar 2006 19:46:01 EST Xref: g2news1.google.com comp.unix.tru64:286 In article , Wim Cossement 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