Re: NFS tuning on FreeBSD



Devin Heckman wrote:

[snip]

Specifically, I want to know what version of NFS the connection is
running over, whether or not it's using TCP or UDP, and other
information of that nature. I haven't quite found a utility or file that
contains this information yet.

That's a good question. Honestly I've never had to look. If I recall your original question properly your server was FreeBSD and your client was Linux. In this case the Linux mount command gives you good information. From FreeBSD the only way that I have found was to embed the options into the fstab file and use the short version of the mount command when attaching the filesystem.

For a tcp mount my fstab entry on FreeBSD looks like this:

server:/directory /mountpoint nfs rw,tcp,intr,noauto 0 0

On my Ubuntu Linux box I have to do this:

server/directory /mountpoint nfs rw,tcp,nfsvers=3,intr,noauto 0 0

To get the same effect.

For the FreeBSD NFS client the default is to try NFSv3 first followed by NFSv2. The documentation on my Ubuntu box indicates that it's Linux client defaults to NFSv2 and uses UDP. The behavior that I would expect to see from an Ubuntu Linux NFS client with a FreeBSD NFS server would be a NFSv2 UDP mount.

Sorry I couldn't give you a better answer. Perhaps someone on the list knows a better way.

-- Chris

--
__o "All I was doing was trying to get home from work."
_`\<,_ -Rosa Parks
___(*)/_(*)___________________________________________________________
Christopher Sean Hilton <chris | at | vindaloo.com>
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)
  • Re: Newbie Experience
    ... I've only been around since FreeBSD 5.4 ... FreeBSD kernel too. ... always sunshine and linux is farts. ... in the hey day of AT&T Unix I'm ...
    (freebsd-questions)
  • Re: Review of FreeBSD 5.4
    ... but not less problems compared to FreeBSD. ... If you like to have a bleeding edge system using debian --- just go ... > the linux kernel suffers. ... When the kernel suffers, everyone who uses ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD & Linux distro
    ... as a FreeBSD advocacy the tone of the article should be neutral and all ... do not like Linux and more over I have never used it in my life but I ... Statement of the type BSD appears more stable than Linux is ... fewer FreeBSD advocates make claims like that, however, is part of the ...
    (freebsd-questions)
  • Re: Compare Linux and Freebsd Redux
    ... >> Perhaps the most unsettling 'misinformation' about the FreeBSD vs. ... >> Linux situation was the spin that Linux was somehow more 'open', ... >> the official Linux tree... ... your own distribution is that the FreeBSD distribution is/was already ...
    (comp.unix.bsd.freebsd.misc)