automount vs Solaris

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Oct 8 01:46:38 PDT 2004


On Thu, Oct 07, 2004 at 03:52:43PM -0700, Steve Watt wrote:

> I'm trying to bring a FreeBSD server up in a mostly Solaris environment,
> and am currently arguing with amd.  The Solaris systems share an NIS
> map (auto.nfs) that looks like
> users host:/mountpoint/something/&
> 
> which gets translated (somehow) by the Solaris automount to look like
> /nfs/users host:/mountpoint/something/users
> 
> But I can't figure out the incantation to get amd.conf to use that.
> 
> I've tried
> [ /nfs ]
>   map_type = nis
>   map_name = auto.nfs
> 
> and map_type of nisplus (which didn't work).
> 
> The entry I'm trying to tickle is:
> # ypcat -k auto.nfs | grep user
> user west:/export/user
> 
> The error I'm getting in the log is:
> 
> Oct  7 15:47:42 appseng1 amd[536]: key user: No value component in "west:/export/user"
> Oct  7 15:47:42 appseng1 amd[536]: No fs type specified (key = "user", map = "auto.nfs")
> 
> 
> It feels like there's some magic bit I'm missing.

Last time I tried to do anything like that, it was in a mixed
environment of FreeBSD, Linux, Solaris and a couple of Irix boxes.
Apart from FreeBSD, they all understood autofs and could mount stuff
happily using NIS maps.  Unfortunately I never could get FreeBSD to
understand those maps and translate them into what amd wanted.  Ended
up having a separate amd mount map just for the FreeBSD boxes -- which
was a pain, but not too much of one since the FreeBSD boxes were
generally the doing DNS, DHCP, firewalling and (ironically) NIS
serving: no need to NFS mount mouch at all.

On the other hand, there is this:

    http://lists.freebsd.org/pipermail/freebsd-current/2004-September/036786.html

    http://www.freebsd.org/cgi/getmsg.cgi?fetch=1001154+0+/usr/local/www/db/text/2004/cvs-all/20040905.cvs-all

so there will be autofs support in 5.3-RELEASE.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041008/6cac4321/attachment.bin


More information about the freebsd-questions mailing list