*BSD News Article 67885


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!newsrelay.iastate.edu!vixen.cso.uiuc.edu!uwm.edu!lll-winken.llnl.gov!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news.new-york.net!ritz.mordor.com!ritz
From: ritz@ritz.mordor.com (Chris Mauritz)
Subject: Re: Can BSDI 2.0 handle 9GB SCSI Drives?
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Lines: 66
Organization: Mordor International
Message-ID: <Dr0vu0.3pC@ritz.mordor.com>
References: <4mevk2$a2o@news.hal-pc.org> <4mmkdg$jsb@strange.dfwmm.net>
Date: Tue, 7 May 1996 06:39:35 GMT

Brian Wolfe (ahzz@dfwmm.net) wrote:
: In message <4mevk2$a2o@news.hal-pc.org> - jhupp@black.gensys.com (Jeff Hupp) wr
: ites:
: >In article <cnordin.831100316@news.vni.net>,
: >	cnordin@hq.vni.net (Craig Nordin) writes:
: >>jsloan@LiveNet.Net (Jim Sloan) writes:
: >>
: >>>.................................................  It is better to have 
: >>>several smaller drives than one large drive for usenet news server.  
: >>
: >>Yes yes yes yes yes!!!
: >>
: >	And its even better to be running several smaller drives as one 
: >file system using the ccd driver...
: >
: >-- 
: >Windows '95; 386 performance from your Pentium.
: >Jeff Hupp <Jhupp@gensys.com> <http://gensys.com>
: >PGP Public Key available at http://gensys.com or on the key servers
: 
: 
: 
: ??? I have heard of this file system driver that allows a raid 0 (stripeing) 
: approach to useing disks. I am running a 16Gb news server and Need to make 
: more efficent use of the disks.
: 
: 	Please post here or emailme at mailto:ahzz@dfwmm.net if you know exactly how 
: to do this with the domestic bsdi 2.1

I think the ccd driver is a FreeBSD/NetBSD thing, not BSD/OS.  It is
apparently in pre-alpha testing now, though I'm told it is working
very well.  From the latest README:

(3) What it does

In case you don't know what it is, ccd is a disk array driver.  You
can combine several disk partitions into one "virtual disk".  Then you
can partition it or use the whole thing or add some pepper and salt or
whatever you want.

(4) What it does not

There is no parity support yet.  That's why its name doesn't resemble
RAID in any form.  However, there is mirroring available starting
from the Jan/31 version.

(4a) Cool, how do I use mirroring?

Add CCDF_MIRROR to the list of flags (third field in /etc/ccd.conf),
and your disk space will magically shrink into half.  The writes go to
all disks, while the reads will all come from the first n/2 disks.

If one of the disk goes "poof", you can reconfigure the ccd to use
only half the disks without mirroring.  That should keep your users
happy until you get the chance to put in the replacement disk.  When
the new disk is installed, use the ccd recovery program called `dd'
(which mysteriously made its way into the release even before we put
out an alpha version of ccd), e.g., to copy sd1g to sd4g,

dd if=/dev/sd1g of=/dev/sd4g bs=1048576

:-)

Hope that helped.

Chris
-- 
Christopher Mauritz         | For info on internet access:
ritz@mordor.com             | finger/mail info@ritz.mordor.com OR
Mordor International        | http://www.mordor.com/
201/212/718 internet access | Modem: (201)433-7343,(212)843-3451