Unable to mount previously-working NFS share from NIM to LPAR


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Unable to mount previously-working NFS share from NIM to LPAR

Right, now that I've finally worked out this website, I'll ask my question!

I am having an absolute nightmare with NFS on AIX. I have used it many times, and I know what I'm doing, however I cannot fathom what is going on here. I have 2 LPARs, sitting on the same physical host. They are configured with an internal and external network. The internal network is being used here. Nothing has changed since this was working, as far as the network connections go. However, when I mount any exported filesystems from NIM to LPAR1, I get a timeout:

nfsmnthelp: NIMsvr: Connection timed out

I have checked the following:

1. /etc/hosts is correct on both, and I have tried using both networks
2. NFS is started on both NIM and LPAR1. I have tried restarting the services using `stopsrc -g nfs; stopsrc -s portmap` then starting them again
3. Stopping services, then running `rm -rf /etc/state /etc/sm /etc/sm.bak /etc/xtab /etc/rmtab; startsrc -s portmap; startsrc -g nfs; exportfs -a; showmount -e NIMsvr`. The last command shows the mount is available
4. Removing the export from NIM, removing it from LPAR1, then restarting NFS on both NIM and LPAR1, adding the mount back in and re-mounting (checking showmount -e before adding back in and after, and the mount shows up the second time)
5. Telnet to port 111 from LPAR1 to NIM works fine

I am out of ideas, can anyone help please? I am about to pull my last few hairs out!
# 2  
I'm not an AIX expert so I am only commenting from a generic point of view. That said, have you verified the NFS versions being implemented??

On modern Unix systems and storage NFS can come in Versions 2, 3 and 4.

If one implementation is a later version than the other, you can specify the version (2,3, or 4) on the mount command line.

Trying to inter-operate different versions often gives rise to odd-behaviour, errors, and malfunctions.

I'm still thinking about it and if I come up with anything else I'll post again.
# 3  
And, of course, the access rights must allow the connection; BOTH the NFS share AND the protection mask on the directory itself.

So for testing only, you could set the rights on the shared directory to 777 and share the NFS handle '-o rw,root' to allow the incoming NFS mount request to get root rights. Dangerous to leave it like that but it will tell you something if it then works.
# 4  
Hi,

Thanks for the suggestion, but unfortunately this didn't work. I get the same error as before.

When you said "share the NFS handle '-o rw,root' I suspected you meant to put this into the exports file for that share...?
# 5  
Yes, indeed. Again speaking generically something like:

Code:
# share -F nfs -o rw,root  <directory>

or

Code:
# share -F nfs -o rw,root=<client>  <directory>

if <client> is in the hosts file of the NFS serving node.
# 6  
OK yeah so that doesn't work. The share command is also not available on my NIM server:

Code:
[root@NIMsvr export]$ share -F nfs -o rw,root /export/archive
share: 1831-186 nfs not found in /etc/exports
share: 1831-186 -o not found in /etc/exports
share: 1831-186 rw,root not found in /etc/exports
share: 1831-190 unknown option: root





Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by hicksd8; 04-10-2019 at 11:00 AM..
# 7  
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #616
Difficulty: Medium
There is no separate char data type in Python.
True or False?

10 More Discussions You Might Find Interesting

1. IP Networking

Unable to search NFS Share

My customer has created a share on a Windows Server 2012 system and exported it as a NFS share. I can mount the share on a SCO system, but I only have read/write access. So I am unable to list the contents of the share. It is as if the directories had 0666 permissions. My customer says that this... (5 Replies)
Discussion started by: jgt
5 Replies

2. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

3. UNIX for Dummies Questions & Answers

Unable to write to a mounted NFS share

Hi All, I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file share -F nfs -o rw=server_name2,anon=0 /to_share And then in the client(solaris 10) added the following command to mount the share mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies

4. SCO

Cannot mount NFS share (FreeNAS) onto SCO OpenServer 5.0.6

Hi! All, I am trying to mount a NFS share on my FreeNAS system onto my SCO OpenServer 5.0.6. I get the following error: mount: cannot mount /: Connection Refused (error 115) Has anyone been able to do this? (3 Replies)
Discussion started by: trolley
3 Replies

5. Red Hat

Not able to mount NFS share on client side

When i tried to mount the nfs i see this error message mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied and the /etc/exports file in the host side looks like this /remote/proj1 ... (12 Replies)
Discussion started by: srinathk
12 Replies

6. Web Development

NFS Share & Mount problem

Hi, I want to mount an NFS Shared folder on Windows XP to vxWorks. There doesnt seem to be a problem with the sharing. Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term: hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies

7. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

8. Solaris

how to mount Windows NFS share on solaris

Hi, How can i mount an NFS share on a solaris machine a filesystem ? I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris. Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies

9. UNIX for Advanced & Expert Users

can i mount nfs share on windows 2003 server

this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies

10. AIX

Unable to mount NFS share during boot

Hello Everyone, I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP. I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Discussion started by: jlslhills
0 Replies

Featured Tech Videos