*BSD News Article 91798


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!uunet!in3.uu.net!199.232.136.71!venus.os.com!news.os.com!craigs
From: craigs@os.com (Craig Shrimpton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Need a little help with ccd mirroring
Date: Sun, 23 Mar 1997 00:39:20 -0500
Organization: Orbit Systems
Lines: 36
Message-ID: <craigs-ya02408000R2303970039200001@news.os.com>
NNTP-Posting-Host: titan.os.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Yet Another NewsWatcher 2.4.0
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37574

Folks,

I've been using the ccd driver in RAID 0 mode on my news machine for months
now and it works great.  I want to set up my mail server with mirrored
disks but I have a couple of questions on how to do this and what to expect
if a failure occurs.

First:  

When mirroring, what should the interleave be set to? Zero or something else?

Second: 

What's the newfs procedure for a mirroring setup?  Do you ccdconfig,
disklabel and newfs like a normal ccd setup? 

Third: 

If a disk goes bad, what's the recovery procedure?  The readme says you can
re-configure the driver to use only one disk without mirroring until you
can install a new one.  What's the ccd.conf entry for that?  

Finally:

Is "dd if=/dev/survivor of=/dev/freshmeat bs=1M" still the proper way to
recover the disk? Also, do I simply "dd" to a raw disk and re-ccdconfig? 
Seems too simple to be true.

Thanks,

Craig

-- 
Orbit Data Systems, Inc.                         Craig Shrimpton
400 Grove Street                                 508-753-8776
Worcester, MA  01605                             http://www.os.com/