Solved

Mount AIX NSF filesystem on Linux server

Posted on 2004-03-23
6
1,852 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

717 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