Operating System - Tru64 Unix
1745797 Members
3748 Online
108722 Solutions
New Discussion юеВ

SuSE NFS client with Tru64 NFS server - No such Directory

 
SOLVED
Go to solution
Geert Van Pamel
Regular Advisor

SuSE NFS client with Tru64 NFS server - No such Directory

We have a weird problem with a new SuSE V10.3 64 bit client and a Tru64 V5.1-b (or V4.0F) NFS server.

The Tru64 NFS servers pretend that a directory is not a directory.

However when we issue the "file" or the "ls -l" command the system clearly indicates that it is a real directory.

The Tru64 systems have only AdvFS file systems.

This is the client (perseus)
uname -a
Linux perseus 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC x86_64
x86_64 x86_64 GNU/Linux

cd /mnt/hbsitlab/users
cd attilaf
bash: cd: attilaf: Not a directory

file attilaf
attilaf: directory

* We have the problem both with Tru64 V4.0F and V5.1-b servers
* It works correctly with an old AlphaServer 1000A server with (an even older) Linux Red Hat V7.2 and the same new SuSE V10.3 64 bit NFS client
* Other NFS clients do not have this problem!
* The /etc/fstab and /etc/exports files are OK
* File protection and UID/GUI mapping is OK
* The network setup should be OK

Can you please help us?

* Would SuSE be incompatible with Tru64?
* Would Tru64 not be compatible with SuSE?

# Tru64 NFS server (hbsitlab)
cat /etc/exports
/users -anon=-2 -root=hbsitprod perseus

# Linux Red Hat V7.2 NFS server on an AlphaServer (hbsitvxt)
cat /etc/exports
/home perseus(rw,sync,no_root_squash)

# SuSE V10.1 NFS client (perseus)
cat /etc/fstab
hbsitlab:/users /mnt/hbsitlab/users nfs defaults 0 0
hbsitvxt:/home /mnt/hbsitvxt/home nfs defaults 0 0
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: SuSE NFS client with Tru64 NFS server - No such Directory

> * Other NFS clients do not have this problem!

I'd probably infer something from that.
Geert Van Pamel
Regular Advisor

Re: SuSE NFS client with Tru64 NFS server - No such Directory

Thanks, but why does everything works OK from the same SuSE client with the NFS server on AlphaServer Linux Red Hat, while the Tru64 NFS servers return the above error?

I believe that there might be an interoperability problem between the SuSE NFS client and the Tru64 NFS servers.
Rob Leadbeater
Honored Contributor

Re: SuSE NFS client with Tru64 NFS server - No such Directory

Hi,

> Thanks, but why does everything works OK
> from the same SuSE client with the NFS
> server on AlphaServer Linux Red Hat, while
> the Tru64 NFS servers return the above error?

Well the servers are running completely different operating systems for a start ! The fact that both machines are AlphaServers is irrelevant.

Do you get any useful errors in the log files... /var/adm/syslog.dated/current/daemon.log IIRC.

Cheers,

Rob
Geert Van Pamel
Regular Advisor

Re: SuSE NFS client with Tru64 NFS server - No such Directory

I can cofirm that I did not find any useful errors in /var/adm/syslog.dated/*/daemon.log

The disk was mounted by NFS client (without errors) -- only the directories are not recognized...
Vivek Verma
New Member
Solution

Re: SuSE NFS client with Tru64 NFS server - No such Directory

This is a Tru64 NFS server problem, a patch will be provided for supported versions on filing a support case.

The problem is that the Tru64 NFS server READDIRPLUS reply. Also note that this problem is specific to the V3 server.

If there is a mechanism avaible for you in SUSE Linux to disable using READIRPLUS on the client side, you can use that as well.

The problem can be seen with linux kernel
versions above certain number (2.6.11 probably i,m not sure of the exact version number) but caused by a Tru64 NFS server problem.

The reason why it works with the older Linux versions is that they don't pay attention to the wrong field that the Tru64 NFS server sends back.
Geert Van Pamel
Regular Advisor

Re: SuSE NFS client with Tru64 NFS server - No such Directory

From Novell, I got the following solution:

mount -o nodirplus hostname:/srv/nfs/dir /mnt

and it works :-) Thanks to you all!
Graham Allan
Advisor

Re: SuSE NFS client with Tru64 NFS server - No such Directory

I agree with Vivek, we had the same problem between our Tru64 5.1B PK6 server and RHEL5 clients. Our temporary workaround was to force use of NFSv2. You can get a patch from HP which fixes it.

Graham