From owner-freebsd-questions@FreeBSD.ORG Sat Feb 17 21:15:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 905CC16A401 for ; Sat, 17 Feb 2007 21:15:55 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: from web25006.mail.ukl.yahoo.com (web25006.mail.ukl.yahoo.com [217.12.10.42]) by mx1.freebsd.org (Postfix) with SMTP id D745713C49D for ; Sat, 17 Feb 2007 21:15:54 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: (qmail 49201 invoked by uid 60001); 17 Feb 2007 20:49:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=PwlGnjdXzy5jGtAjqqa9kiUELu9h9JKhx1O5IaXaSQrYXuj9pEDXV6Hoe9TQKWAxOcRagytxb+ecV6OxSxx6CzC3lyoH1taj4DYTFJ4+/9duNUpz37nwzecFRblA/pgRsxpvAHbZFeCgqqP1k/WnQIucfd4Rr6pCuu6s1Ty07hE=; X-YMail-OSG: 4tKEumgVM1lJiNjYBHu0TuoATeV2CkYeRw8.KmemivH2R.E15cND2PoaYXrGypkHabjEvODYHyS9t6hC3.gYn_0oTDglEyqdoNYKCX2lDwoiFyoZ.ihp0DuVgCMj2LwzKuMpzjRoJ0l3 Received: from [83.67.67.49] by web25006.mail.ukl.yahoo.com via HTTP; Sat, 17 Feb 2007 20:49:14 GMT Date: Sat, 17 Feb 2007 20:49:14 +0000 (GMT) From: Robert Davison To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <357222.48785.qm@web25006.mail.ukl.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Automount 'Host is Down' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 21:15:55 -0000 I've got a sun storedge disk array with two 9BG disks that im trying to automount to FreeBSD 6.2 I've got the following in my rc.conf: portmap_enable="YES" amd_enable="YES" amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map" my fstab has the following entries: /dev/da0s1b none swap sw 0 0 /dev/da0s1d /mnt/s ufs rw,noauto 0 0 /dev/da1s1b none swap sw 0 0 /dev/da1s1d /mnt/t ufs rw,noauto 0 0 my /etc/amd.map is as follows: # $FreeBSD: src/etc/amd.map,v 1.9 2002/05/15 22:24:29 obrien Exp $ # /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=rw,grpid,resvport,vers=3,nfsv2,proto=udp,nosuid,nodev localhost type:=auto;fs:=${map};pref:=${key}/ localhost/s type:=program;fs:=/mnt/s;\ mount:="/sbin/mount mount /mnt/s";\ unmount:="/sbin/umount umount /mnt/s" localhost/t type:=program;fs:=/mnt/t;\ mount:="/sbin/mount mount /mnt/t";\ unmount:="/sbin/umount umount /mnt/t" and finally, my /etc/amd.conf is as follows: # 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 [ /s ] map_name = amd.s [ /t ] map_name = amd.t I have created links from / to /host/localhost/t as well as /host/localhost/s When I boot the system I have the /host directory. If I ls /hosts the directory is empty as expeced. When I try and cd to /t (remember linking through to /host/localhost/t) i get a message saying /t: Host is down message. Now if I look in /host, I have the /host/localhost directory, so it seems that amd is trying to work, but for some reason /t is unavailable. If I change my fstab to mount the partitions without amd i.e so that the /t and /s partitions automount on boot as well as turning off the amd deamon on boot, (after creating directories for /t and /s under /mnt) everything works fine. I just cant figure out why the /t: and /s host is down message is appearing when using amd. Has anyone had a similar experience ? --------------------------------- Yahoo! Messenger - with free PC-PC calling and photo sharing.