Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 13:22:04 +0200
From:      mkes@ra.rockwell.com
To:        questions@FreeBSD.ORG
Subject:   troubles with amd
Message-ID:  <OFF0585E82.BD72A6AB-ONC1256968.0039F911@ra.rockwell.com>

next in thread | raw e-mail | index | archive | help
Hi !

I have problems with amd under FreeBSD 4.1. After 2 days of unsuccesfull
experiments I gave up and wrote this e-mail.

The situation seems quite simple.
I have one machine called ferda which exports /www, /usr/home and /smbshare
filesystems.
I want to mount these filesystems on another machine called bivoj (for
backup on a tape device so even read only acces would be OK).

I have no problem to mount any of these filesystems (read/write) on bivoj
using mount_nfs command. But I can't mount any of them using amd.

I'm running amd -F /etc/amd.conf command which looks like this:

     # GLOBAL OPTIONS SECTION
     [ global ]
     normalize_hostnames =    no
     print_pid =              no
     restart_mounts =         yes
     auto_dir =               /net
     log_file =               /var/log/amd
     log_options =            all
     #debug_options =         all
     plock =             no
     selectors_on_default =   yes
     print_version =          yes
     map_type =               file
     search_path =       /etc
     browsable_dirs =         yes

     # DEFINE AN AMD MOUNT POINT
     [ /net ]
     map_name = amd.map

and the amd.map file :

# $FreeBSD: src/etc/amd.map,v 1.8 1999/09/13 17:09:07 peter Exp $
#
/defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key}
*         opts:=ro,grpid

The /net directory exists with 777 permissions.

If I try to (for example)
cd /net/ferda/www
I get an error message:  "ferda/www: Stale NFS file handle"

If I kill amd many commands that concern filesystem (like ls -l /  or df ) do not work - no output, no prompt.

Can anybody give a hint what's going wrong ?

Thanks


Mira



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFF0585E82.BD72A6AB-ONC1256968.0039F911>