Exportfs


 
Thread Tools Search this Thread
Operating Systems AIX Exportfs
# 1  
Old 02-25-2008
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.
# 2  
Old 02-25-2008
A quick search shows a rather well step-by-step by aldowsary as he approached the same issue.

See Creating shared filesystem
# 3  
Old 02-25-2008
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
# 4  
Old 02-25-2008
Bug

Quote:
Originally Posted by bakunin
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.SmilieSmilie
# 5  
Old 02-26-2008
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
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need help awk /etc/exportfs

Need help awk out information from /etc/exports :wall: cat /etc/exports /%filesystem -sec=sys:krb5p:krb5i:krb5:dh,rw,access=server1:server2:server3:server(n+1) I wanted to edit out (-sec ......,access=) remove the colons and replace is with spaces output /%filesystem server1 server2... (2 Replies)
Discussion started by: wittyresponses6
2 Replies

2. AIX

Help on NFS and exportfs

HI guys... Recently I have a request to share an AIX filesystem to a Windows client. Unable to use Samba as this is a production server, and IBM Support does ont support as it is a Third Party application. Not wanting to take the risk, I opt for NFS.. However, reading the pSeries System... (5 Replies)
Discussion started by: mushr00m
5 Replies

3. UNIX for Advanced & Expert Users

exportfs -v and sync option

Dear Friends, I am using Linux system where one nfs share has been configured with rw,sync options. But when I use to check with exportfs -v command it does not show me the sync option I enabled in /etc/exports My doubt is whether I need to use any other command or other options to see... (2 Replies)
Discussion started by: Tlogine
2 Replies

4. HP-UX

Exportfs command not working

Hi All, Here is one peculiar problem I am facing with exportfs command. I have exported these following directories in /etc/dfs/dfstab file /home -access=rx26-156:dhl-6a.digitalindiasw.net /opt -ro /dev -access=rx26-156 /etc/opt -root=rx26-156 then after saving the file when I am... (3 Replies)
Discussion started by: sutapa.hp
3 Replies

5. UNIX for Dummies Questions & Answers

help on rcp,exportfs

i need some help on remote file copyieng.the queeries are: 1:> m working on a machine say(abc) and i want to copy a directory(yes a directory) from a remote machine. so what would be the command. 2:> do in need to login on the source machine from where i want to copy a directory. 3:> is it... (0 Replies)
Discussion started by: mxms755
0 Replies
Login or Register to Ask a Question