🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Bruce Esquibel Wed, 26 Nov 2003 18:54
copying cnfs cycbuffs
#67266
Author: Bruce Esquibel
Date: Wed, 26 Nov 2003 18:54
57 lines
3141 bytes
Sorry if this is a stupid/simple question to answer, but after thinking
about it, looking through google and thinking about it some more, I came to
the conclusion it would be better to ask here for a clue.

I have an INN server (2.4.0) using cnsf for storage of articles. The box is
Solaris so the cycbuffs are raw slices (c0t9d0s5, c0t12d0s5 so forth).

Although the configuration of the metacycbuffs are more complicated than
this example, what I want to do is replace the drives with larger ones and
keep the current articles (don't worry about the overviews, history db and
other whatnots).

Lets say (this is the example) I have two 4 gig drives currently in use,
each one is split into two 2gig cycbuffs like so...

cycbuff:ONE:_path_/c0t12d0s5:2000000
cycbuff:TWO:_path_/c0t12d0s7:2000000
cycbuff:THREE:_path_/c0t13d0s5:2000000
cycbuff:FOUR:_path_/c0t13d0s7:2000000

metacycbuff:AREAONE:ONE,TWO,THREE,FOUR

My first question is if I simply add two more disks keeping the above drives
in use (until after the copy), like c0t14d0 and c0t15d0, can I just use dd
(assumming inn is shutdown) with something like:

dd if=_path_/c0t12d0s5 of=_path_/c0t14d0s5

then change the info in the cycbuff.conf file to use the new drive? Does dd
need a blocksize defined or any other arguements?

The second question is, what if it wasn't possible to add in the drives at
the same time, but a storage area was available to temporarily write the dd
output into a file, then back to the new drive after replacing the old one.

Something like...

dd if=_path_/c0t12d0s5 of=/raid/ONE.file

then (after putting in the new drive)

dd if=/raid/ONE.file of=_path_/c0t14d0s5

and again, would there be any additional arguements to give dd?

As you can tell, I don't use dd much and except for the news box, CNFS
itself is sort of a mystery. Putting the two together, thought it was better
to admit the ignorance than start the whole thing for scratch.

Saw some references (on google) about maybe using rsync instead, if not
either that or dd, anything else to do this smoothly?

-bruce
bje@ripco.com

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