🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
19 messages
19 total messages Started by Email Forwarding Account for Wux... Tue, 23 Jan 1996 00:00
AdvFS as news spool
#4188
Author: Email Forwarding Account for Wux...
Date: Tue, 23 Jan 1996 00:00
17 lines
1246 bytes
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?  Of course, I
can simply use UFS.  But I like AdvFS better.

Thanks.
-- 

--
--wuxu peng (wp01@swt.edu)


Re: AdvFS as news spool
#4214
Author: Hugh Messenger
Date: Tue, 23 Jan 1996 00:00
42 lines
2397 bytes
Email Forwarding Account for Wuxu Peng wrote:
> 
> 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?  Of course, I
> can simply use UFS.  But I like AdvFS better.

If you are doing a "df -i" to determine free inodes, I believe that
it doesn't apply to advfs volumes.

The limiting factor for advfs is metadata space, not inodes.  It's
a whole big mess trying to run advfs for news spools, which grow
way beyond the envelope a "default" advfs setup will handle.

I gave up trying to use advfs for my spool, and am running quite happily
with ufs:

% df
Filesystem            1024-blocks        Used       Avail Capacity  Mounted on
/dev/rz0a                   63231       41775       15132    73%    /
/dev/rz0g                  771271      488821      205322    70%    /usr
/dev/rz1g                  396062      146573      209882    41%    /usr/var
/dev/rz1h                  532180       29776      449186     6%    /usr/local
/dev/rz2b                  928467      184248      651372    22%    /usr/local/n
ews
/dev/rz3b                 3736748     2105654     1257419    63%    /usr/var/spo
ol/news
/dev/vol/rootdg/vol01     7594048     4810051     2024592    70%    /usr/var/spo
ol/news/alt
/dev/rz8b                 1927941      421100     1314046    24%    /usr/var/spo
ol/news/over.view

17Gb of disk and counting ...

> --wuxu peng (wp01@swt.edu)

   -- hugh

Re: AdvFS as news spool
#4224
Author: Alan Rollow
Date: Tue, 23 Jan 1996 00:00
50 lines
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


Re: AdvFS as news spool
#4235
Author: Randy Marchany
Date: Wed, 24 Jan 1996 00:00
32 lines
1715 bytes
PAUL D. CHAPIN (pdchapin@unix.amherst.edu) wrote:

: So how do you set up the number of extents on the original volume?  I
: can see how to use the -x option with addvol, but the man page for
: mkfdmn doesn't mention and equivalent option.

You have to create the domain and then use mkfdmn/addvol sequence:  

# mkfdmn -x 1024 /dev/rz1g test_dmn
# addvol -x 1024 /dev/rz4g test_dmn

Yeah, it's not documented. Look in the release notes for the advfs
utilities. There's a short decription there. To find out the current
size of your extents area, do:

 cd whatever-fileset-you-want
 cd .tags
 showfile -x M-6

Look at the PageCnt column, ignore the first row and see if the others
sasy 1024. If they do, you ok, if not, you'll have to do the 
mkfdmn/addvol sequence above. m-6 is for a 1st volume Metadata table,
M-12 is a second volume Metadata table. (thanks to Rick Jackson for
this tidibit). 

	-Randy Marchany
	VA Tech Computing Center
	Blacksburg,VA 24060
INTERNET: randy.marchany@vt.edu


Re: AdvFS as news spool
#4253
Author: PAUL D. CHAPIN
Date: Wed, 24 Jan 1996 00:00
20 lines
1347 bytes
Alan Rollow (alan@nabeth.cxo.dec.com) wrote:
: 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.

So how do you set up the number of extents on the original volume?  I
can see how to use the -x option with addvol, but the man page for
mkfdmn doesn't mention and equivalent option.

--

Paul Chapin
Unix Systems Manager
Amherst College


Re: AdvFS as news spool
#4256
Author: Saul Tannenbaum
Date: Wed, 24 Jan 1996 00:00
36 lines
2093 bytes
In article <4e3lrp$r7s@nntpd2.cxo.dec.com>, Alan Rollow (alan@nabeth.cxo.dec.com) wrote:


> 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:

What I'd like to know is why this seemed to be such a stunning revelation
to Digital.

News spools have had pathological file system issues on every platform.

Digital Unix boxes were being sold into the Internet server market.

Internet servers tend to run news spools.

Thus, Digital Unix file systems should be able to easily run news spools, 
and, Digital Unix support should be able to deal with the problems that
come up.

This straightforward reasoning seemed utterly foreign to Digital when
we encountered these problems and brought them to Digital last spring.

	- Saul
-- 
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb

Re: AdvFS as news spool
#4274
Author: Roman Gollent
Date: Wed, 24 Jan 1996 00:00
14 lines
1168 bytes
In article <4e5m01$9hd@amhux3.amherst.edu>,
PAUL D. CHAPIN <pdchapin@unix.amherst.edu> wrote:

| So how do you set up the number of extents on the original volume?  I
| can see how to use the -x option with addvol, but the man page for
| mkfdmn doesn't mention and equivalent option.

If you type mkfdmn without any arguments, it ought to list the command
line options, one of which is '-x'.  Of course, this depends on which
version of Digital Unix you are using.

Roman

Re: AdvFS as news spool
#4301
Author: Vijay Gill
Date: Thu, 25 Jan 1996 00:00
29 lines
1598 bytes
In article <3105A80E.41C6@garply.com>,
Hugh Messenger  <hippo@garply.com> wrote:
>Email Forwarding Account for Wuxu Peng wrote:
>> 
>> 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




>I gave up trying to use advfs for my spool, and am running quite happily
>with ufs:

I reset the distribution header and removed inet.

We are running a news spool with AdVFS, and as long as you use a huge
extent, like -x 8192, you should be fine.  I have yet to have a
problem with advfs.



-- 
Vijay Gill                         |The (paying) customer is always right.
wrath@cs.umbc.edu, vijay@umbc.edu  |                  - Piercarlo Grandi
http://www.gl.umbc.edu/~vijay      | Eagles may soar, but weasels don't get
These are my opinions only.        | sucked into jet engines.

Re: AdvFS as news spool
#4322
Author: Hugh Messenger
Date: Fri, 26 Jan 1996 00:00
29 lines
1751 bytes
Vijay Gill wrote:
> 
> In article <3105A80E.41C6@garply.com>,
> Hugh Messenger  <hippo@garply.com> wrote:
> >I gave up trying to use advfs for my spool, and am running quite happily
> >with ufs:
> 
> We are running a news spool with AdVFS, and as long as you use a huge
> extent, like -x 8192, you should be fine.  I have yet to have a
> problem with advfs.

I used -x 8192.  I defragged every night.  It still broke.  I called
Digital, they said "HOW many files????", I said "2.3 million", they said
"Jolly good luck, let us know how you get on".  Or words to that effect.

I even tried reinstalling the fs and doing the "spend 2 days creating 17
gazillion files" thing.  It still broke after two weeks.

Of course, your mileage may vary.  But I spent two solid days on the
phone to Digital when it happened to us, and the official verdict was
"you're stuffed"..

I'll just run UFS.  I understand it, and it hasn't broken yet.

> Vijay Gill

   -- hugh

Re: AdvFS as news spool
#4339
Author: Sergey Zhuk
Date: Sat, 27 Jan 1996 00:00
30 lines
1952 bytes
hi

Vijay Gill (wrath@cs.umbc.edu) wrote:

: >I gave up trying to use advfs for my spool, and am running quite happily
: >with ufs:

: We are running a news spool with AdVFS, and as long as you use a huge
: extent, like -x 8192, you should be fine.  I have yet to have a
: problem with advfs.
no, you're wrong. I also tried to use advfs for news spool and it was OK
some time, but as number of files grows and expire works every day,
fragmentation encreases dramatically and now i don't have free space on news
spool. I had -x space for 400000 files (see release notes for OSF 3.2) and
now i have about 200000 and filesystem is full ;(.
Defragment is useless in such cases, 'cause it takes a long time and news
spool refreshes very often.
So i'll install new hard drive soon and will use ufs definitely.

rgds,
serge

--
+-------------------------------------+-------------------------------------+
| Sergey Zhuk                         | serge@freenet.kiev.ua 		    |
| UN Internet Project                 | +380-44-228-6393		    |
| System and Network Administrator    | http://www.un.kiev.ua/		    |
+-------------------------------------+-------------------------------------+

Re: AdvFS as news spool
#4369
Author: Hugh Messenger
Date: Sun, 28 Jan 1996 00:00
41 lines
2525 bytes
Sergey Zhuk wrote:
> 
> hi
> 
> Vijay Gill (wrath@cs.umbc.edu) wrote:
> 
> : >I gave up trying to use advfs for my spool, and am running quite happily
> : >with ufs:
> 
> : We are running a news spool with AdVFS, and as long as you use a huge
> : extent, like -x 8192, you should be fine.  I have yet to have a
> : problem with advfs.
> no, you're wrong. I also tried to use advfs for news spool and it was OK
> some time, but as number of files grows and expire works every day,
> fragmentation encreases dramatically and now i don't have free space on news
> spool. I had -x space for 400000 files (see release notes for OSF 3.2) and
> now i have about 200000 and filesystem is full ;(.

And bear in mind that a "full" feed expiring at around a week means
anything up to 2 million files in your spool.  If you are running anything
like a feed site, expiring at 14 or 28 days, you're talking many more millions.

I'm sure that if AdvFS is "properly" installed and "properly" managed, it
could handle running a news spool.  But the information available is poor,
and a lot of it is contradictory.  I've yet to see a statement from anyone
at Digital saying "we run AdvFS on a full news feed, and this is how we do
it".

Until I see something like that, I'm avoiding AdvFS on news spools like the
plague, having had to spend 48 hours straight rebuilding and re-stocking a
news box with 2,500 paying customers screaming for blood and alt.binaries.

And at the end of the day, who needs AdvFS on a news spool?  Seems like a
waste of technology to me.  UFS provides all the concatanation a spool
needs.  Juggling spindles and SCSI controllers gives the speed.

> serge

   -- hugh

Re: AdvFS as news spool
#4694
Author: Huw Davies
Date: Wed, 07 Feb 1996 00:00
18 lines
1684 bytes
Hugh Messenger (hippo@garply.com) wrote:

: And at the end of the day, who needs AdvFS on a news spool?  Seems like a
: waste of technology to me.  UFS provides all the concatanation a spool
: needs.  Juggling spindles and SCSI controllers gives the speed.

Well the major advantage as far as I was concerned (yes, we tried AdvFS and
reverted to ufs) was that you don't need to do an fsck of the file system.
We have at least one power related crash each month and waiting for the
fsck to complete is nasty, especially as our news server system does other
(more important) things.
--
 Huw Davies                      | e-mail: Huw.Davies@latrobe.edu.au
 Information Technology Services | Phone: +61 3 9479 1550  Fax: +61 3 9479 1999
 La Trobe University             | "My Alfas keep me poor in a monetary
 Melbourne Australia 3083        | sense, but rich in so many other ways"

Re: AdvFS as news spool
#4711
Author: Steve Strange USG
Date: Wed, 07 Feb 1996 00:00
26 lines
1757 bytes
In article <4f932h$l9n@lugb.latrobe.edu.au> cchd@lucifer.latrobe.edu.au (Huw Davies) writes:

>   Hugh Messenger (hippo@garply.com) wrote:
>
>   : And at the end of the day, who needs AdvFS on a news spool?  Seems like a
>   : waste of technology to me.  UFS provides all the concatanation a spool
>   : needs.  Juggling spindles and SCSI controllers gives the speed.
>
>   Well the major advantage as far as I was concerned (yes, we tried AdvFS and
>   reverted to ufs) was that you don't need to do an fsck of the file system.
>   We have at least one power related crash each month and waiting for the
>   fsck to complete is nasty, especially as our news server system does other
>   (more important) things.

Just FYI, I understand the new-spool-on-AdvFS problem has been fixed
in Digital UNIX V4.0, which is currently in field test and will be
generally available in a month or two.

	Steve

--
Steve Strange						strange@zk3.dec.com
Digital Equipment Corporation, Nashua, NH		     (603) 881-0595
Digital UNIX DCE DFS Development

Re: AdvFS as news spool
#4765
Author: Jay Maynard
Date: Fri, 09 Feb 1996 00:00
20 lines
1911 bytes
On 7 Feb 1996 02:33:53 GMT, Huw Davies <cchd@lucifer.latrobe.edu.au> wrote:
>Well the major advantage as far as I was concerned (yes, we tried AdvFS and
>reverted to ufs) was that you don't need to do an fsck of the file system.
>We have at least one power related crash each month and waiting for the
>fsck to complete is nasty, especially as our news server system does other
>(more important) things.

We ran AdvFS and reverted to ufs as well. AdvFS gave us a major performance
boost on the news spool, as in 5-6 times faster article spooling. We'd tried
it initially under 3.0, with the default metadata extent size; when we
installed 3.2A, right after the metadata filled up, I used -x 2048 (yes, I
know that the maximum documented value was 1024) when running mkfdmn. I
reverted to ufs when we got a directory that was hosed beyond the ability of
the tools in /usr/field to repair.

AdvFS is the Right Answer for news spools...or would be if they'd debug the
damned thing.


Re: AdvFS as news spool
#4800
Author: Hugh Messenger
Date: Sat, 10 Feb 1996 00:00
24 lines
1548 bytes
Steve Strange USG wrote:
> Just FYI, I understand the new-spool-on-AdvFS problem has been fixed
> in Digital UNIX V4.0, which is currently in field test and will be
> generally available in a month or two.

Can you give us any details on this?  Like what the problems were that have been
addressed?

Given your .sig, can we take this as an admission from Digital that 3.x AdvFS doesn't
work on a full news spool?  If so, it'll be a first.  The Digital party line has
always been that it works just fine and that any problems I experienced were of my
own making.

>         Steve
> 
> --
> Steve Strange                                           strange@zk3.dec.com
> Digital Equipment Corporation, Nashua, NH                    (603) 881-0595
> Digital UNIX DCE DFS Development

   -- hugh


Re: AdvFS as news spool
#4826
Author: Bob Harris
Date: Sun, 11 Feb 1996 00:00
21 lines
1634 bytes
In article <311CF8CD.237C@garply.com>, Hugh Messenger <hippo@garply.com> wrote:

> Given your .sig, can we take this as an admission from Digital that 3.x
AdvFS doesn't
> work on a full news spool?

I may get flamed for this, but...

There are over 60,000 people working at Digital.  There are 100's of people
working on Digital UNIX.  The fact that he works at Digital does not make 
him an official source of information.  The fact that I work at Digital 
doesn't make an official source.  He was just trying to be helpful, not 
an official spokes person.

-- 
                                      Bob Harris

I don't get to tell me what to do, I only get to tell me how to do it.
The opinions expressed are my own and do not represent Digital Equipment Corporation

Re: ADVDS/asides (WAS AdvFS as news spool)
#4849
Author: Hugh Messenger
Date: Mon, 12 Feb 1996 00:00
41 lines
2532 bytes
Tony Jones wrote:
> 
> Hugh Messenger (hippo@garply.com) wrote:
> : Given your .sig, can we take this as an admission from Digital that 3.x AdvFS
> : doesn't work on a full news spool?
> It's folks like you that drive the need for those annoying 'std disclaimers'.

No, I'm someone trying to get support and hard technical information from an
organization I pay large amounts of money to for that privilege. I repeatedly tried the
regular channels with no success.  I'm bitter.  Does it show?

> DEC doesn't make official pronoucements on the net.

As a Digital VAR, I get around 90% of my official Digital statements from the net one
way or another.  As far as usenet is concerned, you are probably right.  But I don't see
the harm in asking.  I could've been nicer about it, but where's the fun in that?

> : If so, it'll be a first.  The Digital party line has always been that it
> : works just fine and that any problems I experienced were of my
> : own making.
> The two times I called DEC about advfs questions, the support guys asked me
> if this was for news spool, because they recommended against using advfs
> for spool.

Well, I guess I wouldn't have posted what I did if they'd said that to me.  Whenever I
asked about a news spool, they offered no advice other than increasing the extent and
defragging, both of which I had already done.  But then, I gave up trying to use AdvFS
on a spool months ago, which is about when the "AdvFS as news spool" thread got started.

Obviously Digital tech support is now better informed.  Good.  I withdraw my spleen
dump.  

Apologies if I offended anyone.

AdvFS For Pope.

> tony

   -- hugh

Re: AdvFS as news spool
#4950
Author: Kjetil Torgrim Homme
Date: Wed, 14 Feb 1996 00:00
24 lines
1653 bytes
[Jay Maynard]

|   We ran AdvFS and reverted to ufs as well. AdvFS gave us a major
|   performance boost on the news spool, as in 5-6 times faster
|   article spooling. We'd tried it initially under 3.0, with the
|   default metadata extent size; when we installed 3.2A, right after
|   the metadata filled up, I used -x 2048 (yes, I know that the
|   maximum documented value was 1024) when running mkfdmn. I reverted
|   to ufs when we got a directory that was hosed beyond the ability
|   of the tools in /usr/field to repair.

We're using AdvFS, and did some tests to see how many files we could
create on a domain with different values for -x. In the end, we used
16384... With that value, I get 1.4 million articles on a 6 GB spool.
It's acceptable, but if this is fixed in Digital Unix 4.0, I think
I'll ask for another 4 GB and get our expiry times up :-)

BTW, our local DEC tech contact admitted that it was a well-known bug
that you couldn't fit more than 800,000 inodes on an AdvFS domain.


Kjetil T.

Re: ADVDS/asides (WAS AdvFS as news spool)
#5030
Author: Leif Johansson
Date: Sat, 17 Feb 1996 00:00
24 lines
1558 bytes
Hugh Messenger (hippo@garply.com) wrote:
: Tony Jones wrote:
: > 
: > Hugh Messenger (hippo@garply.com) wrote:
stuff deleted
: > if this was for news spool, because they recommended against using advfs
: > for spool.

I would have been glad for this info a year ago when I scraped a news
site on a DEC station becauce of problems with ADVFS. There can be no 
doubt that there is a big problem here for DEC.

--

	MVH leifj

Leif Johansson				Phone: +46 8 164541		
Department of Mathematics		Fax  : +46 8 6126717		
Stockholm University 			email: leifj@matematik.su.se 	

    <This space is left blank for quotational and disclamatory purposes.>


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads