From owner-freebsd-questions Wed Jul 23 14:37:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA16405 for questions-outgoing; Wed, 23 Jul 1997 14:37:58 -0700 (PDT) Received: from itchy.atlas.com (atlas-233.atlas.com [206.29.170.233]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA16397 for ; Wed, 23 Jul 1997 14:37:55 -0700 (PDT) Received: (from brantk@localhost) by itchy.atlas.com (8.8.5/8.8.5) id OAA02168 for questions@freebsd.org; Wed, 23 Jul 1997 14:40:06 -0700 (PDT) Message-Id: <199707232140.OAA02168@itchy.atlas.com> Subject: automounter type:=host To: questions@freebsd.org Date: Wed, 23 Jul 1997 14:40:06 -0700 (PDT) From: "Brant Katkansky" Reply-to: bmk@pobox.com X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 Software Engineer, ADC