From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10e254,f6a035f15ba230c5,start X-Google-Attributes: gid10e254,public X-Google-Thread: fee84,f6a035f15ba230c5,start X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow) Subject: Re: AdvFS as news spool Date: 1996/01/23 Message-ID: <4e3lrp$r7s@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 135996764 distribution: inet references: <199601230647.AAA25153@pirates.cs.swt.edu> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow) newsgroups: comp.unix.osf.osf1,news.software.nntp 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