Operating System - HP-UX
1827293 Members
1498 Online
109717 Solutions
New Discussion

NFS will not mount on startup

 
Joshua Goi
Frequent Advisor

NFS will not mount on startup

Hi,

I have 2 remote directories which I wanted to mount automatically after bootup. I setup both in SAM and rebooted the system. One will mount while the other won't. I made sure that both have the same options when I set them up in SAM. Looking in fstab. I see both entries, with no difference between them in options. The other directory will only mount when I do a manual mount command. Does anyone has any idea what's going on here?

Thanks!
8 REPLIES 8
Alex Lavrov.
Honored Contributor

Re: NFS will not mount on startup

It probably fails to mount on startup. Do you see any messages about it in /etc/rc.log ?

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Eric Antunes
Honored Contributor

Re: NFS will not mount on startup

Hi Joshua,

Did you checked the remote directory permissions?

Best Regards,

Eric
Each and every day is a good day to learn.
Rick Garland
Honored Contributor

Re: NFS will not mount on startup

The order of services to start can be important as well. Example, you will not NFS mount anything until the system starts NFS daemons (nfsd and biod)

Cem Tugrul
Esteemed Contributor

Re: NFS will not mount on startup

hi Joshua,

i am not sure but also you may check
/etc/rc.config.d/nfsconf file and look
AUTOFS=?


Our greatest duty in this life is to help others. And please, if you can't
Sudeesh
Respected Contributor

Re: NFS will not mount on startup

Hi,

Looks like its an issue specific to that mount as other nfs mount is working fine.

First check /etc/rc.log for any mount errors during system startup.

Another option to check the stuff will be by issuing mountall commnad after unmounting both nfs mounts. This should give error if there is any issue with fstab entry.

Sudeesh
The most predictable thing in life is its unpredictability
Suraj Singh_1
Trusted Contributor

Re: NFS will not mount on startup

HI,

You may also look at the dmesg output and look for any possible errors related to NFS mount.

Also, you may want to try waht sudeesh has pointed out.

Are both the remote filesystems exported from the same server? If yes, you would have to look at the /etc/exports of nfs server for possible causes.

Regards
What we cannot speak about we must pass over in silence.
Devesh Pant_1
Esteemed Contributor

Re: NFS will not mount on startup

Joshua,

try to manually mount the nfs directory at the command line
That should give you some indication whether the remote directory is nfs mountable or not.
Check if the directories have been exported properly
Also do a
#showmount remotesystemname

thanks
Devesh
Steven E. Protter
Exalted Contributor

Re: NFS will not mount on startup

Possible cause:

Incorrect networking in /etc/rc.config.d/netconf

It could be a misplaced character, or the networking is simply incorrect with regards to contacting the remote hosts.

If you can mount the directories after startup, then its probably not netconf. If you can't there are many possible causes.

Its not beyond the realm of possibilities that a router or firewall, or VLAN configuration is blocking NFS access.

You need to check network connectivity to those hosts prior to trying the NFS mount. This may necessitate you adding some code to the start jobs in /sbin/init.d or making your own little network checking program in the /sbin/init.d directory. A few commands such as ping can determine the situation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com