Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 1997 14:40:06 -0700 (PDT)
From:      "Brant Katkansky" <bmk@pobox.com>
To:        questions@freebsd.org
Subject:   automounter type:=host
Message-ID:  <199707232140.OAA02168@itchy.atlas.com>

next in thread | raw e-mail | index | archive | help
I've replaced the OS on my office workstation with FreeBSD 2.2.2 (it
was Solaris-x86 2.5.1).

I'm having trouble getting amd to work in a similar fashion as Sun's -hosts 
automounter map.  I have been able to get amd to work with
type:= nfs, nfsx, program, etc., but the host type doesn't seem to work at
all.

The amd map (/etc/amd.net) is as follows:

#
#	host mounts
#
/defaults	type:=host;fs:=${autodir}/${rhost}/root;rhost:=${key}

*		opts:=rw,nosuid,grpid

I'm starting amd with ``amd -x all -l /tmp/amd.log /net /etc/amd.net''.

Here's the relavent section from the amd logfile:

Jul 23 13:14:03 itchy amd[996]/map:   Trying mount of waldo:/host/waldo on /host/waldo fstype host
Jul 23 13:14:03 itchy amd[996]/info:  Flushed /host/waldo; dependent on waldo.atlas.com 
Jul 23 13:14:05 itchy amd[996]/map:   Trying mount of waldo:/host/waldo on /host/waldo fstype host
Jul 23 13:14:08 itchy amd[1006]/error: /a/waldo/VOL1: mount: Bad address
Jul 23 13:14:08 itchy amd[1006]/error: /a/waldo/VOL3: mount: Bad address
Jul 23 13:14:08 itchy amd[1006]/error: /a/waldo/VOL4: mount: Bad address
Jul 23 13:14:08 itchy amd[1006]/error: /a/waldo/VOL5: mount: Bad address
Jul 23 13:14:08 itchy amd[1006]/error: /a/waldo/VOL7: mount: Bad address
Jul 23 13:14:08 itchy amd[1006]/error: /a/waldo/dev: mount: Bad address
Jul 23 13:14:08 itchy amd[996]/info:  waldo:/host/waldo mounted fstype host on /a/waldo

The 'Bad address' error is what I get no matter which host I try to mount.

Any suggestions?  Has anyone gotten this to work right?  I'm going to try and
recompile amd with DEBUG set and see if I can get any more useful information.

I'd appreciate a cc: on any replies.

-- Brant Katkansky <bmk@pobox.com>
   Software Engineer, ADC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707232140.OAA02168>