- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to mount NFS file system automatically ??
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
Forums
Discussions
Discussions
Discussions
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
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-25-2002 02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 02:56 AM
06-25-2002 02:56 AM
Re: how to mount NFS file system automatically ??
It's quite an indepth subject
man automount
will give you more details
Also do a search for more links
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 02:58 AM
06-25-2002 02:58 AM
SolutionYou can have the filesystem mounted at boot time by placing an entry into /etc/fstab:
HOSTNAME:/DIRECTORY2MOUNT /LOCALDIRECTORY2MOUNTON nfs OPTIONS 0 3
Where OPTIONS can be like rw (read/write), ro (read only). Do a man on nfs_mount.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 02:59 AM
06-25-2002 02:59 AM
Re: how to mount NFS file system automatically ??
- In which case you just add an entry to /etc/fstab e.g.
server:/mnt /mnt nfs rw,hard 0 0
Or do you mean when someone tries to access a specific directory?
- In which case you need to set up the automounter - see this link for info on setting this up:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90048/B1031-90048_top.html&con=/hpux/onlinedocs/B1031-90048/00/00/6-con.html&toc=/hpux/onlinedocs/B1031-90048/00/00/6-toc.html&searchterms=automount%7cnfs&queryid=20020625-040812
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 03:00 AM
06-25-2002 03:00 AM
Re: how to mount NFS file system automatically ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 03:06 AM
06-25-2002 03:06 AM
Re: how to mount NFS file system automatically ??
U want NFS FS to be mounted while booting.. Right? This can be achieved by adding the entry in /etc/fstab. I suggest U to go for automounting. Here even if ur NFS server is down while client comes up, Exported FS will be mounted once NFS server comes up. Where as in earlier case NFS server should be alive while client comes up.. Got it??
How to setup automounting? See below
I hope U have setup the NFS server properly. Come to the client side
#cd /etc/rc.config.d
Edit nfsconf file and make sure that NFS_CLIENT and AUTOMOUNT are set to 1
Then go to SAM-networking and communication
Here U can see remotely mounted files option, Go to action, here U can setup automount option for NFS filesystem.
Or U can manually edit /etc/auto.direct file. Better U do it thru sam. After this
#cd /sbin/init.d
#./nfs.client stop
#./nfs.client start
#bdf
See whether remote file systems are mounted or not? If not, please cross check ur procedure once again.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 07:49 AM
06-25-2002 07:49 AM
Re: how to mount NFS file system automatically ??
please see this link.. will give you a good idea on how Aoutomounting works
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90048/B1031-90048_top.html&con=/hpux/onlinedocs/B1031-90048/00/00/11-con.html&toc=/hpux/onlinedocs/B1031-90048/00/00/11-toc.html&searchterms=nfs%7cautomounter&queryid=20020625-085806
keep smiling
george