Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 1999 06:10:02 -0700 (PDT)
From:      Mike Pritchard <mpp@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/14143: Difference between number of blocks and size in bytes*512
Message-ID:  <199910061310.GAA60696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/14143; it has been noted by GNATS.

From: Mike Pritchard <mpp@FreeBSD.org>
To: kaczor@wotan.2slo.waw.pl
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: i386/14143: Difference between number of blocks and size in bytes*512
Date: Wed, 6 Oct 1999 07:55:47 -0500 (CDT)

 > >Number:         14143
 > >Synopsis:       Difference between number of blocks and size in bytes*512
 > >Description:
 > My file quota.user have difference between size reported by stat->st_size and
 > stat->st_block. st_size is 37448 times larger than st_block.
 > >How-To-Repeat:
 > Very hard to say. I have 4gb partition and about 160 users. And quota system
 > just did so odd file. 
 
 The quota system will create sparse files (large gaps of
 unwritten zero filled blocks are not actually allocated disk
 space), which is probably why the file size is so much larger 
 than the actual number of blocks used by the quota file.
 
 Do you have extremely large gaps in your UID space?  Is the file system
 NFS mounted on other systems, and is it possible that something tried
 to set a uid/gid to -2 or some such value on a file on the filesystem
 in question?
 
 Try running "find -nouser -nogroup /filesystem" to try and find
 any files that have a uid/gid that are not assigned in /etc/passwd.
 These are usually the files that cause the quota file to
 appear to be so large.
 
 -Mike
 -- 
 Mike Pritchard
 mpp@FreeBSD.org or mpp@mpp.pro-ns.net
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910061310.GAA60696>