Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
Showing results for 
Search instead for 
Did you mean: 

Auto mounting the nfs file systems.

Kuntal Gupta
Frequent Advisor

Auto mounting the nfs file systems.

Dear HPUX lovers,


I have Zero knowledge in nfs.


After rebooting a NFS server I have to  execute the command

# exportfs -i /<fs1>

# exportfs -i /<fs2> on

 to make the fs available to nfs client.


I want that after rebooting this should be done automatically.


Pls suggest how to do this?


I can't test it right away.


The suggestions will be kept until next opertunity comes.






Modris Bremze
Esteemed Contributor

Re: Auto mounting the nfs file systems.

/etc/exports file should be processed at boot time automatically. If the exported filesystems are mounted some time later, then some kind of script/automation might be required to exportfs them after they are mounted. And exportfs -a exports all filesystems in /etc/exports, so you don't have to exporfs them one by one.