From owner-freebsd-questions Sun Dec 3 23:42:20 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 3 23:42:18 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.zuhause.org (www.zuhause.org [205.215.217.178]) by hub.freebsd.org (Postfix) with ESMTP id 9E76437B400 for ; Sun, 3 Dec 2000 23:42:17 -0800 (PST) Received: by mail.zuhause.org (Postfix, from userid 1001) id BE6BD7C53; Mon, 4 Dec 2000 01:42:16 -0600 (CST) From: Bruce Albrecht MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14891.19160.474163.556144@celery.zuhause.org> Date: Mon, 4 Dec 2000 01:42:16 -0600 (CST) To: freebsd-questions@freebsd.org Subject: automount remote CDROMs with amd X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: bruce@zuhause.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to automount remote CDROM drives with amd (I have 7 on 3 machines), and I'd like to be able to pop a CD in a drive on any machine, and be able to cd into it from any other machine, and then have it timeout and auto dismount just like it does with a local cd in the automount map. I usually have problems with it getting errors like Stale NFS mount, or permission denied, which seem to eventually get cleared up if I do amq -u drive and then killall -HUP mountd several times on the host with the drive. This seems rather hacked to do it this way, and I was wondering if anyone's come up with a cleaner way to do this? Here are the cd's amd maps: /defaults type:=nfs;opts:=ro,nosuid,vers=2,proto=udp cdrom host!=tyan;rhost:=tyan;rfs:=/amd/cdrom \ host==tyan;type:=cdfs;dev:=/dev/cd0a;fs:=/amd/cdrom cdrom1 host!=tyan;rhost:=tyan;rfs:=/amd/cdrom1 \ host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom1 cdrom2 host!=tyan;rhost:=tyan;rfs:=/amd/cdrom2 \ host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom2 cdrom3 host!=tyan;rhost:=tyan;rfs:=/amd/cdrom3 \ host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom3 cdrom4 host!=tyan;rhost:=tyan;rfs:=/amd/cdrom4 \ host==tyan;type:=cdfs;dev:=/dev/cd1a;fs:=/amd/cdrom4 cdrom5 host!=celery;rhost:=celery;rfs:=/amd/cdrom5 \ host==celery;type:=cdfs;dev:=/dev/cd0a;fs:=/amd/cdrom5; cdrom6 host!=router;rhost:=router;rfs:=/amd/cdrom6 \ host==router;type:=cdfs;dev:=/dev/acd0a;fs:=/amd/cdrom6 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message