* problems converting root-filesystem from ufs to advfs
@ 1998-07-28 4:00 Tom Goessi
1998-07-29 4:00 ` Peter Mayne
0 siblings, 1 reply; 2+ messages in thread
From: Tom Goessi @ 1998-07-28 4:00 UTC (permalink / raw)
Hi
I converted the root-filesystem from ufs to advfs as follows:
the harddrive has four partitions: a, b, g, and h
a ist for root, b is swap and the others are /usr and /tmp
1. vdump -0f /tmp/root-bck / (storing
of root-filesystem on partition h)
2. reboot the workstation from installation CDROM and start in
single-mode
3. cd /dev
4. MAKEDEV rz16
(make disk-partitions visible)
5. mkfdmn -r -t rz16 /dev/rz16a root_domain
6. mkfset root_domain root (create
file domain and fileset)
7. mount -t advfs root_domain#root /mnt
8. mount /dev/rz16h /tmp
(mounting partitions a and h for restore)
9. vrestore -xf /tmp/root-bck -D /mnt (restoring
root-filesystem)
10. umount /tmp
(unmounting partition h)
11. disklabel -r /dev/rrz16a > /tmp/rz16label
12. disklabel -t advfs -r -R /dev/rrz16a /tmp/rz16label rz16 (making
partition a bootable)
13. replace '/dev/rz16a / ufs rw 11' with 'root_domain#root /
advfs rw 1 1' in fstab
14. reboot
If I reboot, the system starts up booting and comes up, till the
root-filesystem is mounted,
then the following message appears: 'mounting root_domain#root on /:not
enough space'
then the system comes up in single mode. If I invoke 'mount', I see,
that the root-filesystem
is only mounted as read only not as read/write.
I replaced also the order of the entries in fstab without success.
There cannot be too few space on partition a. I tested this with df and
saw that only 22% is
used., so there must be too few memory space?
If I convert the filesystem back to ufs with the same method, the system
boots up and runs normally.
Please tell me, what the problem could be?
May I have forgotten to enter or change an entry in another
configuration file?
Thank you very much.
Tom
-----------------------------------------------------
To avoid spam, I change my email address. Replace 'nospam' with
'ife.ethz' to mail!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problems converting root-filesystem from ufs to advfs
1998-07-28 4:00 problems converting root-filesystem from ufs to advfs Tom Goessi
@ 1998-07-29 4:00 ` Peter Mayne
0 siblings, 0 replies; 2+ messages in thread
From: Peter Mayne @ 1998-07-29 4:00 UTC (permalink / raw)
Tom Goessi wrote in message <35BDCEC8.F7C05357@nospam.ch>...
>I converted the root-filesystem from ufs to advfs as follows:
> 5. mkfdmn -r -t rz16 /dev/rz16a root_domain
When you do this step, some files/links get created in /etc/fdmns. Since
you're doing this using the in-memory file system, and you didn't say you
copied the contents of /etc/fdmns to the real root filesytem in any of your
other steps, then AdvFS might not know where root_domain really is.
Try replicating /etc/fdmns from the in-memory filesystem to the disk.
PJDM
----
Peter Mayne, Digital Equipment Corporation (Australia), Canberra, ACT
These are my opinions, and have nothing to do with Digital.
"Forgive my long delay in writing, but I have been simply overwhelmed with
work."
- Letter from Miss Mina Murray to Miss Lucy Westenra; Dracula, Bram
Stoker
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-07-29 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-28 4:00 problems converting root-filesystem from ufs to advfs Tom Goessi
1998-07-29 4:00 ` Peter Mayne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox