- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to configure NFS automouter...
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
05-24-2001 07:46 AM
05-24-2001 07:46 AM
How to configure NFS automouter...
Which are steps to configure one NFS SERVER
and one or more NFS clients, in the same network segment, so that the clients
mount the /home ( nfs server ) automatically after boot ?
NFS Server : K580 HP-UX 10.20
NFS Client : K360 HP-UP 10.20
Could anybody help me !???
My best Regards,
Abel Berger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 08:05 AM
05-24-2001 08:05 AM
Re: How to configure NFS automouter...
to config nfs :
edit /etc/rc.config.d/nfsconf
change the param :
NFS_SERVER=1
START_MOUNTD=1
NUM_NFSD=4
NUM_NFSIOD=4
edit the file
/etc/exports
adit line
/home
to start it
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start
and after that you can mount the /home from any other unix computer .
mount nfsserver:/home /home_nfsserver
you can change the name of course !
if you will do a reboot to the server the nfs demons is go up auto.
if you have any que please ask
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 08:28 AM
05-24-2001 08:28 AM
Re: How to configure NFS automouter...
About this case, you did not talk about
auto_master variable and file. Why ??
Regards,
Abel Berger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 08:51 AM
05-24-2001 08:51 AM
Re: How to configure NFS automouter...
I have a NFS server as below :
In /etc/nfsconf exist :
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
# pg /etc/exports
/home -access=10.11.24.130:besup:beest:beres:
feacc1:feacc2:feacc3:feacc4:pr_treal
# pg /etc/auto_master
/- /etc/auto_directo
# pg /etc/auto_directo
/home2.beest -bg,soft,intr,rw,suid,retry=10 beest_2:/home2
In NFS client exist in /etc/nfsconf :
AUTO_MASTER=/etc/auto_master
AUTO_OPTIONS="-f $AUTO_MASTER -tm 10 -tl 300 -tw 60"
# pg /etc/auto_master
/- /etc/auto_directo
# pg /etc/auto_directo
/home.beprin -bg,soft,intr,rw,suid,retry=10 beprin_2:/home
So that serve this files ? Do you know ?
Regards,
Abel Berger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 09:09 AM
05-24-2001 09:09 AM
Re: How to configure NFS automouter...
if i understand rigth you want to mount the file system at boot time ?
because all the config file look o.k
if you mean to that i advise is to write a script that will do it ob startup of the computer .
i m putting a file att to how to do it .
but if the automounter is config rigth the first time that someone will cd to this fs the fs will be mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 09:29 AM
05-24-2001 09:29 AM
Re: How to configure NFS automouter...
As I've understood well the problem is to configure
NFS server and NFS client to mount during boot what the server exported.
As concerns server it looks OK. Just add a line in /etc/exports as Eran answered. But in this case any node can be NFS client. If you want to restrct access to only specified clients add:
/home -access=client1:client2:...
And remember that in this case root at any client has only nobody accewss.
If root on the client machine should have root access to NFS mounted file system, it must be exportedd with root access.
As concerns mounting every time when client boots it
is neccessary to add a line to /etc/fstab file:
NFS_server:/home /local_mount_point nfs defaults 0 0
This is just an example.
You also mentioned automounter. This allows NFS file systems to be mounted on demand, and this requires automounter map to be prepared: master map, direct maps and indirect maps if possible.
I recommend HP manual "Installing and administering NFS services" available in PDF format, where you can find everything what you need.
Rgds.