Subject: amd woes
To: None <port-sparc@netbsd.org>
From: Simon Gerraty <sjg@juniper.net>
List: port-sparc
Date: 01/24/2001 14:12:32
Not sure if this is sparc64 specific, that's the only netbsd system
I'm using amd with.
The master map:
/host /etc/amd/host
/home /etc/amd/home
/homes /etc/amd/homes
The /host map works fine:
/defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key}
* opts:=rw,grpid,resvport,nodev
The /homes map works fine.
/defaults type:=link
root fs:=/home/localhost/root
* fs:=/home/toaster/${key}
The /home map though only works for the localhost:
/defaults opts:=rw,grpid,intr
# /home/localhost always points /home/<machine>
localhost type:=link;fs:=${host}
toaster type:=nfs;rhost:=${key};rfs:=/vol/vol0/homes
* host!=${key};type:=nfs;rfs:=/usr/home \
host==${key};type:=link;fs:=/usr/home
If I access /homes/root I get:
/homes/root -> /home/localhost/root
/home/localhost -> hobbit
/home/hobbit -> /usr/home
So, if I access /homes/sjg/ I _should_ get:
/homes/sjg -> /home/toaster/sjg
/home/toaster -> /.amd/vol/vol0/homes
at least that's what I get on a freebsd box.
On hobbit (sparc64) I get:
ls: /homes/sjg/: Input/output error
and while the link in /homes is created, nothing is created in /home
nor is anything mounted.
If I access /host/toaster/vol/vol0/homes/sjg/ though, it works fine,
so its not an NFS issue.
Is there something fundamentally wrong with my /home map?
/var/log/messages doesn't tell (me) much but does clearly show that
the remote fs is never mounted in the case of /home/toaster, yet
otherwise the log entries look the same.
Oh and I just rebuilt amd from -current since the following in amd -v
output looked sus:
...
cpu=sparc64 (little-endian)
...
I still get that after re-building btw. Machine is:
NetBSD hobbit.juniper.net 1.5Q NetBSD 1.5Q (HOBBIT) #1: Mon Jan 8 15:15:55 PST 2001 root@hobbit.juniper.net:/u1/obj/sys/arch/sparc64/compile/HOBBIT sparc64
Userland is mostly 1.5, but ld, awk and now amd have been updated to
-current.
Input appreciated.
--sjg