AdvFS Magic Number Wrong

From: Mohamed K. Ahmed (mkahmed@vsc.teksystems.com)
Date: Thu Nov 14 2002 - 08:36:19 EST


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:59 EDT