Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS export from AIX to Linux

Status
Not open for further replies.

Gloups

IS-IT--Management
Sep 16, 2003
394
FR
Hi all,


i have an nfs export from one of my AIx boxes to be used for Linux install by NFS.

Somme of linux RHEL 4 U3 seems to have a problem when tey try to mount the nfs exported by aix.

That's the message i've got:

mount: 172.20.24.174:/export/nim/softs failed, reason given by server: unknown nfs status return value: -1

It seems to be the server wich doesn't allow the client to mount.

I think that's juste specific options to put on the export but i dont know wich one.

Does any of you already had this problem ?

Thanks in advance

 
can you post the command you use for mounting the nfs ?
could be an nfs-version issue perhaps...

rgds,

R.
 
I already tried diferent nfs version and protocols, still the same.


I've found some new informations. The server let the client mount the file system if the client adress was previoulsy defined in the /etc/hosts file.

I boot my linux client in recue mode on the cd to pass some tests.

Now the client is able to mount but it takes 1min 45s to do with the folowing command

mount -t nfs 172.20.24.174:/export/nim/softs/linux/rhel4asu4_ppc /mnt

 
That kind of delay could point to a DNS name resolution problem (forward or reverse lookup) on server or client or both.


HTH,

p5wizard
 
Yeah, as mentioned by p5wizard, it could be a DNS problem.

Try nslookup
 
That's probably true, i have a strange behavior on my nfs server

no dns configured (resolv.conf deleted)
ip client address in /etc/hosts

host my_client_ip_adress reply ok
but nslookup cant do reverse resolution:

root-tsm : /tmp > nslookup 172.20.22.252
Server:

*** can't find 172.20.22.252:No response from server
 
Well, if you don't have DNS configured, you can't use nslookup unless you specify the IP address of a nameserver also.

nslookup client_ip_addr NS_ip_addr

I'd use the host command instead

host client_name
host client_ip_address

both should resolve to the same...


HTH,

p5wizard
 
All resolution with hosts are ok
 
I found what was wrong looking in redbooks, to accept nfs mount request from an anfs client, aix nfs server must be able to resolve the client address.

Added to an error in my linux kickstart install config file, it gives long debug hours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top