- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Temporarily disable the automounter
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
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
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
тАО07-30-2003 10:08 AM
тАО07-30-2003 10:08 AM
Temporarily disable the automounter
I have directory on EMC celerra mounted with aoutmounter on few HPUX 11 servers
Due to maintenance on the celera I need to disable the aoutmounter on my servers
I thought I should do:
#kill -SIGTERM [automounter process id]
Once the maintenance job is done restart the automounter daemon using the /sbin/init.d/nfs.client daemon
#/sbin/init.d/nfs.client stop
#/sbin/init.d/nfs.client start
Is there a better way without using SAM or reboot the servers?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 10:13 AM
тАО07-30-2003 10:13 AM
Re: Temporarily disable the automounter
Given the luxury of being able to reboot, I would edit /etc/rc.config.d/nfsconf and set "AUTOMOUNT=0". Then when you reboot, you'll come up with no automounter. If you try to kill it while running, you're going to end up with stale mounts and other annoyances.
When you're all done, change "AUTOMOUNT=1" and reboot again. It's the cleanest, safest way.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 10:25 AM
тАО07-30-2003 10:25 AM
Re: Temporarily disable the automounter
I don???t have the luxury of the reboot option since its production servers
In addition there are approximately 10 servers and you can imagine how stressful it is to reboot one by one 10 servers ,did I mention production already ???.:c)
Best regards,
A.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 10:28 AM
тАО07-30-2003 10:28 AM
Re: Temporarily disable the automounter
Well, if you can't reboot, your only real choice is to try to clean up all the automounted directories and then kill off the automounter. I've never had very good luck in such a scenario, though. I'm sure you'll end up with stale NFS mounts and possibly hung processes. It's a question of whether these problems will become critical for you or not.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 12:09 PM
тАО07-30-2003 12:09 PM
Re: Temporarily disable the automounter
What you need to do is to stop users use
the mount point and in the end kill all the
processes that use this mount point
use the fuser -uk
Try to umount the mount point and hope that
umount will succede.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 06:23 AM
тАО07-31-2003 06:23 AM
Re: Temporarily disable the automounter
Just be certain that if you are using "autofs" that there are known issues with umounting NFS filesystems managed by autofs. So be very careful about this.
Also you know if using the "legacy" automounter not to kill -9 your automount process, that you may as well just reboot the box.
If fuser -ck /mount doesn't clear the nfs mount points, us lsof and see if that finds a user process using the nfs mounts...
IMHO if you need to do maint for very long on the EMC Celera aslo and can't kill automount or reboot it, bring on a "fake" NFS Server on another box, using the EMC IP address exporting the same filesystems so that the NFS clients. When the EMC is ready to come online, take down the "fake" NFS Server.
(see why my nickname is "hack" ?)
Hope that helps,
Brian Hackley