HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- automount map
Operating System - HP-UX
1838307
Members
4701
Online
110125
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-19-2003 07:41 PM
05-19-2003 07:41 PM
Hi,
What is the procedure to re-read automount map?
In /etc/auto.direct map I changed the entry from
xyz serverA:/path
to
xyz serverB:/same/path/as above
I ran automount -v. Change didn't take place.
Then I killed (kill -15 pid of automountd) and restarted. Everything ok.
Do I need to restart automount everytime I make change?
Man page says when there is change in map running automount script is enough.
Thanks.
What is the procedure to re-read automount map?
In /etc/auto.direct map I changed the entry from
xyz serverA:/path
to
xyz serverB:/same/path/as above
I ran automount -v. Change didn't take place.
Then I killed (kill -15 pid of automountd) and restarted. Everything ok.
Do I need to restart automount everytime I make change?
Man page says when there is change in map running automount script is enough.
Thanks.
Never quit
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2003 07:48 PM
05-19-2003 07:48 PM
Solution
hi,
you don't want to restart automountd when use autofs.
but when use automount whatever changes u make in automount map for that u have to restart automountd.
u can set autofs in /etc/rc.config.d/nfsconf
search for AUTOFS and make it 1(normally it will be 0).
please check this link below
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90043/B1031-90043_top.html&con=/hpux/onlinedocs/B1031-90043/00/00/10-con.html&toc=/hpux/onlinedocs/B1031-90043/00/00/10-toc.html&searchterms=automount&queryid=20030519-214646
you don't want to restart automountd when use autofs.
but when use automount whatever changes u make in automount map for that u have to restart automountd.
u can set autofs in /etc/rc.config.d/nfsconf
search for AUTOFS and make it 1(normally it will be 0).
please check this link below
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90043/B1031-90043_top.html&con=/hpux/onlinedocs/B1031-90043/00/00/10-con.html&toc=/hpux/onlinedocs/B1031-90043/00/00/10-toc.html&searchterms=automount&queryid=20030519-214646
Negative thinking is a highest form of Intelligence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2003 07:53 PM
05-19-2003 07:53 PM
Re: automount map
Hi,
Whenever you make change in master map you have to restart automountd.
you need not to be killed it you can use HUP signal to re-read config file.
Sunil
Whenever you make change in master map you have to restart automountd.
you need not to be killed it you can use HUP signal to re-read config file.
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2003 08:57 PM
05-19-2003 08:57 PM
Re: automount map
From the man pages of "mount" it stated that ..
"New entries added to a master map or direct map will not be useful until the automount command is run to install them as new autofs mount points. New entries added to an indirect map may be used immediately."
It simply means you need to restart your automounter daemon. You may want to consider implementing indirect mount which gives you the flexibility of changing the indirect map "on-the-fly" (not the master map because changing the master map still needs automounter to be restarted no matter what). For example .. my master map and users map looks like this ..
auto_master
-----------
/users /etc/auto_users
auto_users
----------
jim -nosuid mars:/users/jim
* -nosuid saturn:/users/&
Any changes can be made on the fly on "auto_users" map without needing to restart the daemon. So basically I can add another user that resides on a different server to the line before the last line and this will be reflected immediately.
"New entries added to a master map or direct map will not be useful until the automount command is run to install them as new autofs mount points. New entries added to an indirect map may be used immediately."
It simply means you need to restart your automounter daemon. You may want to consider implementing indirect mount which gives you the flexibility of changing the indirect map "on-the-fly" (not the master map because changing the master map still needs automounter to be restarted no matter what). For example .. my master map and users map looks like this ..
auto_master
-----------
/users /etc/auto_users
auto_users
----------
jim -nosuid mars:/users/jim
* -nosuid saturn:/users/&
Any changes can be made on the fly on "auto_users" map without needing to restart the daemon. So basically I can add another user that resides on a different server to the line before the last line and this will be reflected immediately.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP