From owner-freebsd-questions Fri May 17 1:24:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smaug.rhavenn.net (smaug.rhavenn.net [209.150.195.53]) by hub.freebsd.org (Postfix) with ESMTP id 5FAC837B401 for ; Fri, 17 May 2002 01:24:20 -0700 (PDT) Received: from STRIDER (strider.rhavenn.net [209.150.195.52]) by smaug.rhavenn.net (8.12.1/8.12.1) with ESMTP id g4H8OcJ8036971 for ; Fri, 17 May 2002 03:24:38 -0500 (CDT) From: "Henrik Hudson" To: questions@freebsd.org Date: Fri, 17 May 2002 03:25:43 -0500 MIME-Version: 1.0 Subject: FSCK, RAID and "Magic Numbers" Reply-To: rhavenn@rhavenn.net Message-ID: <3CE47837.12770.2C35BA0@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello List- I rebooted (ie: hit the reset switch) by accident tonight on my server. Server is running 4.5 release with a Mylex RAID controller on it. 2 RAID 1 disks are setup. /etc/fstab: /dev/da0s1b none swap sw 0 0 /dev/da1s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da1s1e /data ufs rw,userquota 2 2 /dev/da0s1h /tmp ufs rw 2 2 /dev/da0s1e /usr ufs rw 2 2 /dev/da0s1f /usr/local ufs rw 2 2 /dev/da0s1g /var ufs rw 2 2 When I run fsck -p /dev/da0s1 it works just fine. I am "supposed" to do it this way even on a RAID disk, since the controller is taking care of making sure the correct disk(s) are being written to underneath the hood, right? Just checking :) My main problem is when I run this on /dev/da1s1 via: fsck -p /dev/da1s1 I get the following error: /dev/da1s1: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/da1s1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Now, is this because the swap space is sitting up front? How would you get around this problem? Thanks much list. Henrik ------------- Henrik Hudson rhavenn@rhavenn.net Note: Beware of Dragons - Thou art crunchy and taste good with ketchup. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message