The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
grep unix.com with google



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

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-23-2009
Registered User
 

Join Date: Oct 2009
Posts: 10
AIX Exports file

Why can I not add more than 1 filesystem to the /etc/exports file and export them via smitty, or command line?
I have tried, I stopped the NFS daemons, edited the /etc/exports file by hand, saved it, then re-started NFS, but it only still exports the first line in the exports file.


(trying to add /backup2 again).

from smitty --> mknfsexp: 1831-355 an export for /backup2 already exists

root@mojave:/>exportfs
/databases -access=*,public

root@mojave:/>oslevel -r
5200-09

root@mojave:/>cat /etc/xtab
/databases -access=*,public

root@mojave:/>cat /etc/exports
/databases -access=*,public

  #2 (permalink)  
Old 11-24-2009
Registered User
 

Join Date: Mar 2009
Posts: 55
the error says /backup2 is already exported.

did you checked through caommand showmount -e
  #3 (permalink)  
Old 11-24-2009
Registered User
 

Join Date: Oct 2009
Posts: 10
returns no exported file systems for system.

where does smitty gets its information about whats in /etc/exports? ODM? If so how to check the ODM?
  #4 (permalink)  
Old 11-25-2009
Registered User
 

Join Date: Mar 2009
Posts: 55
First unexport all the filsystem and then export all again.

smit _nfs --> Remove a Directory from Exports List

smit _nfs --> Add a Directory to Exports List


HTH
  #5 (permalink)  
Old 11-25-2009
Registered User
 

Join Date: Oct 2009
Posts: 10
Thanks for all the advice, but finally figured out the issue late last nite...I did not have to mark the directory as public, since it was already mounted (not sure if thats the real reason why the public option didnt work, but thats my suggestion).
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Listing function exports from object file DreamWarrior High Level Programming 5 10-18-2007 02:32 PM
Howto Simplify Multiple Exports in .bash_profile monkfan Shell Programming and Scripting 1 03-30-2006 08:49 AM
Howto Simplify/Factorize Exports in .bash_profile monkfan UNIX for Dummies Questions & Answers 1 03-30-2006 12:59 AM
nfs exports and netmask option progressdll UNIX for Advanced & Expert Users 0 09-22-2005 04:07 AM
/etc/exports yls177 UNIX for Dummies Questions & Answers 1 11-05-2002 11:27 PM



All times are GMT -4. The time now is 02:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0