LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 08-06-2005, 05:16 PM   #1
dennyqian
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
how to mount a nfs mount from linux client to AIX nfs server


Hi Everyone,
I've export a directory from the AIX NFS server. It don't have any problem being NFS mounted by other AIX system. While I tried to use one linux doing the same NFS mount, it returned the " permittion denied" error.

Is there anything special I should do on this linux client before I do the "NFS mount" ?


Appreciate for any suggestion
Regards
Denny
 
Old 08-07-2005, 04:46 PM   #2
dennyqian
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Can someone help me ?

Can someone help me ? Is there any NFS log I can check ?
 
Old 08-08-2005, 05:52 AM   #3
Mark Taylor
Member
 
Registered: Apr 2004
Posts: 60

Rep: Reputation: 15
nfso -p -o nfs_use_reserved_ports=1

Rgds
Mark Taylor
 
Old 08-10-2005, 07:42 AM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
by the way, look at your network installation.
"Permission denied" usually means "I don't know this guy".
1) go to the AIX system, and type "ping -c 3 my_linux_client".
2) On the AIX server system, "cat /etc/exports" in order to verify that your fileystem is correctly exported.
3) usually, on Linux systems, "mount aix_server:/shared_filesystem /mnt" works without problem.
 
Old 09-02-2005, 05:26 AM   #5
MaliCure
LQ Newbie
 
Registered: Sep 2005
Location: Rotterdam
Posts: 1

Rep: Reputation: 0
Is the nfso command mentioned above not only applicable to an AIX NFS client?

I have the same problems, by the way.

The exports on the AIX server are listed without any options, only -root=myclient
where myclient is an antry in the hosts file with the proper IP address.

I use RedHat ES3, trying to connect to an NFS server on an AIX 4.3 cluster.

This is the dump of nfso -a:

portcheck= 0
udpchecksum= 1
nfs_socketsize= 60000
nfs_tcp_socketsize= 60000
nfs_setattr_error= 0
nfs_gather_threshold= 4096
nfs_repeat_messages= 0
nfs_udp_duplicate_cache_size= 5000
nfs_tcp_duplicate_cache_size= 0
nfs_server_base_priority= 0
nfs_dynamic_retrans= 1
nfs_iopace_pages= 0
nfs_max_connections= 0
nfs_max_threads= 8
nfs_use_reserved_ports= 0
nfs_device_specific_bufs= 1
nfs_server_clread= 1
nfs_rfc1323= 0
nfs_max_write_size= 0
nfs_max_read_size= 0
nfs_allow_all_signals= 0
nfs_v2_pdts= 1
nfs_v3_pdts= 1
nfs_v2_vm_bufs= 1000
nfs_v3_vm_bufs= 1000


I tried mostly with the client defaults, and also with option "udp"

The problem is that I cannot use "trial and error" since it seems that in some occasions the portmapper dies on the AIX server.
 
Old 09-28-2005, 04:58 PM   #6
louis_m_c
LQ Newbie
 
Registered: Dec 2004
Location: Saint-Hubert, Canada
Posts: 26

Rep: Reputation: 15
I have the same problem here and I found out why I get this error:
on my server my uid is 500 and on my client 501 so they dont match which cause the access denied.
 
Old 10-18-2005, 06:20 PM   #7
baktor
LQ Newbie
 
Registered: Sep 2005
Location: Atlanta, GA USA
Posts: 17

Rep: Reputation: 0
well, I'm a bit confused what your exact issue is, but here is how I mount on my Redhat server an AIX mount:

10.28.1.61:/u37/somedir /mnt/somedir nfs rsize=8192,wsize=8192,intr,posix 0 0

and on AIX, that export looks like:
/u33/cold_backups -root=hqs6000aortal2,access=hqs6000aortal2

portal2 being the Redhat box. Key is making SURE hostname is in /etc/hosts on the AIX box and that your UID/GID matches up between the two boxes. I hope this makes sense.
 
Old 09-22-2006, 03:19 AM   #8
hshbo
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Hi,

I configured on NFS at Linux site (client of AIX) as follow:

Directory: /mnt/testdatalinuxclient
Host: <ip of aix server>
Permision is Read/Write and chmod -R 777 /mnt/testdatalinuxclient

At aix server, I use command:
mount -o proto=udp <ip of Linux client>:/mnt/testdatalinuxclient /mnt/testdataaixserver

Mount failed. Error message:

mount: 1831-008 giving up on:
<ip of linuxclient>:/mnt/testdatalinuxclient
vmount: Operation not permitted.

Please help me fix this. Thanks so much.
 
Old 09-22-2006, 03:34 AM   #9
hshbo
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
It works well. Thanks Mark Taylor.
 
  


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
NFS server - client cannot mount remote file system mikemrh9 Linux - Networking 6 10-12-2006 11:05 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
Getting NFS to work (AIX client/Linux server) Derefin Linux - Networking 2 11-17-2003 10:31 AM
How can I nfs mount an NTFS file system on my linux server jj4broder Linux - Networking 4 09-30-2003 02:03 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration