AdvFS Magic Number Wrong

From: Mohamed K. Ahmed <mkahmed_at_vsc.teksystems.com>
Date: Thu, 14 Nov 2002 08:36:19 -0500

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
Received on Thu Nov 14 2002 - 13:35:36 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT