Article View: news.software.nntp
Article #67266copying cnfs cycbuffs
From: Bruce Esquibel
Date: Wed, 26 Nov 2003 18:54
Date: Wed, 26 Nov 2003 18:54
57 lines
3141 bytes
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
Technical Details
Message-ID:
<bq2stg$99c$1@e250.ripco.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news.tdl.com!news.mbo.net!gail.ripco.com!bjeShow Full Headers
Complete Article Headers
Message-ID: <bq2stg$99c$1@e250.ripco.com> Subject: copying cnfs cycbuffs Date: Wed, 26 Nov 2003 18:54:41 +0000 From: bje@ripco.com (Bruce Esquibel) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news.tdl.com!news.mbo.net!gail.ripco.com!bje Newsgroups: news.software.nntp Organization: Ripco Internet Services- Chicago Lines: 57 NNTP-Posting-Host: rci.ripco.com X-Trace: e250.ripco.com 1069872881 9516 209.100.227.8 (26 Nov 2003 18:54:41 GMT) X-Complaints-To: usenet@ripco.com NNTP-Posting-Date: Wed, 26 Nov 2003 18:54:41 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2]