From owner-freebsd-questions Thu Aug 6 08:39:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA23515 for freebsd-questions-outgoing; Thu, 6 Aug 1998 08:39:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA23503 for ; Thu, 6 Aug 1998 08:39:09 -0700 (PDT) (envelope-from djv@lucy.bedford.net) Received: (from djv@localhost) by lucy.bedford.net (8.8.8/8.8.8) id LAA07381 for freebsd-questions@freebsd.org; Thu, 6 Aug 1998 11:28:31 -0400 (EDT) (envelope-from djv) Message-Id: <199808061528.LAA07381@lucy.bedford.net> Subject: CCD newbie Q To: freebsd-questions@FreeBSD.ORG Date: Thu, 6 Aug 1998 11:28:31 -0400 (EDT) Reply-To: djv@bedford.net From: djv@bedford.net X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Recently, filled with ccd-zeal, I decided to give it a try, relying upon man ccd and man ccdconfig and a fearless attitude towards a certain disk. System: PPro 200, 2.2.6R, scsi disk. (Seagate st32550W on AIC-7880). Compiled new kernel, with 4 ccd pseudo devices. Did MAKEDEV ccd0, creating devices [r]ccd0[a-h]. Strange, there's no ccd0 or rccd0 devices... why not? Sliced the disk in twain, approximately 1GB each. (Not identical). Disklabeled the slices, with one partition (e) covering each whole slice. -- just as if I were not about to ccdconfig them. (There was also an unused 'c' part. of the same size.) newfs'd those two rsd1s[12]e partitions. (Could mount and fool with them). ccdconfig ccd0 0 none /dev/sd1s1e /dev/sd1s2e No error. Now what? I eventually managed to disklabel ccd0c, one (e) partition covering both slices. This part is verrrrrry mysterious. I could not imagine proceeding without doing this, though. I attempted to newfs this ccd0e partition, and repeatably drew an immediate kernel panic (page fault in kernel mode). IIRC, it was newfs /dev/rccd0e Hints? Let's say that I restart this process with: dd if=/dev/zero of=/dev/sd1 bs=512 count=100 reboot (to flush out "in-kernel disklabels" and other strangeness. (should that be of=/dev/rsd1 ? I want to stomp it back to "factory virgin" if possible -- no partition table, boot blox, no nada.) What should happen to result in a ccd made of two concatenated unequal slices? (Yeah, I know this is strange, but it's for the esthetic/pedagogic experience. I told a trusting soul yesterday that this stuff worked, and (unlike my usual practice) hadn't tried it myself first.) TIA Dave -- "Today, machines sit on our desks and spend the overwhelming majority of their cycles doing nothing more important than blinking a cursor." --William Dickens http://www.feedmag.com/html/feedline/98.07dickens/98.07dickens_master.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message