Path: utzoo!utstat!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!sci34hub!gary From: gary@sci34hub.UUCP (Gary Heston) Newsgroups: news.software.b Subject: Re: INEWS's use of the link() function on multiple filesystems Message-ID: <689@sci34hub.UUCP> Date: 6 Jul 90 14:53:03 GMT References: <1925@anomaly.sbs.com> Reply-To: gary@sci34hub.sci.com (Gary Heston) Organization: SCI Technology, Inc., Huntsville, Al. Lines: 47 In article <1925@anomaly.sbs.com> mike@anomaly.sbs.com (Michael P. Deignan) writes: >I've run into an interesting problem with INEWS which I'm wondering if >anyone else has encountered. It's been seen and discussed before.... maybe we need a Frequently Ask Questions for this group, now.... >Because of our filesystems' I-Node limit of 65500 inodes/filesystem, we >were thinking of dividing our news filesystem as follows: > > /dev/news mount as /usr/spool/news > /dev/comp mount as /usr/spool/news/comp > /dev/rec mount as /usr/spool/news/rec > >This would effectively yield over 180,000 inodes for our filesystem, more >than enough to manage our 14 day expiration cycle on articles. You should be able to handle a 14-day retention on a single filesystem, around 150MB, with a maxed-out inode allocation. This many filesystems shouldn't be necessary unless you're retaining 30 days of so of news. You might want to consider whether or not you need to retain much news, anyway. I expire out comp.mail.maps and junk at 2 days, rec.*, soc.*, sci.*, talk.*, misc.*, and low interest/high volume comp groups at 7 days. Unless you have someone who only reads news once every two weeks, just shorten your expire. Expiring and posting will run faster with the smaller $SPOOLDIR... >Unfortunately, INEWS uses the link() function, which will not work >successfully across filesystems. > > [ possible workaround deleted ] > >I was wondering if anyone else has done this, or has a suggestion as to >how we might go about it... If you really want all those articles around, and have the space on your system, replace the link() function call with a cp. You'll have duplicate files, probably costing you 15-20% more disc space (as a guess--I haven't researched crossposted article activity), but it'll work. -- Gary Heston { uunet!sci34hub!gary } System Mismanager SCI Technology, Inc. OEM Products Department (i.e., computers) "The esteemed gentleman says I called him a liar. That's true, and I regret it." Retief, a character created by Keith Laumer.