Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with NFS export

Status
Not open for further replies.
Jun 14, 1999
606
0
0
US
I have this weird problem:
[tt]
[0]//> lsnfsexp
/etc -root=nick,access=nick,public
[0]//> cat /etc/exports
/etc -root=nick,access=nick,public
[0]//> cat /etc/xtab
/etc -root=nick,access=nick,public
[0]//> lssrc -g nfs
Subsystem Group PID Status
biod nfs 9552 active
nfsd nfs 8520 active
rpc.statd nfs 9808 active
rpc.lockd nfs 6712 active
rpc.mountd nfs 8778 active
[0]//> mknfsexp -d /home -c nick -r nick -n -P -B
mknfsexp: 1831-355 an export for /home already exists
[1]//>
[/tt]
What can I do?
[tt]
[1]//> uname -a
AIX abe 1 5 0009000E4C00
[0]//> oslevel
5.1.0.0
[0]//> oslevel -r
5100-04
[0]//>
[/tt]
My other (/etc) exports works very well.



I hope it works...
Unix was made by and for smart people.
 
try exportfs -a again? perhaps unexport /home? stop/start nfsd? just guessing...

IBM Certified -- AIX 4.3 Obfuscation
 
I've tried... even I've rebooted my server (I'm having Windows dreams)


I hope it works...
Unix was made by and for smart people.
 
error says /home is already exported so try to remove the export and export it again...

what will say:

rmnfsexp -d /home
 
hi,

try to to use the following: (be sure the directory to export is mounted)
1. smitty nfs
2. Network File System
3. Change/Show Attributes of an Exported Directory
4. Press F4 to see if the /home directory is under the list
5. choose the directory and press <enter>
6. Fill up necessary attributes like users allowed access
7. press enter

I'm not sure how to execute it from the command line but try the &quot;chnfsexp&quot;
 
i feel silly giving suggestions to Elgis, but maybe a rmnfsexp will find something, or maybe error out, but perhaps that will allow the mknfsexp to work.

that sort of thing works in WinXP. =)

IBM Certified -- AIX 4.3 Obfuscation
 
Don't know exactly why, but the problem is gone, and [tt]rmnfsexp[/tt], [tt]exportfs[/tt], mknfsexp[/tt], [tt]startsrc[/tt], [tt]stopsrc[/tt] neither editing or erasing [tt]/etc/xtab[/tt] or [tt]/etc/exports[/tt] or rebooting worked.

Thanks!


I hope it works...
Unix was made by and for smart people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top