2002-01-30 21:34:38

by Telford002

[permalink] [raw]
Subject: [NFS] Incompatibility with Solaris?

I installed Suse 7.3 on my workstation and then exported the file
system to a Solaris 2.6 x86 development station.

I executed a build/make script on the Solaris workstation in
a directory tree on the NFS exported file system.

The build/make script creates some symbolic links during
the build process. I notice that the paths to the real
file are sometimes trash. I suspect some sort of RPC
problem with symbolic links. Build/make procedures
that create no symbolic links have no problems.

The Suse 7.3 distribution uses a 2.4.10 kernel.
I tried a 2.4.17 kernel. I received a message
on the Solaris console that the RPC version in
2.4.17 was incompatible.

I have a work around, but it might be worthwhile
to check out.

Note that not every symbolic link created on the
NFS file system during the build procedure is bad,
just a few of them.

Joachim Martillo


2002-01-30 22:01:53

by NeilBrown

[permalink] [raw]
Subject: Re: [NFS] Incompatibility with Solaris?

On Wednesday January 30, [email protected] wrote:
> I installed Suse 7.3 on my workstation and then exported the file
> system to a Solaris 2.6 x86 development station.
>
> I executed a build/make script on the Solaris workstation in
> a directory tree on the NFS exported file system.
>
> The build/make script creates some symbolic links during
> the build process. I notice that the paths to the real
> file are sometimes trash. I suspect some sort of RPC
> problem with symbolic links. Build/make procedures
> that create no symbolic links have no problems.
>
> The Suse 7.3 distribution uses a 2.4.10 kernel.
> I tried a 2.4.17 kernel. I received a message
> on the Solaris console that the RPC version in
> 2.4.17 was incompatible.

I'm sorry, but the NFS server in 2.4.10 (and hence Suse 7.3) has a bug
w.r.t. NFSv3 and symlinks.
Go for NFSv2 or a different kernel.

>
> I have a work around, but it might be worthwhile
> to check out.

Fixed in 2.4.11-dontuse and later

>
> Note that not every symbolic link created on the
> NFS file system during the build procedure is bad,
> just a few of them.

The ones where the length of the content is a multiple of 4 bytes in
fact.

NeilBrown

>
> Joachim Martillo
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/