Thanks goes to Jim Belonis, Warren Sturm, Dr. Tom Blinn, Nikola Milutinovic
and Alan Nabeth.
Basically, there was no real problem except for the fact that I didn't know
that the AdvFS disk had originally been installed on rz0 and was now on
rz1(arrrrrrrrrrrrrrrrrrrrrrrrgh!!) and how the mechanism of AdvFS works with
respect to device names in 4.0f and that I have to add kernel support for
AdvFS for the ufs system, welcome to the end of this sentance. My solution
was to swap the disk to scsi id 0 and boot. That was it. I am going to
change the links in /etc/fdmns/usr_domain and root_domain so that they point
to rz1 instead of rz0 and then I will be able to mount the devices from the
ufs system while keeping the AdvFS disk at scsi id 1.
So, it wouldn't be much of a summary if I didn't say how I am going to
accomplish this. First I changed the AdvFS disk scsi id to zero and booted
up, thank god. To change the links to the disks in /etc/fdmns/usr_domain
and root_domain Warren Sturm gave this sage advice:
To recreate the link to rz1
# cd /etc/fdmns/usr_domain
# rm rz0g
# ln -s /dev/rz1g rz1g
This is pretty straight forward. Worked like a charm. I changed the disk
back to scsi id 1 and booted up, no problem. I am going to recompile a
kernel on rz0, the ufs disk, and add:
options MSFS
to the kernel config file /usr/sys/conf/NODENAME, as suggested by Alan
Nabeth, to support AdvFS so that I can mount rz1 when booted from rz0.
That is pretty much all that I need to do to get all of the functionality
that I need as I have already added the AdvFS subsets via setld. I will of
course do some homework on AdvFS. Thanks again to everyone who replied!
Here is my original post which conspicuously does not mention the OS
version, doh!:
----------------------------------------------------------------------------
----------------------------------------------------------------------------
I have a couple of disks in an Alpha, one has AdvFS(rz1) on it and the other
ufs(rz0). I was attempting to mount the AdvFS partition while booted from
the ufs disk so that I could access the data without booting from that disk.
I got an error saying that AdvFS not installed. Okay, no go, so I have to
boot that disk. I boot that disk and get:
Checking local file systems
/sbin/ufs_fsck -p
/dv/rrz2h: File system unmounted cleanly - no fsck needed
Mounting /(root)
usr_cfg_pt: reconfigured
Mounting local filesystems
exec: /sbin/mount_advfs - F81920 root_domain#root /
root_domain#root on / type advs (rw)
/proc on /proc type procfs (rw)
exec: /sbin/mount_advfs -F 16384 usr_domain#usr /usr
usr_domain#usr on /usr: Device does not contain a valid ADVFS file system
/dev/rz2h on /usr/xxxxx: No such directory
data link: links = 128 macs = 6
Subststem dlpi was successfully configured
Datexxxxxxxxxxxxxxx
INIT: Command is respawning too rapidly. Check for possible errors
id: cons "/usr/sbin/getty console console vt100"
I read that this could be a terminal problem between graphics and ASCII
terminals, but I can boot from rz0 just fine, so I don't think that this is
the problem. I also did a "advscan rz1" and got:
Scanning devices /dev/rrz1
Found domains:
domain_rz1a
Domain Id 35749edc.0000ab90
Created Tue Jun 2 18:54:52 1998
Domain volumes 1
/etc/fdmns links 1
Actual partitions found:
rz1a
domain_rz1g
Domain Id 35749edc.000cac70
Created Tue Jun 2 18:54:52 1998
Domain volumes 1
/etc/fdmns links 1
Actual partitions found:
rz1g
I thought that the domain names should be root_domain and usr_domain, so is
it possible that these got renamed when I was trying to mount them on the
ufs system? When I first did a advscan there were no names for the domains,
I tried some other commands like verify just to see if I could get some
information on the domains and the later when I did an advscan they were
named as above. I must have done something wrong and renamed the AdvFS
domains, is there a way to fix it? If so, do I need to get this disk into a
machine with AdvFS installed or can I use the AdvFS commands that are
installed already with rz0(ufs disk with /sbin/advfs commands installed).
By the way, I can boot to single user mode on rz1, but cannot mount the usr
partition, I get the "does not contain a valid ADVFS file system" error as
well, so I cannot get vi or any other executable from the usr directory
going to modify a file on the root partition.
Thanks!
Trevor Osatchuk
Process Solutions Canada Ltd.
Support and Integration Analyst
(780) 452-2227 Ext. 286
trevor.osatchuk_at_pscl.com
Received on Thu Mar 01 2001 - 23:06:57 NZDT