From owner-freebsd-questions Mon Mar 5 23:28:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ioffe.rssi.ru (relay.ioffe.rssi.ru [194.85.224.33]) by hub.freebsd.org (Postfix) with ESMTP id B783737B718 for ; Mon, 5 Mar 2001 23:28:15 -0800 (PST) (envelope-from kopts@astro.ioffe.rssi.ru) Received: from astro.ioffe.rssi.ru (astro.ioffe.rssi.ru [194.85.229.130]) by relay.ioffe.rssi.ru (8.9.1/8.9.1) with ESMTP id KAA00958 for ; Tue, 6 Mar 2001 10:27:57 +0300 (MSK) Received: by astro.ioffe.rssi.ru (8.9.3/Clnt-2.14-AS-eef) id KAA94402; Tue, 6 Mar 2001 10:27:41 +0300 (MSK) Date: Tue, 6 Mar 2001 10:27:41 +0300 (MSK) From: Alexey Koptsevich To: questions@freebsd.org Subject: how to mount by amd the filesystem mounted via amd remotely? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, As I understand the point of my message is not bug but error in configuration. What map configuration should I choose for amd mount of NFS directories which should be mounted by amd on the NFS server? In particular, do I use proper mount type, nfs? Say, I would like to mount CD-ROM which physically resides on host HOST to several hosts in the net via amd. To do that, I use the following map which is shared by all hosts: /defaults fs:=${autodir}/${rhost.}/${key};rfs:=${autodir}/${rhost.}/${key} cdrom host==HOST;type:=cdfs;dev:=/dev/acd0c;opts:=ro \ host!=HOST;rhost:=HOST;type:=nfs;opts:=ro Everything works perfectly locally. But when I try to access this directory from other host, say HOST1, I see two possible situations: - if ${autodir}/${rhost.}/${key} has not been mounted locally on HOST before, amd mounts HOST:${autodir}/HOST/cdrom to HOST:${autodir}/HOST1/cdrom but does not mount CRD-ROM itself, and I get empty directory. - if HOST:${autodir}/HOST/cdrom has been already mounted on HOST locally, amd on HOST1 returns 'Permission denied'. Please cc: your reply to me. Thank you, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message