🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by hume.spamfilter Thu, 15 Apr 1999 00:00
Can a CNFS buffer be moved?
#36653
Author: hume.spamfilter
Date: Thu, 15 Apr 1999 00:00
31 lines
2168 bytes
INN 2.2 with CNFS and readers has been humming along quite nicely for a 
couple of weeks now.  Quite interesting, watching %wio go from 80% to 35%.
:)

Now, however, I'm shuffling some stuff around to add disk.  And I've got
some buffers on disks where I'd rather not have them.  This is on a Solaris
box, using raw partitions, 1G in size each.  I've found I rather like using
1G chunks, as it makes tuning a bit more fine-grained.

As it is, I've set up the CNFS storage so that they reference files
/local/news/dev/cycbuf[0..11].  These files are symlinks to 
/local/news/dev/cycbuff/c?t?d?s? which are the actual block devices (not
links themselves).

Now, the query: I know CNFS writes out the name into the buffer, as this
managed to save me from stomping on them when I accidentally got some disks
out of order when moving the disk tower.  So, if I create a partition on the
NEW disk with the same size, dd if=<oldbuf> of=<newbuf>, and move the proper
link to point to the relevant new node (thereby dodging any mucking with
the cnfs and storage conf files at all, hopefully...), it should work, yes?

I've looked through the CNFS source, and I don't SEE anything that would
wreck this plan... and hopefully if it didn't work I could just put the link
back anyways... but I figured I'd throw it out to catch warnings from those
who know better.

-- 
Brandon Hume    - hume -> bofh.halifax.ns.ca, http://www.bofh.halifax.ns.ca/


Re: Can a CNFS buffer be moved?
#36665
Author: Russ Allbery
Date: Thu, 15 Apr 1999 00:00
17 lines
1259 bytes
hume spamfilter <hume.spamfilter@bofh.halifax.ns.ca> writes:

> Now, the query: I know CNFS writes out the name into the buffer, as this
> managed to save me from stomping on them when I accidentally got some
> disks out of order when moving the disk tower.  So, if I create a
> partition on the NEW disk with the same size, dd if=<oldbuf>
> of=<newbuf>, and move the proper link to point to the relevant new node
> (thereby dodging any mucking with the cnfs and storage conf files at
> all, hopefully...), it should work, yes?

It should work, yes, but I've never tried it.  But I don't see anything
obviously wrong with the idea.  :)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Can a CNFS buffer be moved?
#36668
Author: hume.spamfilter
Date: Fri, 16 Apr 1999 00:00
15 lines
1286 bytes
Russ Allbery <rra@stanford.edu> wrote:
: It should work, yes, but I've never tried it.  But I don't see anything
: obviously wrong with the idea.  :)

Nifty.  Well, I'm about to try.  :)

Speaking of which... someone mentioned that the > 1G buffer problem had
been fixed in the latest STABLE snapshots... this is true, yes?  Otherwise,
I'm going to have trouble slicing a 9G disk into usable chunks...

-- 
Brandon Hume    - hume -> bofh.halifax.ns.ca, http://www.bofh.halifax.ns.ca/


Re: Can a CNFS buffer be moved?
#36753
Author: Maarten Carels
Date: Mon, 19 Apr 1999 00:00
29 lines
1648 bytes
<hume.spamfilter@bofh.halifax.ns.ca> wrote:

> Russ Allbery <rra@stanford.edu> wrote:
> : It should work, yes, but I've never tried it.  But I don't see anything
> : obviously wrong with the idea.  :)
> 
> Nifty.  Well, I'm about to try.  :)
> 
> Speaking of which... someone mentioned that the > 1G buffer problem had
> been fixed in the latest STABLE snapshots... this is true, yes?  Otherwise,
> I'm going to have trouble slicing a 9G disk into usable chunks...

Well, I moved some cycbufs here. Gives a messages like this for the
first time you start innd:
Apr 19 09:43:25 news innd: CNFS-sm: Path mismatch: read
/usr/local/news/cycbufs/c2t1d0s6/cycbuf0 for cycbuff
/usr/local/news/cycbufs/c2t4d0s6/cycbuf2
Apr 19 09:43:25 news innd: CNFS-sm: Path mismatch: read
/usr/local/news/cycbufs/c2t1d0s6/cycbuf1 for cycbuff
/usr/local/news/cycbufs/c2t4d0s6/cycbuf3

After that, it just works.

-- 
In real life: Maarten Carels
Informatiseringscentrum UvA
email: maarten@ic.uva.nl

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