|
Author: Scott Dodson
Date: 28-09-00 17:10
I've got a situation where I need to mount a few NFS exports from a linux machine. It works properly and I don't have problems reading or writing. The only problem is that the linux machine that the exports are on gives an error message whenever I mount them. The error message it gives is : "svc: Unknown version(3)" The linux machine is a redhat6.2 machine, and the FreeBSD machine is 4.1.1-Stable. Is linux nfs server compatable with freebsd client?
-scott
|
|
Reply To This Message
|
|
Author: DarkElf
Date: 02-10-00 16:27
Should be... NFS is NFS. Though, if you use a old server and the new client tries to process a command, it won't be recognized... make sure your up to date on fbsd and linux.
|
|
Reply To This Message
|
|
Author: randall ehren
Date: 04-10-00 05:40
what does your /etc/exports file look like on your linux box? have you gotten it to mount on other machines?
|
|
Reply To This Message
|
|
Author: Scott Dodson
Date: 04-10-00 10:35
The line for the one i'm mounting off the freebsd box is as follows :
/home *.subdomain.domain(rw,no_root_squash) #ALL HOME
The export mounts, and I have no problem reading or writing to it. The only thing that I'm interested in is the error message that pops up on the linux machine. The corresponding entry in fstab on the bsd machine is as follows (ds is the alias of the machine given in my hosts file) :
ds:/home /home nfs rw 0 0
|
|
Reply To This Message
|
|
Author: Guy Manaugh
Date: 08-10-00 17:31
I had this same problem.
The Linux NFS server does not support NFS Version 3 (see below.) mount_nfs first tries to mount the share using version 3 then it falls back to version 2. So your mount is successful, but you get an error message on the linux box.
The workaround is to add "nfsv2" to the options in your fstab, or to use the "-2" option on the command line.
--Guy
(I am running Alan Cox's 'pre' kernels. The release notes for 2.2.18pre9 say that nfsv3 support has been added, but my 2.2.18pre15 kernel still doesn't support v3 mounts from my FreeBSD client. Does this work for anyone else?)
|
|
Reply To This Message
|
|
Author: Scott Dodson
Date: 11-10-00 02:24
How can I specify that in the /etc/fstab file? Or would i be better off loading the mounts from a startup script?
--scott
|
|
Reply To This Message
|
|
Author: Guy Manaugh
Date: 14-10-00 22:51
Use "nfsv2" in the options.
Check the man page for mount_nfs and look at "-o" for other possibilities.
|
|
Reply To This Message
|
|
Author: Guy Manaugh
Date: 16-10-00 06:33
My mistake.
2.2.18pre9 supports the v3 filesystem, v3 server support wasn't added until pre16.
2.2.18pre16 works for me here -- I can mount Linux shares from my FreeBSD client using NFSv3. The next major release of the Linux kernel ( 2.2.18 ) will include the NFS updates for those who don't want to run "pre" kernels.
|
|
Reply To This Message
|
|