Subject: amd weirdness
To: None <port-sparc64@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: port-sparc64
Date: 06/18/2002 23:10:57
So at work I now have an i386 and sparc64 both running 1.6 BETAs
I have the exact same amd maps setup on both.  The i386 works fine,
but sparc64 does not.

Eg.

i386$ ls -ld /volume/project/bin
drwxrwxr-x  2 root  wheel  4096 May 29 12:10 /volume/project/bin/
i386$ ls -l /volume
total 1
lrwxrwxrwx  1 root  wheel  31 Jun 18 22:35 project@ -> /amd/server/vol/vol0/project

sparc64$ ls -ld /volume/project/bin
ls: /volume/project/bin: Input/output error

I get the same sort of error with maps like /homes, /home etc

yet this works:

sparc64$ ls -ld /host/server/vol/vol0/project/bin
drwxrwxr-x  2 root  wheel  4096 May 29 12:10 /host/server/vol/vol0/project/bin

so its not an nfs issue.

The /host map is just:

# cat /etc/amd/map
/defaults       type:=host;fs:=${autodir}/${rhost};rhost:=${key}
*               opts:=rw,grpid,resvport,nodev

# cat /etc/amd/vols
/defaults               opts:=rw,grpid,intr,soft

project    host==server;type:=link;fs:=/vol/vol0/project \
           host!=server;type:=nfs;rhost:=server;rfs:=/vol/vol0/project

I've checked that the different opts don't make any difference.

Clues welcome.
--sjg