I have a script on my NIM Master that runs with crons and performs mksysb backups of all NIM Clients once a week.
There is a problem with one of the clients as it stucks and never finishes the mksysb backups.
I tried to unmount the NFS file system created by the NIM in order to perform the mksysb but i cannot do it.
I killed all processes from NIM Master and client about the nim operation but i still cannot unmount the NFS.
I even tried umount -f but i still get the message below:
i don't know what else to try. I searched through smitty the nfs filesystems for this server but it doesn't appear anywhere. I cannot understand why it still try to mount it.
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
I am guessing you are running a
command to perform these backups and it is the client that is not able to unmount.
To debug - you could start with using rpcinfo -p <NIM> | grep nfs to see if the nfs demons are recognized.
The other question I would have is whethr this client has more than one IP address and/or nim route back to the nim server. If it is, the way I debugged the interface being used by default is the telnet/ssh to the nim server (use the <NIM> name as hostname, and then after login, use the command "who" to show which IP address/hostname is recognized as originating IP address.
Compare these values to what a "working" client returns.
My gut feeling, if I read corrently it is the same client that fails, is that there is a configuration difference between this client and the one that succeed.
is the one that i use to perform the mksysb backups in my script
you are right i use more than 1 ip addresses on this client. i compared
characteristics of the client throught smit nim and i noticed that on the
field Network Adapter Hardware Address the value is set to 0 and also
in the field Network Adapter Logical Device Name the value is set to ent.
I tried to correct these values but i get the error
i don't know why i get this error as i have the same values in the
respective field of the "correct" client
When we had physical servers, we had the same error and it ended up being caused by our switch being configured to 1000 full and our adapter was set to auto/auto. Once we changed our adapter settings, the error went away.
Also, look in your rc.net and rc.tcpip for any special customizations. We had one server with an "/usr/sbin/ifconfig..." line in it that should not have been there.
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
A "simple" solution, at least to try, is to delete the machine definition in the nim server, then on the client, use "smitty nim" to recreate the client.
If the nim master is missing a network resource, that is, thinks it is, you should get a message, and/or nim master will make one for you.
When you telnet/ssh to the nim master IP address, does "who" give you the expected hostname/IP address for the client?
sorry i didn't mention that before. yes i tried to ssh to NIM from the client and did who and i get the correct output.
in the meantime i already performed a reboot on the client just to clear it from the NFS.
i guess it would be a good idea to re-configure the server as NIM client.
it is strange though as it worked before and i experience this problem just this week.
but i think this is what i am going to do.
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... (12 Replies)
Hello Guru's
We are trying to save some data for 10 -15 yrs. so we created a NFS share file system and mounted on AIX 5.3 servers, keeping in mind that we might need to replace the expired disk/bad disk every 2 yrs or 4 yrs.
Now we are trying to solve. How to protect it from getting deleted... (6 Replies)
hello,
i am trying to export a file system so that i can mount it on NIM server and make mksysb backup of the server on that fs.
i get this message:
mount: 1831-011 access denied for s_semdev:/dr_s_zeus/mksysb/dr_s_zeus
mount: 1831-008 giving up on:
s_semdev:/dr_s_zeus/mksysb/dr_s_zeus ... (5 Replies)
Hi, suppose I have file system path say /foo/bar/baz then how would I find out whether it is local file system or NFS? If it is NFS then I want to find out the host where file system is located.
Thanks,
Paresh (5 Replies)
Hi,
I want to change the values for shared file system in aix for that I have run the command smitty chnfsexp but I am not getting the all the values which I have seen while adding the file system while exporting
example
smitty chnfsexp
but after selecting shared file system using F4... (3 Replies)
Hello,
Can someone please point to an easy document or steps how to export AIX file system /whatever to Windows O/S
Basically Windows should see this filesystem / directory and should be able to write in this filesystem / directory
Thanks (2 Replies)
Hi...
Is it possible to re-export a exported NFS file system? If no, Why?
Let me know, if any further details are required about the question.
Thanks in advance
Adams:) (5 Replies)
Hi,
I try to unmount :
smbumount /mnt/directory
But I receive :
Could not umount /mnt/directory: Device or resource busy
Any idea ?
Many thanks. (4 Replies)