Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2000 01:42:16 -0600 (CST)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        freebsd-questions@freebsd.org
Subject:   automount remote CDROMs with amd
Message-ID:  <14891.19160.474163.556144@celery.zuhause.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14891.19160.474163.556144>