Article View: news.software.nntp
Article #36653Can a CNFS buffer be moved?
From: hume.spamfilter
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
31 lines
2168 bytes
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/
Technical Details
Message-ID:
<7f50ti$njb$1@News.Dal.Ca>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-mailShow Full Headers
Complete Article Headers
Message-ID: <7f50ti$njb$1@News.Dal.Ca> Subject: Can a CNFS buffer be moved? Date: Thu, 15 Apr 1999 00:00:00 +0000 From: hume.spamfilter@bofh.halifax.ns.ca 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: 466752094 X-Complaints-To: postmaster@Dal.Ca X-Trace: News.Dal.Ca 924190450 24171 129.173.46.183 (15 Apr 1999 15:34:10 GMT) Organization: ISINet, Nova Scotia User-Agent: tin/pre-1.4-980514 (UNIX) (SunOS/5.7 (sun4c)) NNTP-Posting-Date: 15 Apr 1999 15:34:10 GMT Newsgroups: news.software.nntp