Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow)
Subject: Re: AdvFS as news spool
Date: 1996/01/23	[thread overview]
Message-ID: <4e3lrp$r7s@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 199601230647.AAA25153@pirates.cs.swt.edu


In article <199601230647.AAA25153@pirates.cs.swt.edu>, wp01@pirates.cs.swt.edu (Email Forwarding Account for Wuxu Peng) writes:
>
>We are in the process of adding another 2.1GB hard drive
>for the news spool.  I heard of problems with AdvFS as
>news spool before.  I checked and found out that there
>are over 1 million inodes available on that 2.1GB drive
>labeled as AdvFS.   My question is:  what would be the
>possible problems with such a hard drive?

The potential problem is that when you add the new volume
you don't use a metadata extent large enough to support
the number of files that will get create on the new volume.
If you can remember what extent size you use for the original
volume you may want to use the same value with the addvol
command to add the new volume.

The particular problem with Advfs and News is that the built-in
assumptions about average file size are worthless since News
files are smaller than assumed.  Left to itself the file system
will dynamically allocate "inode" space (*) as new files are
created.  It allocates this space in fairly large chunks which
have to be contiguous.  If I recall correctly, two things can
cause it to fail:

1.  Insufficient contiguous space.  Defragment, in the Advfs
    utilities should fix this.

2.  Too many extents.  The data structures of the file system
    limit the number of "inode" extents that there can be.

Preallocating files ensures that when new extents are created
for all the files, that contiguous space exists; it hasn't
been allocated to anything else.  Using a large extent size
reduces the number of extents that need to be allocated, but
make it harder later to find contiguous space to allocate a
new extent if one should be needed.

(*) Inode isn't the right word, but is close enough.  I think
the whole data structure is called the Bitmap Table (BMT).

>Of course, I can simply use UFS.  But I like AdvFS better.
>
>--wuxu peng (wp01@swt.edu)

--
Alan Rollow				alan@nabeth.cxo.dec.com




  reply	other threads:[~1996-01-23  5:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-23  5:00 AdvFS as news spool Email Forwarding Account for Wuxu Peng
1996-01-23  5:00 ` Alan Rollow [this message]
1996-01-24  5:00   ` Saul Tannenbaum
1996-01-24  5:00   ` PAUL D. CHAPIN
1996-01-24  5:00     ` Randy Marchany
1996-01-24  5:00     ` Roman Gollent
1996-01-23  5:00 ` Hugh Messenger
1996-01-25  5:00   ` Vijay Gill
1996-01-26  5:00     ` Hugh Messenger
1996-01-27  5:00     ` Sergey Zhuk
1996-01-28  5:00       ` Hugh Messenger
1996-02-07  5:00         ` Huw Davies
1996-02-09  5:00           ` Jay Maynard
1996-02-07  5:00   ` Steve Strange USG
1996-02-10  5:00   ` Hugh Messenger
1996-02-11  5:00     ` Bob Harris
1996-02-12  5:00     ` ADVDS/asides (WAS AdvFS as news spool) Tony Jones
1996-02-12  5:00       ` Hugh Messenger
1996-02-17  5:00         ` Leif Johansson
1996-02-14  5:00 ` AdvFS as news spool Kjetil Torgrim Homme
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