Re: amd always nfs mounts as tcp?

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 06/05/03

  • Next message: Philippe Sirugue: "commande "make""
    Date: Thu, 5 Jun 2003 10:23:54 -0500
    To: Tom Limoncelli <tal@lumeta.com>
    
    

    In the last episode (Jun 05), Tom Limoncelli said:
    > amd on my NFS clients always mounts using TCP. I need to use UDP
    > (long story). I've tried many different options and I can't get it
    > to use UDP.
    >
    > If I mount it "manually" (i.e. without amd) it works fine:
    > mount_nfs -3 -U server1:/u1/foo /mnt
    > I can verify that it is using tcpdump.
    >
    > The amd map lists:
    > /defaults
    > type:=nfsl;rhost:=server1;opts:=rw:nfs_proto=udp;rfs:=${fs}
    > foo fs:=/u1/${key}
    > bar fs:=/u2/${key}
    > baz fs:=/u2/${key}

    Plain "proto=udp" works for me. Here's my mapfile:

    * host==${key};type:=link;fs:=/ \
                    hostd==${key};type:=link;fs:=/ \
                    type:=host;fs:=${autodir}/${rhost};rhost:=${key};opts:=rw,intr,soft,proto=udp,grpid

    localhost type:=link;fs:=/

    -- 
    	Dan Nelson
    	dnelson@allantgroup.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Philippe Sirugue: "commande "make""