Article View: news.software.nntp
Article #29714Re: Help with configuring inn 2.0 - question on disk partitioning, etc.
From: Curt Welch
Date: Fri, 10 Jul 1998 00:00
Date: Fri, 10 Jul 1998 00:00
89 lines
4738 bytes
4738 bytes
turoff@disaster.com (Joel Turoff) wrote: > What I would like to do, is install 2.0 and take advantage of the CFNS > format, but I am unsure of where to put the pre-configured buffer > files. It is also not entirely clear where the articles will be > stored with the new format. They are stored in the cycbuffs defined in etc/cycbuff.conf. I assume these are the "pre-configured buffer files" you are talking about? > Will they still be in /var/news/spool? news/spool/articles/ is only used for the traditional storage method. If you are using CNFS it's not used (unless you decided that's where you wnat to put your cycbuffs). You control where they are stored by where you build the cycbuffs (and what you put in etc/cycbuff.conf). > From the documentation, I can see that the distribution wants to be > installed in /usr/local/news. Unfortunately, I don't have enough > space on /usr to handle the distribution. Would I be better off > doing a newfs on /var/news and mounting it on /usr/local/news. > > What about the pre-configured buffer files? Should I do a newfs on > the 16 gig partition and put the buffer files there? Would the 16 > gig spool still be mounted on /var/news/spool? > > Or should I create a huge 17 gig partition and mount the whole thing > on /usr/local/news. > > Any advice would be greatly appreciated. Learn to use symbolic links. (ln -s). I put the distribution in /usr/local/news, and then symlinked the db, spool/overivew, and spool/uniover directories to other disks. When I have have arrays (ccd arrays on FreeBSD), I tend to mount them as /raid1, /raid2, etc. Then symlink stuff like the above into them. I created dirs like /raid1/news/db and /raid2/news/spool/overview etc. This technique makes it easy to move stuff around. If an array (or large partition) is only used for a single subtree (like spool/overview) then you could just mount it on /usr/local/news/spool/overview. But if you later decide you would like to have another subtree (like news/db) on that same array, it gets messy. But if you mount it as /something, and then create subdirectories that are symlinked into it, then it's easy to move these subtrees around later. > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/sd0a 99135 23580 70598 25% / > /dev/sd0h 545543 499176 19089 96% /usr > /dev/sd0g 396783 126114 250829 33% /var > /dev/sd0f 740847 358916 344888 51% /var/news > /dev/sp0d 16563064 13843783 1891127 88% /var/news/spool In your case, I would not have created a separate partition for /var/news. I'd just use all that space on sd0 for a larger /var or a larger /usr (or some of both). I'd then go ahead and put the inn distribution in the default place that the distribution expects to be (/usr/local/news). I'd then mount sp0d as /raid0. Create /raid0/news and then symlink anything from the news subtree over to the /raid0/news subtree that I wanted on that array. In the case of the cycbuffs, I created a /raid0/cnfs dir (typing cycbuff was too hard for me :)) and created files in that named b00, b01, b02, etc. For these new cycbuffs, it might be better to not stripe the disks but I'm not sure about that yet. A large stripped array makes it easy to share disk space among different applications, but the cycbuffs don't change in size - so there's not free space issues to deal with. And if a disk fails (in a non redundant array), then you loose it all. But separate disks, I'm thinking you would only loose the portion of the spool associated with the failed disk and still have the rest of it - but I don't know how well inn deals with this yet... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19980710162623.813$vL@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<35a4d96d.4243231754@news.w-link.net>Show Full Headers
Complete Article Headers
Message-ID: <19980710162623.813$vL@newsreader.com>
Subject: Re: Help with configuring inn 2.0 - question on disk partitioning, etc.
Date: Fri, 10 Jul 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <35a4d96d.4243231754@news.w-link.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 370300556
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp