From owner-freebsd-questions@FreeBSD.ORG Fri Dec 1 22:37:03 2006 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 6CD3A16A415 for ; Fri, 1 Dec 2006 22:37:03 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: from web25010.mail.ukl.yahoo.com (web25010.mail.ukl.yahoo.com [217.12.10.46]) by mx1.FreeBSD.org (Postfix) with SMTP id 074D143CA3 for ; Fri, 1 Dec 2006 22:36:45 +0000 (GMT) (envelope-from rob_27_preston@yahoo.co.uk) Received: (qmail 56673 invoked by uid 60001); 1 Dec 2006 22:37:01 -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=XjouNC+uefE5vTPnuQNyZKH/ZrsodqiGyo9vqK3TibKETwCBwSi7mjLZcFky/Q/GLN+05Qv5iVe7yYi2OR7rGaErpiXmPHcpyQ6VCydlbbyJTN2mGDh87H0//9zezXchag5HI4jItKFOO8UBJo1xEwbT/pErlX7lWszqA6EKiAI=; X-YMail-OSG: 9peBd20VM1mVReR0lHO4gLYNyBCGdsMgCuIYa4YPkhVsleStFQnd.St8dXQU3wqUOUt4V_IbTfS3pVXr3ozZLGJM7Fxr5iPvSFxatksA4qfQlhhkkNrM_KBXsz1_8j_mavEwFxjW9vMg Received: from [83.67.67.51] by web25010.mail.ukl.yahoo.com via HTTP; Fri, 01 Dec 2006 22:37:01 GMT Date: Fri, 1 Dec 2006 22:37:01 +0000 (GMT) From: Robert Davison To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <444118.56083.qm@web25010.mail.ukl.yahoo.com> X-Mailman-Approved-At: Fri, 01 Dec 2006 23:53:21 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Automount 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: Fri, 01 Dec 2006 22:37:03 -0000 After some kind advice from this mail list, im trying to set up an amd automount so that my external hard drive doesnt have to be on all the time for the main server to boot. My fstab for the drives (there is two drives contained within a Sun StorEdge S1) reads: /dev/da0s1b none swap sw 0 0 /dev/da0s1d /s none rw,noauto 0 0 /dev/da1s1b none swap sw 0 0 /dev/da1s2d /t none rw,noauto 0 0 I've mkdir -p both /s and /t as mount points I've then put the following lines into /etc/amd.map localhost/s type:=program:fs:=/s;\ mount:="/sbin/mount mount /s";\ unmount:="/sbin/umount umount /s" localhost/t type:=program:fs:=/t;\ mount:="/sbin/mount mount /t";\ unmount:="/sbin/umount umount /t" And finaly I've added the following to ,y /etc/rc.conf portmap_enable="YES" amd_enable="YES" amd_flags="-a /.amd_mnt -l syslog /host/etc/amd.map" when i reboot the server the external drives are not mounted. Am I missing a step here, or the point totally ?? --------------------------------- All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you.