From: Stewart Piesley <Stewart.Piesley () rb ! cwplc ! com> (Telephone 04-4350)
To: tru64-unix-managers
Subject: ADVFS root conversion error...
Date: Wed, 09 Jul 1997 13:45:26 +0000 [thread overview]
Message-ID: <96078614710300.tru64-unix-managers.marc@archive.invalid> (raw)
Hi,
I have followed the DUNIX docs on how to convert my "/" root and
"/usr" partitions over to another disk from UFS to ADVFS.
The problem occurs when I try and boot from the new root advfs
partition , it manages to find the boot block, but then when it tries to
mount the root partition ,via, 'fstab' the following error is displayed:
exec: /sbin/mount_advfs -F 8190
root_domain#root / (null)
root_domain#root on /: operation not supported
The system then hangs until halted.
Here is some config info:
-------------------------
System is running V3.2F and the ADVFS version is 3.7.
Partition Original area (UFS) New area (ADVFS)
========= =================== ================
root (/) /dev/rz8a /dev/rz9a
usr (/usr) /dev/rz8g /dev/rz9e
I partitioned the RZ9 disk as follows (I know the sizes of the areas are an
overkill but it was a spare disk so I used all available space):
size offset fstype [fsize bsize cpg]
a: 3155966 0 ADVfs # (Cyl. 0 - 1396*)
b: 1 3155966 unused 1024 8192 # (Cyl. 1396*- 1396*)
c: 8380080 0 unused 1024 8192 # (Cyl. 0 - 3707)
d: 1 3155967 unused 1024 8192 # (Cyl. 1396*- 1396*)
e: 5224109 3155968 ADVfs # (Cyl. 1396*- 3707*)
f: 1 8380077 unused 1024 8192 # (Cyl. 3707*- 3707*)
g: 1 8380078 unused 1024 8192 # (Cyl. 3707*- 3707*)
h: 1 8380079 unused 1024 8192 # (Cyl. 3707*- 3707*)
Here are the commands I used to convert the root partition...
-------------------------------------------------------------
# mkfdmn -r -t rz29 /dev/rz9a root_domain
# mkfset root_domain root
# mkfdir /newroot
# mount -t advfs root_domain#root /newroot
# vdump 0f - / | (cd /newroot; vrestore -xf -)
# disklabel -r /dev/rrz9a /tmp/rz9label
# disklabel -t advfs -r -R /dev/rrz9a /tmp/rz9label rz29
Then edited '/newroot/etc/fstab' commenting out the old partitions
and adding the new ones:
fstab of the old root /etc area:
/dev/rz8b swap1 ufs sw 0 2
/dev/rz8a / ufs rw 1 1
/proc /proc procfs rw 0 0
/dev/rz8g /usr ufs rw 1 2
fstab of the new root /newroot/etc area (domain=root_domain) before reboot
using new disk (rz9):
/dev/rz8b swap1 ufs sw 0 2
#/dev/rz8a / ufs rw 1 1
root_domain#root / advfs rw 1 1
#/dev/rz8g /usr ufs rw 1 2
usr_domain#usr /usr advfs rw 1 2
/proc /proc procfs rw 0 0
Then rebooted the system and got the above error !!???
(The only thing I can think off is that the system had enhanced security
switched on, but I did turn that off and confirmed this by using:
# rcmgr get SECURITY
and this gave a correct output of BASE)
Please help...
thanx
Stewart Piesley ~ Tech Svs ~ Cable and Wireless PLC
Mail Address: Stewart.Piesley@rb.cwplc.com
reply other threads:[~1997-07-09 13:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox