From owner-freebsd-questions@FreeBSD.ORG Wed Nov 17 01:33:04 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 0CDFC16A4CE for ; Wed, 17 Nov 2004 01:33:04 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1CB043D48 for ; Wed, 17 Nov 2004 01:33:03 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc12) with ESMTP id <200411170132530120091b0ge>; Wed, 17 Nov 2004 01:32:53 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id 8980860FC for ; Tue, 16 Nov 2004 20:32:52 -0500 (EST) Message-ID: <419AAA45.3080305@trini0.org> Date: Tue, 16 Nov 2004 20:32:53 -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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 01:33:04 -0000 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