lkml.org 
[lkml]   [2000]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: nfsv3 won't interoperate with solaris (still!)
On Sunday August 6, martin.tessun@class.de wrote:
> Hello,
...
>
> well I have the same Problem (I just mount under Solaris with -o vers=2
> ;) )
>
> What exactly happens:
>
> Lets say I have mounted some NFSV3 from Linux on Solaris:
>
> # mount xyz:/export/test /mnt
>
> Now let's go in some subdirectory:
>
> # cd /mnt/x/y/z
>
> Now let's do a pwd
>
> # pwd
> /x/y/z

Yep. I know what causes this.
Are you running the latest nfs-utils? You want at least 0.1.7.1.
showmount --version
tells you the version.

What is happening is that the filehandle returned by mountd is
different from the file handle returned by nfsd for the same file (the
mounted directory in this case).
This, quite reasonably, confused solaris.

>
> Notize that the answer is /x/y/z!
> On the Linux-side I get:
> Aug 6 18:18:20 worf kernel: nfsd Security: /// bad export.

Presumably you are exporting a sub directory of a filesystem and not
it's root? You get this "bad export" because the solaris client is
asking for ".." of the mountpoint, and getting an unexported
directory.

So, if you are using < 0.1.7.1, upgrade.
If you are using >= 0.1.7.1, tell me and I will look more closely.

NeilBrown

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.635 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site