From owner-freebsd-isp Thu Apr 26 7:28:25 2001 Delivered-To: freebsd-isp@freebsd.org Received: from nr8.i-p-d.nl (nr8.i-p-d.nl [217.18.64.42]) by hub.freebsd.org (Postfix) with ESMTP id 9304B37B422 for ; Thu, 26 Apr 2001 07:28:16 -0700 (PDT) (envelope-from danny@i-p-d.nl) Received: from danny [217.18.66.12] by nr8.i-p-d.nl with ESMTP (SMTPD32-6.04) id A01D235600BC; Thu, 26 Apr 2001 16:26:37 +0200 From: danny@i-p-d.nl To: freebsd-isp@FreeBSD.ORG Date: Thu, 26 Apr 2001 16:27:38 +0200 MIME-Version: 1.0 Content-type: text/enriched; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: vinum Message-ID: <3AE84C7A.5232.19AB654@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 0100,0100,0100My problem is the following: 0000,0000,0000After rebooting I get the next message for my 2 vinum-partitions: BAD SUPER BLOCK: MAGIC NUMBER WRONG I think it has something to do with the disklabeling, but I am not sure. I have FreeBSD 4.2 ========================================= I will tell you what I have done: I start a new FreeBSD install with 2 identical drives. I setup the first drive as full use and bootable (+only FreeBSD) I setup the second identically, but not bootable. My labels are: ad0: / 2G /a rest of disk ad1: swap 2G /b rest of disk I do a complete install with ports and linux binaries. I restart and do: # disklabel -e ad0 (I have to note that in /root/.cshrc I changed my default editor from vi to ee, so the alteration of the disklabel is done in ee) At the bottom I change the name of only e: from 4.2BSD in vinum (I leave a: as 4.2BSD) When I do disklabel -e ad0 again, I see, that the numbers for fsize, bsize and bps/cpg have disappeared. Maybe this is what creates the problem? I do # disklabel -e ad1 At the bottom I change the name of only e: from 4.2BSD in vinum I create the /etc/vinum.conf file as following: drive drive1 device /dev/ad0s1e drive drive2 device /dev/ad1s1e volume usr plex org concat sd length 9g drive drive1 plex org concat sd length 9g drive drive2 volume var plex org concat sd length 0 drive drive1 plex org concat sd length 0 drive drive2 I start vinum I do # create -f /etc/vinum.conf I leave vinum (CTRL+D) I do # newfs -v /dev/vinum/usr # newfs -v /dev/vinum/var # mkdir /mnt/usr # mkdir /mnt/var # mount /dev/vinum/usr /mnt/usr # mount /dev/vinum/var /mnt/var 0100,0100,0100# cd / # tar cfv usr.tar usr # mv usr.tar /mnt # tar xfvp usr.tar 0000,0000,0000# cd / # tar cfv var.tar var # mv var.tar /mnt # tar xfvp var.tar 0100,0100,0100 # ee /etc/fstab I add: /dev/vinum/usr /mnt/usr ufs rw 2 /dev/vinum/var /mnt/var ufs rw 2 NOTE: I also tried /usr and /var in stead of /mnt/usr and /mnt/var earlier with the same result. NOTE: please tell me which is right: /mnt/usr or /usr (I guess the first) I do: # ee /etc/rc.conf and add: # start_vinum="YES" After this I reboot and get the problem. ==================================== Thanx for your help! Met vriendelijke groeten, Danny Zwegers Unix SysAdmin (Spec:Domains) IPD Hosting & Design BV ------------------- WWW Hosting --------------------- http://www.i-p-d.nl Tel: 0165-571675 http://www.ipdhosting.com Fax: 0165-571710 http://www.domeinhosting.com Email: danny@i-p-d.nl http://www.secure.nl ------------------- WWW Design --------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message