From owner-freebsd-questions@FreeBSD.ORG Wed Nov 17 14:35:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6587A16A4CE for ; Wed, 17 Nov 2004 14:35:46 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A92543D5D for ; Wed, 17 Nov 2004 14:35:46 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (rwcrmhc12) with ESMTP id <2004111714354501400a3g99e>; Wed, 17 Nov 2004 14:35:45 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id 2767060C6 for ; Wed, 17 Nov 2004 09:35:45 -0500 (EST) Message-ID: <419B61C2.8000007@trini0.org> Date: Wed, 17 Nov 2004 09:35:46 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 0.9 (X11/20041114) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions References: <419AAA45.3080305@trini0.org> In-Reply-To: <419AAA45.3080305@trini0.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Getting back my CCD Raid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 14:35:46 -0000 Gerard Samuel wrote: > I had a ccd raid 0 drive setup under 4.10. > I did a fresh install of 5.3, with the thought, that I could just > reenable the settings for the ccd drive, to bring it back to life > with its data intact. > > 1. Added "device ccd" to the kernel and rebuilt it. > 2. Verified that the disklabels are intact for the drives ad0/ad2 > # /dev/ad0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 53464320 0 unused 0 0 # "raw" part, > don't edit > e: 53464320 0 4.2BSD 0 0 0 > > # /dev/ad2: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 53464320 0 unused 0 0 # "raw" part, > don't edit > e: 53464320 0 4.2BSD 0 0 0 > > 3. Ran "ccdconfig ccd0 32 0 /dev/ad0e /dev/ad2e" > 4. Ran "ccdconfig -g > /etc/ccd.conf" > 5. Try mounting the ccd with "mount /dev/ccd0c /storage" and I get > mount: /dev/ccd0c: No such file or directory > > The device does exist -> > hivemind# ls -al /dev/ccd* > crw-r----- 1 root operator 4, 49 Nov 16 19:16 /dev/ccd0 > > I even tried configuring the drive before mounting but -> > hivemind# ccdconfig -C > ccdconfig: Unit 0 already configured > or possibly kernel and ccdconfig out of sync > > Could someone point out to me, what Im doing wrong? > Or is it even possible to achieve the results that Im looking for? > Should I be reconstructing the raid from scratch, deleting the data on > them? > > Thanks Any other ideas??? Thanks