SUMMARY: Solaris 2.6 NFS mount from a Redhat 6 NFS export.

From: Brett Sondrup (brett@eiq.com)
Date: Wed Aug 18 1999 - 11:43:01 CDT


Thanks to:
Carsten B. Knudsen
Thomas Anders
Ken
Michael Kriss
john

All of whom were aware of the problem and confirmed my suspicions regarding an nfs version conflict and pointed to the vers=2.

Thanks to Benno [benoit@mathematik.uni-marburg.de] who provided me with a concise explanation and solution.

"The Linux Systems NFS Server only speaks NFS Version 2,
Solaris tries NFS V3 in Solaris 2.6.

One difference is that V2 is via UDP and V3 is also running on an TCP
Port.

 mount -o vers=2 redhat:/path /localpath

should work. (see man mount_nfs ...)

I still get 'svc: unkown program XXX' errors on the Linux Box, but
NFS works.

(I have Redhat 5.2, which comes with a rather buggy NFS/libc and added
Kernel 2.2.x with knfs which works ok.)"

Thanks so much for your help, again SunManagers rule the day!

The original post was:
> Greetings all,
>
> I know what you're going to say: You get what you pay for! Or, what the
> heck, this is a Linux question... But its also partly a Solaris 2.6
> question:
>
> I have just installed Redhat 6 on a machine that will act as a (cheap) NFS
> server. I have correctly configured /etc/exports for the two file systems
> I want shared to the network.
>
> /export1 host_to_mount(rw,no_root_squash,insecure)
> another_host_to_mount(rw,no_root_squash,insecure)
> /export2 host_to_mount(rw,no_root_squash,insecure)
> another_host_to_mount(rw,no_root_squash,insecure)
>
> However I can not mount the file systems to a Solaris 2.6 SPARCstation. I
> get an RPC failure on the Sparc and the /var/log/messages on the Mandrake
> system reports:
>
> "mountd(949): authenticated mount request from host"
> "kernel: svc: unknown version (3)"
>
> Showmount -a redhat_host from the Sparc will show the exported file
> systems.
>
> Additionally, running rpcinfo -p on the Redhat box shows only one instance
> of nfs running on the Mandrake machine and it is udp. Why isn't tcp listed
> and more importantly how can it get it working?

Brett Sondrup
Manager, Information Systems

Information Quest Phone (760) 431-8400
5838 Edison Place Fax (760) 431-8860
Carlsbad, CA 92008 Email: brett@eiq.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:24 CDT