DragonFly BSD
DragonFly users List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mount nfs from freebsd 7: protocol not supported


From: Oliver Fromme <check+kuopus00rs37rirc@xxxxxxxxxx>
Date: 15 Dec 2009 08:43:40 GMT

elekktretterr@exemail.com.au wrote:
 > There has been a lot of NFS changes recently so maybe its related.
 > 
 > I can mount an NFS share on the DF box, but when I try to mount it from
 > FBSD 7 it gives me:
 > 
 > mount_nfs: /usr/local/www/aubill/public/invoices: Protocol not supported
 > 
 > Any ideas? My nfs server flags are "-t -u -n 4"

Are you running rpcbind(8) on both machines?  And does
the output from rpcinfo(8) look sane on both machines?
Do you get anything in syslog?  Also, running tcpdump
with maximum verbosity (-vvv -s1500) might give a hint.

Try to run the client mount_nfs with the -L flag.
This will at least prevent any problems in relation to
rpc.statd(8) and rpc.lockd(8), in case those are the
culprit.  If the problem persists, it must be something
else.

Note that the client in FreeBSD 7 tries NFS v3 first,
then falls back to v2 if v3 isn't supported by the server
(there's an option to enforce v2 or v3).

I don't know if the current default transport is UDP or
TCP; it did change at some point in the past.  The client
does _not_ automatically try both, so it's worth you try
both manually.

Another thing worth mentioning is that two protocols are
involved here:  the NFS mount protocol and the NFS transport
protocol.  Normally either both are UDP or both TCP, but
it's possible to run one on UDP and the other on TCP.
mount_nfs has an option for this, too; I think it's -U.
Might be worth a try, too.

If none of the above helps, I'd be inclined to think there's
a bug in the server code that needs to be fixed.

(I'm pretty sure that there's no fundamental problem with
the client in FreeBSD 7.  At least it works without problems
against other servers that I've tried recently, which
includes various versions of FreeBSD, Linux, Solaris and
NetApp filers.)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]