Re: mount nfs from freebsd 7: protocol not supported

2009-12-19 Thread Matthew Dillon

:
:The DragonFly box is the server, and Ive forced the FBSD nfs clients to
:use TCP.
:
:Is this the right setup?
:
:Petr

You should use TCP no matter what the client/server is.

I though FreeBSD defaulted to tcp now (as do we in 2.5+).

-Matt
Matthew Dillon 
dil...@backplane.com


Re: mount nfs from freebsd 7: protocol not supported

2009-12-19 Thread elekktretterr

 :
 :The DragonFly box is the server, and Ive forced the FBSD nfs clients to
 :use TCP.
 :
 :Is this the right setup?
 :
 :Petr

 You should use TCP no matter what the client/server is.

 I though FreeBSD defaulted to tcp now (as do we in 2.5+).

FreeBSD 7 default is definitely UDF. Dunno bout 8.

Petr



Re: mount nfs from freebsd 7: protocol not supported

2009-12-17 Thread elekktretterr
 Now that you have it working, if you are doing more then just
 playing a bit with it please be sure to use a TCP mount and
 not a UDP mount.  Particularly between FreeBSD 7 and any
 recent DragonFly.  A DragonFly client is capable of queueing
 upwards of 50+ RPCs to the server concurrently and UDP mounts
 will blow up (basically throw data away due to the socket buffers
 not being anywhere near large enough, causing stalls).

The DragonFly box is the server, and Ive forced the FBSD nfs clients to
use TCP.

Is this the right setup?

Petr



Re: mount nfs from freebsd 7: protocol not supported

2009-12-16 Thread Matthew Dillon
Now that you have it working, if you are doing more then just
playing a bit with it please be sure to use a TCP mount and
not a UDP mount.  Particularly between FreeBSD 7 and any
recent DragonFly.  A DragonFly client is capable of queueing
upwards of 50+ RPCs to the server concurrently and UDP mounts
will blow up (basically throw data away due to the socket buffers
not being anywhere near large enough, causing stalls).

-Matt


mount nfs from freebsd 7: protocol not supported

2009-12-14 Thread elekktretterr
Hi all,

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

Petr



Re: mount nfs from freebsd 7: protocol not supported

2009-12-14 Thread elekktretterr
 Are you using NFSv4? As far as I know we don't support it; only v2 and v3.


No, I tried(on the FBSD box) using mount_nfs -2, mount_nfs -3 practically
everything but cant get past the error. Interestingly when i do try to
mount it, it showmounts shows that its mounted.

This problem is really really urgent.

Petr



Re: mount nfs from freebsd 7: protocol not supported

2009-12-14 Thread elekktretterr
So I changed the server to only serve TCP clients. And I ran this on the
client:

mount_nfs -3 -T xxx.xxx.xxx.xxx:/usr/aubill/invoices
/usr/local/www/aubill/public/invoices

And now im getting this:

nfs server xxx.xxx.xxx.xxx:/usr/aubill/invoices: not responding

it keeps repeating itself and I cant kill the mount_nfs process!