*BSD News Article 67632


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!nntp-hub2.barrnet.net!netsys.com!su-news-feed4.bbnplanet.com!enews.sgi.com!sgigate.sgi.com!swrinde!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!lerc.nasa.gov!kira.cc.uakron.edu!news.csuohio.edu!usenet
From: MML Staff <mml@4you.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Dispute over number of files
Date: 3 May 1996 22:47:07 GMT
Organization: Muslim Matrimonial Link
Lines: 51
Message-ID: <4me2db$h0t@csu-b.csuohio.edu>
References: <4md2k5$ep1@antares.en.com>
NNTP-Posting-Host: portc13.async.csuohio.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.22 (Windows; I; 16bit)


Thanks for the responses.

I did a "df -i ." from my home directory and here is the
usage information for this particular disk:

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted on
/dev/sd0h     3940057  1355858  2387196    36%   85002  867316     9%   /usr   

The total (used + avail) disk blocks seem to be: 3,743,054
The total (used + free) inodes is equal to:        952,318

The %blocks used is: 1,355,858 / 3,743,054 = 36.2 %
The %inodes used is: 85,002 / 952,318 =       8.9 %

So from what's been said in previous postings it seems that with
this pattern of usage this disk is not in any danger of running
out of inodes.  However, we must keep in mind that this pattern
of usage is achieved with the current file quotas in place.

But with the ratio of total disk blocks to total inodes on this
file system being:  3,743,054 / 952,318 = 3.93
it is obvious that my account is not being allocated a fair file
limit quota.  Currently my quota is:

  Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
        /usr   35815   84480   76800            7499    8250    7500

In essence 76,800 blocks for 7,500 files (or inodes).

The number of files I should be allocated is:
  76,800 / 3.93 = 19,542   which is way more than 7,500

I would definitely settle for this file limit because
even with my pattern of usage I would hit my blocks limit
before using 19,542 files.

If they start setting file limit quotas based on the formula
        file limit = block limit / 4
they would never run our of inodes before running out of disk
blocks or essentially filling up the disk (am I right?).

I will present this to my presence provider and see what they
say.  I'll keep you posted.

Thanks for the help.

Scott
smarq@4you.com