Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 03:25:43 -0500
From:      "Henrik Hudson" <rhavenn@rhavenn.net>
To:        questions@freebsd.org
Subject:   FSCK, RAID and "Magic Numbers"
Message-ID:  <3CE47837.12770.2C35BA0@localhost>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CE47837.12770.2C35BA0>