From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 02:01:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71D5B16A4CE for ; Mon, 28 Feb 2005 02:01:53 +0000 (GMT) Received: from lakermmtao12.cox.net (lakermmtao12.cox.net [68.230.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33C143D31 for ; Mon, 28 Feb 2005 02:01:52 +0000 (GMT) (envelope-from myfreebsd@cox.net) Received: from [192.168.0.3] (really [68.226.7.134]) by lakermmtao12.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050228020151.EDMJ2476.lakermmtao12.cox.net@[192.168.0.3]> for ; Sun, 27 Feb 2005 21:01:51 -0500 Message-ID: <42227B8F.8060605@cox.net> Date: Sun, 27 Feb 2005 21:01:51 -0500 From: David Wassman User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: AMD and NFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 02:01:53 -0000 I have computer A running 5.3 as a NFS server and AMD. I would like for a remote client to be able to access the cd-rom on A without accessing A to mount the drive. It is my understanding that NFS on the client will only mount the drive locally and not from on the server side. The drive has to be mounted locally before it can be accessed on a NFS client. I have tried to setup AMD to accomplish the mounting on the server side but there is little to no good docs on the setup in this configuration. Has someone tried this before? It would be alot of help for the client the be able to mount the drive remotely then locally to access. My current amd.conf: # GLOBAL OPTIONS SECTION [ global ] normalize_hostnames = no print_pid = no restart_mounts = yes auto_dir = /n log_file = /var/log/amd log_options = all #debug_options = all plock = no selectors_on_default = yes # config.guess picks up "sunos5" and I don't want to edit my maps yet #os = sos5 # if you print_version after setting up "os", it will show it. print_version = no map_type = file search_path = /etc/amd.map:/usr/lib/amd:/usr/local/AMD/lib browsable_dirs = yes # DEFINE AN AMD MOUNT POINT [ /cdrom ] map_name = amd.cdrom amd.map: # $FreeBSD: src/etc/amd.map,v 1.9 2002/05/15 22:24:29 obrien Exp $ # /defaults type:=host;fs:=${autodir}/${rhost}/host;rhost:=${key} * opts:=rw,grpid,resvport,vers=3,proto=udp,nosuid,nodev localhost type:=auto;fs:=${map};pref:=${key}/ localhost/cdrom type:=program;fs:=/mnt/cdrom;\ mount:="/sbin/mount mount /mnt/cdrom";\ unmount:="/sbin/umount umount /mnt/cdrom" localhost/floppy type:=program;fs:=/mnt/floppy;\ mount:="/sbin/mount mount /mnt/floppy";\ unmount:="/sbin/umount umount /mnt/floppy" ***.***.*.*/cdrom type:=program;fs:=/mnt/cdrom;\ mount:="/sbin/mount mount /mnt/cdrom";\ unmount:="/sbin/umount umount /mnt/cdrom"