From owner-freebsd-questions Fri Mar 1 16: 9:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13106.mail.yahoo.com (web13106.mail.yahoo.com [216.136.174.151]) by hub.freebsd.org (Postfix) with SMTP id 1E11C37B417 for ; Fri, 1 Mar 2002 16:09:20 -0800 (PST) Message-ID: <20020302000920.86688.qmail@web13106.mail.yahoo.com> Received: from [68.39.132.244] by web13106.mail.yahoo.com via HTTP; Fri, 01 Mar 2002 16:09:20 PST Date: Fri, 1 Mar 2002 16:09:20 -0800 (PST) From: trini 0 Subject: Re: ccd To: Glenn Johnson Cc: freebsd-questions@freebsd.org In-Reply-To: <20020301223758.GA990@node1.cluster.srrc.usda.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ill move one of the drives to the other controller. Ill report back when I try again. Thanks --- Glenn Johnson wrote: > On Fri, Mar 01, 2002 at 11:48:55AM -0800, trini 0 > wrote: > > > Im trying out ccd for the first time. Im > following instructions on > > freebsddiary, and the ccd man page. I have ccd in > the kernel. > > snip from dmesg: > > ccd0-3: Concatenated disk drivers > > > > snip from dmesg: > > ad2: 26105MB [53040/16/63] at > > ata1-master UDMA33 > > ad3: 26105MB [53040/16/63] at > > ata1-slave UDMA33 > > > > -------------------------------------------- > > > > I ran > > disklabel -r -w ad2 auto > > disklabel -r -w ad3 auto > > > > then I ran disklabel -e on ad2 and ad3 > > They look like this: > > > > # /dev/ad3c: > > type: unknown > > disk: amnesiac > > label: > > flags: > > bytes/sector: 512 > > sectors/track: 63 > > tracks/cylinder: 16 > > sectors/cylinder: 1008 > > cylinders: 53040 > > sectors/unit: 53464320 > > rpm: 3600 > > interleave: 1 > > trackskew: 0 > > cylinderskew: 0 > > headswitch: 0 # milliseconds > > track-to-track seek: 0 # milliseconds > > drivedata: 0 > > > > 8 partitions: > > # size offset fstype [fsize bsize > > bps/cpg] > > c: 53464320 0 unused 0 0 > > > # (Cyl. 0 - 53039) > > e: 53464320 0 unused 0 0 > > > # (Cyl. 0 - 53039) > > > > --------------------------------------- > > > > Went to /dev and ran ./MAKEDEV ccd0 and the ccd > family > > are there under /dev. > > > > Then Im stuck on this: > > hivemind# ccdconfig ccd0 32 0 /dev/ad2e /dev/ad3e > > ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: > > Inappropriate file type or format > > > > Anyone knows where Im going wrong? > > A few things. > > [1] You have both of your drives on the same IDE > channel. This is not > ideal, particularly when setting up a striped > volume as you are. The > reason is that the two drives on the same IDE > channel can not be > accessed at the same time. You want to have each > drive on separate > IDE channels, ie. both as masters. Your current > configuration will > not keep it from working but will hinder > performance significantly. > > [2] You have to have the fstype field of partition > 'e' set to '4.2BSD'. > > [3] You probably want to put your config into a file > called > '/etc/ccd.conf' so that your ccd0c volume can be > started up at boot > time via the /etc/rc script. > > Lastly, if you are using a recent version of > FreeBSD, have a look at vinum. > > -- > Glenn Johnson > USDA, ARS, SRRC Phone: (504) 286-4252 > New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message