From owner-freebsd-questions Thu Dec 5 17: 0: 3 2002 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 8CAAD37B401 for ; Thu, 5 Dec 2002 17:00:01 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BE5A43ECD for ; Thu, 5 Dec 2002 16:59:59 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 2C03851922; Fri, 6 Dec 2002 11:29:55 +1030 (CST) Date: Fri, 6 Dec 2002 11:29:55 +1030 From: Greg 'groggy' Lehey To: Jason Morgan Cc: freebsd-questions@freebsd.org Subject: Re: vinum and a BAD SUPER BLOCK: MAGIC NUMBER WRONG Message-ID: <20021206005955.GE52058@wantadilla.lemis.com> References: <20021206003618.GK88435@sentinelchicken.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021206003618.GK88435@sentinelchicken.net> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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 On Thursday, 5 December 2002 at 19:36:18 -0500, Jason Morgan wrote: > OK, I am installing vinum for the first time and have run into trouble. > > Setup: > > FreeBSD 4.7-RELEASE > 2 WD 80GB IDE drives, ad0 and ad2 > > I used this page to help me through my setup: > > http://org.netbase.org/vinum-mirrored.html > > I have followed Case 2, which is a basic setup of one drive mirroring the > other (RAID-1 right?). I am not trying to mirror the root partition, and > have a minimal install on ad0s1a. > > The setup hase gone just fine, but when I reboot, I get this: > > [snip] > /dev/ad2s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG > /dev/ad2s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > [snip] > /dev/ad0s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG > /dev/ad0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > > At that point it goes in single user mode. OK, this looks like a problem with the howto. After you put a Vinum drive on the slices, you no longer have a file system. You need to remove the entries for these slices in /etc/fstab and replace them with entries for the Vinum volumes. The howto tells you to add the entries for the Vinum volumes, but not to remove the old ones. > I've tried fooling with fstab and even reinstalling (new machine, no > data to be lost), but I keep getting the same problem. Could this be > a problem with my newfs usage: > > newfs -v /dev/vinum/usr > newfs -v /dev/vinum/var > newfs -v /dev/vinum/public That looks OK. > Last thing; When I run vinum and issue the list command, it says > everything is 'up', including ad0s1e and ad2s1e. Vinum doesn't say that ad0s1e and ad2s1e are up. It's the drives located on those slices which are up. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message