Article View: news.software.nntp
Article #4224Re: AdvFS as news spool
From: Alan Rollow
Date: Tue, 23 Jan 1996 00:00
Date: Tue, 23 Jan 1996 00:00
50 lines
2701 bytes
2701 bytes
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
Technical Details
Message-ID:
<4e3lrp$r7s@nntpd2.cxo.dec.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.osf1.mbox.zip!not-for-mailReferences:
<199601230647.AAA25153@pirates.cs.swt.edu>Show Full Headers
Complete Article Headers
Message-ID: <4e3lrp$r7s@nntpd2.cxo.dec.com> Subject: Re: AdvFS as news spool Date: Tue, 23 Jan 1996 00:00:00 +0000 From: alan@nabeth.cxo.dec.com (Alan Rollow) References: <199601230647.AAA25153@pirates.cs.swt.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.osf1.mbox.zip!not-for-mail X-Deja-AN: 135996764 Distribution: inet Organization: Digital Equipment Corporation Reply-to: alan@nabeth.cxo.dec.com (Alan Rollow) Newsgroups: comp.unix.osf.osf1,news.software.nntp