From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Mohamed K. Ahmed" Newsgroups: gmane.os.tru64.managers Subject: AdvFS Magic Number Wrong Date: Thu, 14 Nov 2002 08:36:19 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <22c159cb.59cb22c1@vsc.teksystems.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037280817 25071 80.91.224.249 (14 Nov 2002 13:33:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 13:33:37 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18CK7i-0006W5-00 for ; Thu, 14 Nov 2002 14:33:35 +0100 Original-Received: (qmail 17395 invoked by uid 5); 14 Nov 2002 13:35:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17386 invoked by uid 49493); 14 Nov 2002 13:35:05 -0000 Original-Received: from mkahmed@vsc.teksystems.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(0.2/5.0):. Processed in 0.400566 secs); 14 Nov 2002 13:35:05 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 14 Nov 2002 13:35:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5K0013VJ2EJ1@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Nov 2002 08:35:04 -0500 (EST) Original-Received: from mail.vsc.teksystems.com (mail.vsc.teksystems.com [63.73.230.193]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5K000D0J298G@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Nov 2002 08:34:58 -0500 (EST) Original-Received: from vsc.teksystems.com ([127.0.0.1]) by mail.vsc.teksystems.com (Netscape Messaging Server 4.1) with ESMTP id H5KJ4J00.P11 for ; Thu, 14 Nov 2002 08:36:19 -0500 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Netscape Webmail Content-language: en Content-Disposition: inline X-Accept-Language: en Xref: main.gmane.org gmane.os.tru64.managers:2430 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2430 Hi Admins, In my project of converting all my file systems from UFS to AdvFS on a AS2100 V 4.0G pk#3, I have encountered a problem with the root file system. After I finished the procedure below, I got the message while fsck'ing the root FS while booting: /dev/rz0a Bad Super Block: Magic Number Wrong /dev/rrz0a: Not Labeled as a BSD file system (AdvFS) I guess I have to make the rz0a bootable partition, but here is the procedure I followed from the UNIX manual (but I have to say that I used the SAME partition on the SAME disk: Backing up the root fs to a tape booting from CD makedevices mkfdmn -r -t rz /dev/rz0a root_domain mkfset root_domain root mount -t advfs root_domain#root /mnt cd /mnt vrestore -xv **Make it bootable ** disklabel -r /dev/rrz0a > /tmp/rz0label disklabel -t advfs -r -R /dev/rrz0a /tmp/rz0label **Change fstab to reflect the new advfs root ** shutdown -h now and reboot Did I miss something