The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Exportfs command not working sutapa.hp HP-UX 3 05-15-2008 07:53 PM
help on rcp,exportfs mxms755 UNIX for Dummies Questions & Answers 0 04-05-2006 11:36 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-25-2008
Registered User
 

Join Date: Feb 2007
Posts: 13
Exportfs

Hi All I need help here. Some body familiar with the exportfs

For AIX5.1, i has exported a /ietelerad/TEST 10.197.6.78 for sharing.

At NFS server.
$ showmount -e
export list for CS72:
/ietelerad/TEST 10.197.6.78
$

At NFS Client
mount: 1831-011 access denied for 10.197.6.72:/ieterelad/TEST
mount: 1831-008 giving up on:
10.197.6.72:/ieterelad/TEST
The file access permissions do not allow the specified action.

thank you.

By using smitty..
Is that any other setting i have missed out.
Reply With Quote
Forum Sponsor
  #2  
Old 02-25-2008
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
A quick search shows a rather well step-by-step by aldowsary as he approached the same issue.

See Creating shared filesystem
Reply With Quote
  #3  
Old 02-25-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
Maybe have a look at the "root access" column in the "smitty mknfsnod" panel. It should have a value of "-2" IIRC.

IF this does not help please paste here the contents of the file /etc/exports and the output of the command "exportfs -va".

Btw.: The directory you exported *is* exported for the client, yes? That means, that "host <client>" issued on the server shows the IP of the client?

I hope this helps.

bakunin
Reply With Quote
  #4  
Old 02-25-2008
Registered User
 

Join Date: Feb 2007
Posts: 13
Smile

Quote:
Originally Posted by bakunin View Post
Maybe have a look at the "root access" column in the "smitty mknfsnod" panel. It should have a value of "-2" IIRC.

IF this does not help please paste here the contents of the file /etc/exports and the output of the command "exportfs -va".

Btw.: The directory you exported *is* exported for the client, yes? That means, that "host <client>" issued on the server shows the IP of the client?

I hope this helps.

bakunin
Thank you so much.
Yes. The directory exported at NFS server is exported to the client.
<CGCLPS72:/>exportfs -va
exportfs: 1831-187 re-exported /ietelerad/TEST
<CGCLPS72:/>


Yes, at <host>client,
$ showmount -e 10.197.6.72
export list for 10.197.6.72:
/ietelerad/TEST 10.197.6.78
$

The Anonymous UID [-2]. Any step i missed out here. Thank you.
Reply With Quote
  #5  
Old 02-26-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
Try to stop and start the NFS daemons at the client as well as the server:

Code:
root@client # stopsrc -g nfs
root@server # stopsrc -g nfs
root@server # startsrc -g nfs
root@server # exportfs -va
root@client # startsrc -g nfs
If this doesn't help either: have a look in /etc/exports - do NOT use the SMIT facility to list exported directories, have a look at the file directly. The reason is, that strange effects can happen if overlapping parts of the filesystem are exported with different attributes, for instance:

/dir exported read-write
/dir/subdir exported read-only

This commonly happens when s NIM servers /etc/exports is manipulated by hand and someone else is using NIM methods (which manipulate this file too).

bakunin
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0