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!

NFS not automatically starting

Status
Not open for further replies.

Deak

Technical User
Nov 9, 2001
101
0
0
US
Hello folks I have an AIX 5.2 system that I have setup a share on an AIX 4.3.3 Box. When I reboot the AIX servers the NFS are not restarting. WHen I set it up on the AIX 5 system I set the option to Any ideas?

* PATHNAME of mount point /lpc
* PATHNAME of Remote Directory [/lpc]
* HOST where remote directory resides [b663b]
Mount type NAME []
* Use SECURE mount option? no +
* Remount file system now, both +
update /etc/filesystems or both?
* /etc/filesystems entry will mount the directory yes +
on system RESTART.
* MODE for this NFS file system read-Write +
* ATTEMPT mount in background or foreground? background +
NUMBER of times to attempt mount [] #
Buffer SIZE for read [] #
Buffer SIZE for writes [] #
NFS TIMEOUT. In tenths of a second [] #
NFS version for this NFS file system any +
Transport protocol to use any +
Internet port NUMBER for server [] #
* Allow execution of SUID and sgid programs yes +
in this file system?
* Allow DEVICE access via this mount? yes +
* Server supports long DEVICE NUMBERS? yes +
* Mount file system soft or hard hard +
Allow keyboard INTERRUPTS on hard mounts? yes +
Minimum TIME, in seconds, for holding [] #
attribute cache after file modification
 
If you really have "mount = true" in NFS filesystem stanzas in /etc/filesystems and you can mount filesystem manually "mount /nfsfilesystem", then some script unmounts them on the start up.

check in /etc/rc.nfs (look for exportfs commands)

regards,m.
 
It looks like maybe my issue may be the export on the Old system did not export itself on a reboot? What do I need to look at on this Box? Any ideas?
 
Hey theycallmetim On which system did you want to see this from here is the New 5.2 systems:
su - [] cd /etc
su - [] grep nfs inittab
rcnfs:23456789:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
:rcnfs:23456789:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
su - []
 
Check if filesystems are exported on remote (NFS server)

showmount -e nfsservername

so in your case:

showmount -e b663b


regards,m.
 
OK so here is the showmount
# showmount -e b663b
export list for b663b:
/lpc (everyone)
#
this is the 4.3.3 system which is doing the exporting. Which appears to not be re exporting on a system reboot. I see there is something called AutoFS but I am not clear if this is what I need to setup nor how to do it. I found info on IBM web site but its not clear to me.

Thanks everyone forthe assitance on this matter :)
 
Deak:

Not to worry about the smit screen entry manipulation. Kindly try this:

1] Execute the command lsitab rcnfs

If the command does not return anything then, you have a missing inittab entry. This could be fixed in two ways
- Use and editor and add the following line in the /etc/inittab file immediately after the rctcpip:

rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1

- You may also execute the command
mkitab -i rctcpip "rcnfs:2:wait:/etc/rc.nfs>/dev/console 2>&1"

NOTE: make sure you have the rctcpip entry in the /etc/inittab file by executing lsitab rctcpip

2] If your lsitab rcnfs command returns the above mentioned entry then you need to edit /etc/rc.nfs and make sure that
- required lines are uncommented
- /etc/rc.nfs is executable
- portmapper is running correctly using the commands
lssrc -s portmap & rpcinfo loopback

Hope this helps - Good Luck !!!
 
What's up with all the run level's listed for the rcnfs identifier in the inittab?

Solaris has many run levels, but not that many, and AIX has fewer than that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top