From owner-freebsd-questions Sat Aug 4 4:28:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from solfertje.student.utwente.nl (wit401310.student.utwente.nl [130.89.236.150]) by hub.freebsd.org (Postfix) with ESMTP id DBB3337B406 for ; Sat, 4 Aug 2001 04:28:44 -0700 (PDT) (envelope-from dalroi@wit401310.student.utwente.nl) Received: from solfertje.student.utwente.nl (localhost.student.utwente.nl [127.0.0.1]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 9577E1D53 for ; Sat, 4 Aug 2001 13:28:49 +0200 (CEST) Date: Sat, 4 Aug 2001 13:28:47 +0200 (CEST) From: Alban Hertroys Subject: AMD and NFS mounts To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="0-1804289383-996924532=:4866" Message-Id: <20010804112849.9577E1D53@solfertje.student.utwente.nl> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0-1804289383-996924532=:4866 Content-Type: TEXT/plain; CHARSET=US-ASCII I'm trying to mount a number of NFS exported FAT32 filesystems using AMD. I have: PC1 (failways): Exporting 2 FAT32 filesystems through NFS3, tcp only. PC2 (solfertje): Running AMD, trying to mount the exported filesystems from PC1 The NFS exports work, I can mount them with mount_nfs. I used to do so from my fstab. I was successful mounting the local CD-ROM through AMD. When trying to mount the NFS filesystems using AMD (cd /mnt/nfs/d), I get a loop in my amd.log saying (full log attached): =========================== Aug 4 13:21:55 solfertje amd[10840]/info: /etc/amd_maps/amd.nfs.map mounted fstype toplvl on /mnt/nfs --> loop starts here Aug 4 13:21:57 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:21:57 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:21:57 solfertje amd[10840]/info: start_ping: nfs_version: 3 Aug 4 13:21:57 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:21:59 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:21:59 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:21:59 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs After a while the loop stops, and I get "/mnt/nfs/d: Resource temporarily unavailable." on my terminal. My amd.conf (on PC2) looks like: ======================= # AMD - configuration file # [global] browsable_dirs = full log_file = /var/log/amd.log #log_options = all,noinfo,nostats log_options = all #debug_options = all #AMD was not compiled with --enable-debug restart_mounts = yes unmount_on_exit = yes #mount_type = nfs # default search_path = /etc/amd_maps local_domain = internal selectors_on_default = no [/mnt/nfs] map_name = amd.nfs.map [/cdrom] map_type = file map_name = amd.local.map My amd.nfs.map is: ================== #/etc/amd_maps/amd.nfs.map # Define our NFS mounts (under /.amd_mnt/nfs) # /defaults opts:=ro,vers=3,proto=tcp;fs:=${autodir}/${rhost};\ rhost:=PC1;rfs:=/mnt/${key} d type:=nfs e type:=nfs -- Alban Hertroys http://solfertje.student.utwente.nl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The world is filled with fools, and I enjoy every one of them. --0-1804289383-996924532=:4866 Content-Type: TEXT/plain; CHARSET=US-ASCII Content-Description: amd.log Content-Disposition: attachment ; filename="amd.log" Aug 1 08:00:00 solfertje newsyslog[17156]: logfile turned over Aug 4 13:21:55 solfertje amd[10839]/info: switched to logfile "/var/log/amd.log" Aug 4 13:21:55 solfertje amd[10839]/info: AM-UTILS VERSION INFORMATION: Aug 4 13:21:55 solfertje amd[10839]/info: Copyright (c) 1997-1999 Erez Zadok Aug 4 13:21:55 solfertje amd[10839]/info: Copyright (c) 1990 Jan-Simon Pendry Aug 4 13:21:55 solfertje amd[10839]/info: Copyright (c) 1990 Imperial College of Science, Technology & Medicine Aug 4 13:21:55 solfertje amd[10839]/info: Copyright (c) 1990 The Regents of the University of California. Aug 4 13:21:55 solfertje amd[10839]/info: am-utils version 6.0.3s1 (build 430002). Aug 4 13:21:55 solfertje amd[10839]/info: Built by root@solfertje.student.utwente.nl on date Mon Jul 30 13:50:10 CEST 2001. Aug 4 13:21:55 solfertje amd[10839]/info: cpu=i386 (little-endian), arch=i386, karch=i386. Aug 4 13:21:55 solfertje amd[10839]/info: full_os=freebsd4.3-STABLE, os=freebsd4, osver=4.3-STABLE, vendor=unknown. Aug 4 13:21:55 solfertje amd[10839]/info: Map support for: root, passwd, union, nis, ndbm, file, error. Aug 4 13:21:55 solfertje amd[10839]/info: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, inherit, ufs, Aug 4 13:21:55 solfertje amd[10839]/info: lofs, cdfs, pcfs, auto, direct, toplvl, error. Aug 4 13:21:55 solfertje amd[10839]/info: FS: cd9660, lofs, mfs, nfs, nfs3, null, msdos, ufs, umap, union. Aug 4 13:21:55 solfertje amd[10839]/info: No networks. Aug 4 13:21:55 solfertje amd[10839]/info: My ip addr is 130.89.236.150 Aug 4 13:21:55 solfertje amd[10840]/info: released controlling tty using setsid() Aug 4 13:21:55 solfertje amd[10840]/info: file server localhost type local starts up Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s2a restarted fstype ufs on / Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s2e restarted fstype ufs on /var Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s2f restarted fstype ufs on /home Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s2g restarted fstype ufs on /usr Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s2h restarted fstype ufs on /tmp Aug 4 13:21:55 solfertje amd[10840]/info: procfs restarted fstype link on /proc Aug 4 13:21:55 solfertje amd[10840]/info: kernfs restarted fstype link on /kern Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s1 restarted fstype pcfs on /mnt/c Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s5 restarted fstype pcfs on /mnt/e Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad0s6 restarted fstype pcfs on /mnt/f Aug 4 13:21:55 solfertje amd[10840]/info: /dev/ad2e restarted fstype ufs on /mnt/backup Aug 4 13:21:55 solfertje amd[10840]/map: Trying mount of /etc/amd_maps/amd.local.map on /cdrom fstype toplvl Aug 4 13:21:55 solfertje amd[10840]/map: Trying mount of /etc/amd_maps/amd.nfs.map on /mnt/nfs fstype toplvl Aug 4 13:21:55 solfertje amd[10841]/info: /cdrom: disabling nfs congestion window Aug 4 13:21:55 solfertje amd[10842]/info: /mnt/nfs: disabling nfs congestion window Aug 4 13:21:55 solfertje amd[10840]/info: initializing amd conf map /etc/amd_maps/amd.local.map of type file Aug 4 13:21:55 solfertje amd[10840]/info: first time load of map /etc/amd_maps/amd.local.map succeeded Aug 4 13:21:55 solfertje amd[10840]/info: /etc/amd_maps/amd.local.map mounted fstype toplvl on /cdrom Aug 4 13:21:55 solfertje amd[10840]/info: first time load of map /etc/amd_maps/amd.nfs.map succeeded Aug 4 13:21:55 solfertje amd[10840]/info: /etc/amd_maps/amd.nfs.map mounted fstype toplvl on /mnt/nfs Aug 4 13:21:57 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:21:57 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:21:57 solfertje amd[10840]/info: start_ping: nfs_version: 3 Aug 4 13:21:57 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:21:59 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:21:59 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:21:59 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:22:01 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:22:01 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:22:01 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:22:03 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:22:03 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:22:03 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:22:05 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:22:05 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:22:05 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:22:07 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:22:07 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:22:07 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:22:09 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:22:09 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:22:09 solfertje amd[10840]/map: Trying mount of failways:/mnt/e on /mnt/nfs/e fstype nfs Aug 4 13:22:21 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:22:21 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:22:21 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:46 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:46 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:46 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:48 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:48 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:48 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:50 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:50 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:50 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:52 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:52 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:52 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:54 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:54 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:54 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:56 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:56 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:56 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs Aug 4 13:24:58 solfertje amd[10840]/info: get_nfs_version: returning (3,tcp) on host failways.internal Aug 4 13:24:58 solfertje amd[10840]/info: Using NFS version 3, protocol tcp on host failways.internal Aug 4 13:24:58 solfertje amd[10840]/map: Trying mount of failways:/mnt/d on /mnt/nfs/d fstype nfs --0-1804289383-996924532=:4866-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message