- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how does NFS entry work in /etc/fstab?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 08:30 PM
тАО06-11-2002 08:30 PM
how does NFS entry work in /etc/fstab?
One more question, compared normal NFS mount with NFS automount(defined by /etc/auto_master,auto_direct), which one is better? Does NFS automount eliminate the "Stale NFS handle" problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 08:41 PM
тАО06-11-2002 08:41 PM
Re: how does NFS entry work in /etc/fstab?
Here /home is the remote file system
/UCM is the local mount point for the remote file system.The type of file system is nfs.It is read-write.2 is the pass number used for fsck(file system check).
Thanks
G Manikandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:08 PM
тАО06-11-2002 09:08 PM
Re: how does NFS entry work in /etc/fstab?
Well you're not correct, on the NFS server side, "export -a" is done by /sbin/init.d/nfs.server upon boot-up (or if manually re-run the script), NOT automatically. For example if you edit /etc/exports you must still execute..
# exportfs -a
afterwards, otherwise the FS will not be exported. Or you can run ..
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.server start
but you would NOT want to do that because the server might have an active NFS connection.
Definately NFS automount is much better than the usual hard mount points. This is because automount or autofs is based on "as-needed" basis. Meaning the remote FS will only be mounted when you access to the directory (example: you cd to it) and once you're out from that directory, the FS will be automatically umounted after a short time (matter of few minutes). Finally automount minimizes "stale NFS mount" problem, it does not totally eliminate it. For example consider you're accessing an automounted directory and suddenly the server crashed, so the automatic umount does not happen on time, thus you'll still see the "stale NFS" problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:15 PM
тАО06-11-2002 09:15 PM
Re: how does NFS entry work in /etc/fstab?
The problem is by default the NFS mount are hard mountsi.e if the remote file system is unavailable the local machine retries that file system using nfs again and again.
It is good to go for soft mounts where retries are 2 or 3 times for mounting the remote file system.
If it is a hard mount and the remote file system is unavailable,you reboot your machine then it gets struck during boot up keeps on retrying the remote file system.
Soft mount is a good option.
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:17 PM
тАО06-11-2002 09:17 PM
Re: how does NFS entry work in /etc/fstab?
The example given by TG is for importing a filesystem NFS mount point from another server. Using the /etc/exports file is for exporting a filesystem to a client, the client being the one that has the entry in /etc/fstab on the remote system.
Suggest you have a look at the online manual at the following link. Use the search facility from within the page. It is very helpful and points out common problems with Stale NFS handles and the information your after with automount usage.
http://www.docs.hp.com/hpux/onlinedocs/B1031-90048/B1031-90048.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 10:33 PM
тАО06-11-2002 10:33 PM
Re: how does NFS entry work in /etc/fstab?
Again, I noticed that normal NFS mount is using rpc.mountd. Is it using portmap with port 111, how about automount? How come I couldn't find out any entry for rpc.mountd in both /etc/services and /etc/inetd.conf?
I have ever created an NFS package in MCSG environment but it could not survive a failover and I got "Stale NFS mount" after I run cmhaltnode.
Has anybody get solution to deal with this problem or should I switch to automount?
How can I switch normal NFS to automount?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 11:19 PM
тАО06-11-2002 11:19 PM
Re: how does NFS entry work in /etc/fstab?
The above entry in /etc/fstab will do well to mount a /tmp file-system from the remote system.
And in the server side exportfs is executed for every reboot and will export all file-system in /etc/exports.
Regards,
Gnana A.