Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 16:09:20 -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:  <20020302000920.86688.qmail@web13106.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
Ill move one of the drives to the other controller.
Ill report back when I try again.
Thanks


--- 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?20020302000920.86688.qmail>