Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 1998 19:05:59 -0600
From:      Stormy Henderson <stormy@futuresouth.com>
To:        "original recipient in envelope at chain.freebsd.os.org.za" <questions@FreeBSD.ORG>
Subject:   Re: How to use ccd
Message-ID:  <19981121190559.D303@futuresouth.com>
In-Reply-To: <Pine.BSF.4.05.9811220244590.3324-100000@chain.freebsd.os.org.za>; from Khetan Gajjar on Sun, Nov 22, 1998 at 02:50:33AM %2B0200
References:  <Pine.BSF.4.05.9811220244590.3324-100000@chain.freebsd.os.org.za>

next in thread | previous in thread | raw e-mail | index | archive | help
A happy camper (Khetan Gajjar, khetan@chain.freebsd.os.org.za) once wrote...
> I've got two SCSI drives I'd like to make into one partition, in order
> to write CD-ROM 660+ MB images to. The drives are not identical. DMesg
> output is listed below. What would the correct interleave number be for
> this scenario ?
> da0: <QUANTUM LPS540S 5900> Fixed Direct Access SCSI2 device 
> da0: 516MB (1057616 512 byte sectors: 64H 32S/T 516C)
> da1: <CONNER CFA540S 14B1> Fixed Direct Access SCSI2 device 
> da1: 515MB (1056708 512 byte sectors: 64H 32S/T 515C)

I'm a newbie, but I just did this two days ago, and it worked for me.

The manpage for ccd says, "For large writes, the optimum interleave factor
is typically the size of a track, while for large reads, it is about a
quarter of a track." Since you won't need as much speed on reads when
writing CDS, use a quarter.  Both of your drives are 32 sectors per track
with 512 byte sectors, so try an interleave of 8.

> Would a ccd partition of da0 and da1 combined together be a good
> enough "drive" to use when creating and burning CD-ROM images ?

> Once created, I presume the command to create these two partitions into
> one would be 
> ccdconfig -cv ccd0 [interleave value] 0 /dev/da0s1e /dev/da1s1e

And put it into /etc/ccd.conf, here's mine:
ccd0    16      none    /dev/da0s2e /dev/da1s2e

> Would this then be mounted with mount /dev/ccd0 /mnt ?

After you "newfs -b 8192 -i 1024 /dev/rccd0c", then you "mount /dev/ccd0c
/mnt".  The newfs will give an error message after it is done, just ignore
it, it still worked.

Be happy...
-- 
                      http://www.futuresouth.com/~stormy/signature.html


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?19981121190559.D303>