LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2003, 08:44 AM   #1
Derefin
LQ Newbie
 
Registered: Nov 2003
Location: upstate california
Distribution: from scratch, gentoo, debian
Posts: 1

Rep: Reputation: 0
Unhappy Getting NFS to work (AIX client/Linux server)


Hi. I'm having a problem trying to get my Linux box to serve one directory to my RS/6000 running AIX. The AIX server is sort of old and has a 6 gig SCSI hard drive, and I would like to supplement its storage capacity by putting an /opt directory on there, shared from my Linux box with plenty of space.

It seems that no matter what I do with /etc/exports, hosts.deny, hosts.allow, when I try to mount the volume on the AIX box, it either gives me an error about file permissions permissions or 'operation not permitted'.

This is the current entry in /etc/filesystems for the shared directory on the AIX system:

/mnt/test:
dev = "/share/opt"
vfs = nfs
nodename = 10.0.0.1
mount = false
options = ro,fg,hard,intr,rsize=1024,wsize=1024,vers=2,proto=udp
account = false


This is /etc/exports

/share/opt 10.0.0.2(rw,sync)
 
Old 11-17-2003, 09:29 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: Getting NFS to work (AIX client/Linux server)

Quote:
Originally posted by Derefin
This is /etc/exports

/share/opt 10.0.0.2(rw,sync)
Try without the "sync" portion in your exports file like this:

/share/opt 10.0.0.2(rw)

And what are the permissions on the share itself?
 
Old 11-17-2003, 10:31 AM   #3
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
You could try the following for debugging purposes :

1. Can the Linux box NFS mount /share/opt to itself (obviously after you've amended /etc/exports).
2. Can the AIX box MFS mount a directory to itself?

This might give you a clue as to which side the problem lies.

Have you put in the real IP addresses? NFS is sensitive to IP addresses/host names being just right. For example, if you tell your Linux box that host "aix" is allowed to mount the NFS directory, but you use DNS and DNS resolves the IP address to "aix.mycompany.com" then it won't work (and will give the error message you mention).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
NFS failed from linux client to AIX server dennyqian Linux - Networking 1 08-07-2005 04:44 PM
AIX nfs server for Linux clients zorba4 AIX 0 07-11-2004 07:04 AM
NFS: Linux Server / Windows Client kegwell Linux - Software 2 07-04-2004 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration