Solved

Mount AIX NSF filesystem on Linux server

Posted on 2004-03-23
6
1,786 Views
Last Modified: 2012-06-21
I'm trying to mount an AIX NFS filesystem on a Linux box and am having issues.  We are going to need the mount to be there after rebooting, so it would need to be in /etc/fstab as well.

cscx0461.mydomain.com = AIX box
uscscdve5.mydomain.com = Linux box

Here is what I'm trying to do from the uscscdve5 command line:

mount -o ro,soft cscx0416.mydomain.com:/db2ivr/wavfile/dev /home/dtuser/system/common


Here is the error I'm getting:

[root @ :/root]:> mount -o ro,soft cscx0416.core.spherion.com:/db2ivr/wavfile/dev /home/dtuser/system/common
mount: cscx0416.core.spherion.com:/db2ivr/wavfile/dev failed, reason given by server: unknown nfs status return value: -1


Here is what's in the /etc/exports on CSCX0416:

$ cat /etc/exports
/apps/psoft/eptst/tmp -access=cscx0208.mydomain.com
/db2ivr/wavfile/qa -access=cscx0108.mydomain.com:cscx1901.mydomain.com
/db2ivr/wavfile/dev -access=cscx0106.mydomain.com:cscx1801.mydomain.com:uscscdve5.mydomain
.com:uscscdve5

What do I need to put in my uscscdve5 /etc/fstab?


0
Comment
Question by:lphillips120898
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10662577
On the AIX box does an 'nslookup IP-of-Linux' return uscscdve5.mydomain.com?
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 50 total points
ID: 10664086
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 10665128
please post result of:

  rpcinfo -p cscx0461.mydomain.com |grep mount
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:lphillips120898
ID: 10667367
FYI - the "mydomain.com" is not the domain.  The AIX box is in the "core.spherion.com" domain and the Linux box in "spherion.com" domain.  I thought it would be better not to post the real domains initially - but am going to use them in the output below.

jlevie RESULTS:
$ nslookup 10.12.31.155
Server:  uscscipa5.spherion.com
Address:  10.12.224.59

*** uscscipa5.spherion.com can't find 10.12.31.155:Non-existent host/domain

^^ I guess this may be my problem.... ^^

ahoffmann RESULTS:
ON AIX (0416 box)
$ rpcinfo -p cscx0416.core.spherion.com |grep mount
    100005    1   tcp  32775  mountd
    100005    2   tcp  32775  mountd
    100005    3   tcp  32775  mountd
    100005    1   udp  32785  mountd
    100005    2   udp  32785  mountd
    100005    3   udp  32785  mountd

ON LINUX (DVE5)
[wsadmin @ uscscdve5:/opt/WebSphere/AppServer/logs]:> rpcinfo -p cscx0416.core.spherion.com |grep mount
bash: rpcinfo: command not found
0
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 100 total points
ID: 10667527
Yep, I suspect that the lack of a PTR record in the DNS for the Linux box is the problem. You've got three options:

1) Fix the DNS so that the AIX box can resolve the hostname from the IP

2) Add a hosts file record on the AIX box for the Linux machine

3) Change the exports file to use the IP of the Linux box rather than its hostname.
0
 

Author Comment

by:lphillips120898
ID: 10668438
Okay - the mount issue has been resolved.  The AIX admin removed the host entries in the /etc/exports:

BEFORE
$ cat /etc/exports
/apps/psoft/eptst/tmp -access=cscx0208.mydomain.com
/db2ivr/wavfile/qa -access=cscx0108.mydomain.com:cscx1901.mydomain.com
/db2ivr/wavfile/dev -access=cscx0106.core.spherion.com:cscx1801.core.spherion.com:uscscdve5.spherion
.com:uscscdve5

AFTER
$ cat /etc/exports
/apps/psoft/eptst/tmp -access=cscx0208.mydomain.com
/db2ivr/wavfile/qa -access=cscx0108.mydomain.com:cscx1901.mydomain.com
/db2ivr/wavfile/dev


0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now