Date: Fri, 1 Mar 2002 17:19:43 -0800 (PST) From: trini 0 <gms08701@yahoo.com> To: Glenn Johnson <gjohnson@srrc.ars.usda.gov> Cc: freebsd-questions@freebsd.org Subject: Re: ccd Message-ID: <20020302011943.29463.qmail@web13107.mail.yahoo.com> In-Reply-To: <20020301223758.GA990@node1.cluster.srrc.usda.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, I screwed up somewhere. I moved one of the drives to the primary slave (made total sense) When I run disklabel I get--> hivemind# disklabel -r -w ad1 auto disklabel: /dev/ad1c: Undefined error: 0 Im trying to figure out how to reinitialise the drive while its running. If anyone has any pointers to do that so I can start over, that would be great. Thanks. Please cc to gms08701@yahoo.com --- Glenn Johnson <gjohnson@srrc.ars.usda.gov> 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 <IBM-DPTA-372730> [53040/16/63] at > > ata1-master UDMA33 > > ad3: 26105MB <IBM-DPTA-372730> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020302011943.29463.qmail>