From: markvo@cda.mrs.umn.edu (Mark Van Overbeke)
Subject: Re: advfs "no space" problem
Date: 1995/04/03 [thread overview]
Message-ID: <D6H96v.FzA@cda.mrs.umn.edu> (raw)
In-Reply-To: 3lcq1d$cq9@sandbox.atcon.com
In article <3lcq1d$cq9@sandbox.atcon.com> shawn@warp.atcon.com (Shawn Preston) writes:
>kurt@westnet.westnet.com (Kurt Hockenbury) wrote:
>
>>I've got a news spool on an advfs, turning two 1-gig drives into a 2 gig
>>area for news articles. Problem is, I can't seem to take full advantage
>>of it!
>
>>With the disk only partly full, I'm getting "No space left on device" errors.
>>df -i reports the drive at only 74% capacity, and 16% Iused. Also the "used"
>>plus "available" blocks don't add up anywhere near the "total":
>
>Join the club! I had the EXACT problem as you. I had a partition for
>just the news spool and got the "No sp[ace left on device". I was
>between 70-80% disk capacity and was using only 1% of the inodes on
>that partition. My only recourse was to set that partition back to
>UFS.
>
>If anyone solves this problem I would love the hear about it as it was
>very annoying and frustrating.
>
>
>I see someone ellse posted on here asking if there were any dangers in
>using ADVFS with news (I have INN) . My advice is DON'T until someone
>fixs the problem. The headaches I went through I don't wish on anyone.
>
>DANO
>
I have not been bitten by this problem yet. News server is still small
and for testing, but I expect to get bigger. On page 4-27 in the DEC
OSF/1 Release Notes, in section 4.5.2.8 Incorrect Disk Space Error
Messages we have:
"On systems that consist primarily of small files (less than 8KB) and
regularly create and delete very large numbers (many hundreds) of these
small files, AdvFS can run out of metedata space (inode tables), causing
erroneous 'out of disk space' errors. Examples of such systems are
Internet News servers and mail servers.
To avoid this problem, preallocate the metedata immediately after the
fileset is created. This can be done by writing a script that creates
and then deletes the estimated number of files that are expected to
exist in the AdvFS domain (the files created by the script should be
empty). For example, the following ksh script preallocates the metedata
for 1000 files:
integer f=1000
while (( f > 0 ))
do
touch prealloc_$f
f=f-1
done
rm prealloc_*
This ends what is there.
In the OSF/1 V3.2 release notes, on pages 4-16 and 4-17, in
section 4.4.2.10 Increase metadata extent size for large number of
files, we can find (more than what I have included here):
"For this release, a new flag (-x), has been added to the mkfdmn command
that allows you to increase the size of the metadata table extents. The
syntax for this flag is as follows:
mkfdmn -x number_pages device domain_name
You can increase the number of pages to any value. The following are
guidelines for the number of pages to allocate:
o For 50,000 files (of fewer) use the default, 128.
o For 50,000 to 100,000 files use -x 256.
o For 100,000 to 200,000 files use -x 512.
o For 200,000 files (or more) use -x 1024.
Table 4-1 provides the approximate number of pages that your metadata
will occupy given the number of files. The progression is linear.
Table 4-1
Number of Files Metadata size (8192 byte pages)
50,000 3600
100,000 7200
200,000 14400
400,000 28800
This ends what is in the 3.2 release notes that I am putting here.
I have kept my server as a test since I had heard/read about this
problem. I had also heard/read about the "fix" in 3.2. I am going to
update to V3.2 before I make my server live and move to the 2 GB disk
instead of a 300 MB or so partition. Hope this helps someone else out
there.
Mark
--
Mark Van Overbeke Systems Software Programmer
Computing Services
University of Minnesota, Morris INTERNET: Markvo@caa.mrs.umn.edu (VMS)
Morris, MN 56267 1-612-589-6378 markvo@cda.mrs.umn.edu (Ultrix)
--
Success is the progressive realization of your worthwhile goal or dream!
next prev parent reply other threads:[~1995-04-03 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-21 15:37 advfs "no space" problem Kurt Hockenbury
1995-03-21 19:17 ` Wuxu Peng
1995-03-22 1:15 ` cherkus
1995-03-21 22:34 ` Saul Tannenbaum
1995-03-23 1:59 ` Jeff Russ
1995-03-23 4:50 ` Saul Tannenbaum
1995-03-23 18:02 ` Peter da Silva
1995-03-29 5:00 ` Shawn Preston
1995-04-03 4:00 ` Mark Van Overbeke [this message]
1995-04-03 4:00 ` Steve Thompson
1995-04-04 4:00 ` Tero Kivinen
1995-04-04 4:00 ` Saul Tannenbaum
[not found] ` <3lt0o0$mum@jac.zko.dec.com>
1995-04-07 4:00 ` Torbj|rn Lindgren
1995-04-10 4:00 ` Saul Tannenbaum
1995-04-13 4:00 ` Saul Tannenbaum
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox