🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #35909

Re: How to clear cnfsbuffs?

#35909
From: Mark Mentovai
Date: Thu, 11 Mar 1999 00:00
29 lines
1779 bytes
Vladimir Gabrielescu wrote in news.software.nntp:
>Hmm ... I have some data on a couple of cfsbuffs and I would like
>to nuke it completly. Any ideas how I would go about doing that?
>Proabably copying /dev/zero over it would help but are there any 
>other ways?

Any way that you would zero over it would be fine.

>Also ... What does inn write on the first few blocks? I have a 
>bunch of raid file systems which I want to move from one 
>machine to another. The problem is that the devices may get 
>renumberd. As long as point it at the right device, does inn
>care that the names are different?

INN keeps the device or file path of the buffer in the CNFS header, and
will get really cranky if it doesn't match what you specify.  As long as
the path stays the same, though, nothing bad will happen.  I solve this
problem by telling INN its buffers are a bunch of symbolic links to the
real buffers, but keeping consistent mount points when you change your
disk scheme should be sufficient.

-MM

--
Mark Mentovai
mark@moxienet.com
http://www.moxienet.com/

Technical Details
Message-ID: <mark-1103991955490001@moxienet.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-mail
References: <7c90b5$btf$1@lochaber.rutgers.edu>

Show Full Headers
Complete Article Headers
Message-ID: <mark-1103991955490001@moxienet.com>
Subject: Re: How to clear cnfsbuffs?
Date: Thu, 11 Mar 1999 00:00:00 +0000
From: mark@moxienet.com (Mark Mentovai)
References: <7c90b5$btf$1@lochaber.rutgers.edu>
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: 454012783
X-Complaints-To: news@liii.com
X-Trace: cedar.liii.com 921200150 2488 204.180.230.25 (12 Mar 1999 00:55:50 GMT)
Organization: MoxieNet
NNTP-Posting-Date: 12 Mar 1999 00:55:50 GMT
Newsgroups: news.software.nntp