Operating System - HP-UX
1752681 Members
5154 Online
108789 Solutions
New Discussion

autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why ?

 
Sammy_2
Super Advisor

autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why ?

Hpux 11.11 (rp4440 box).

 

When I do a bdf , I see whole bunch of auto mount points that got mounted by itself. How do I stop it from  automatically happening ?

I believe netapp volumes are world accessible from any server. Now, i get one of these mount point not accessible and it is hanging the bdf command and then finishes after 2 minutes. Also causing slowness (45 sec latency)  in logging in by users.

 

How do I fix the auto mount point ? I need autofs running though since are using Unix ldap and user home directory automatically gets mounted when user logs in.

 

 

 

 

 

 

bdf: file system inbpnetapp2a:/vol/vol0 mounted on /net/inbpnetapp2a/vol/vol0 is not responding

inbpnetapp4a:/vol/SAP_XIS_diskarch2
                   62914560 4692528 58222032    7% /net/inbpnetapp4a/vol/SAP_XIS_diskarch2
inbpnetapp4a:/vol/ojrfscusers1_clone
                   403701760 394944528 8757232   98% /net/inbpnetapp4a/vol/ojrfscusers1_clone
inbpnetapp4a:/vol/web_enrollment_prod2
                    409600    3872  405728    1% /net/inbpnetapp4a/vol/web_enrollment_prod2
inbpnetapp4a:/vol/dfpm_ojrfscdata2_SV_1229519698_2704
                   1625292800 1553747824 71544976   96% /net/inbpnetapp4a/vol/dfpm_ojrfscdata2_SV_1229519698_2704
inbpnetapp4a:/vol/dfpm_ojrfscusers1_SV_1230046337_3470
                   2147483647 1530533976 616949672   71% /net/inbpnetapp4a/vol/dfpm_ojrfscusers1_SV_1230046337_3470

good judgement comes from experience and experience comes from bad judgement.
16 REPLIES 16
Dennis Handly
Acclaimed Contributor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

I was told long ago to never use /net for the automounter.  This caused ALL of the exported filesystems on the server to be  automounted, even if you only specified one.  Not sure if this is your problem?

 

But I would assume this would affect more of the server than the client?

The solution was to add specific automount maps for each filesystem.

 

I've seen NFS hangs like this when I had left some old symlinks to /net/machine that was long since retired.  Whenever I did a lsf in the directory, the stat(2) on that symlink would hang for a while.

 

In the meantime, if inbpnetapp2a:/vol/vol0 is broken, stop exporting it.

Sammy_2
Super Advisor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

Thanks. I am not mounting any of the /net  nfs file s ystems. Apparently, they get mounted by iteself automagically. I see this on other hpux system as well so wondering if someone else sees the same issue I am having. I am guessing with autofs turned on , it scans the network for available nfs and mounts them.

Dont see this issue with solaris or linux

 

Also, the vol0 is not broken. It was mounted by itself.

 

Just wanted to know if these automounts can .be stopped by script or patch.?

 

Also, I am guessing bdf hanging is due to nfs mounts issue.

 

good judgement comes from experience and experience comes from bad judgement.
Dennis Handly
Acclaimed Contributor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

>I am not mounting any of the /net NFS file systems. Apparently, they get mounted by itself automagically.

 

Then one of your users is doing it.

 

>with autofs turned on, it scans the network for available NFS and mounts them.

 

Only if someone accesses those filesystems.

 

>the vol0 is not broken. It was mounted by itself.

 

It's broken since it has hung bdf.

>wanted to know if these automounts can be stopped by script or patch?

 

Some user is causing them to be mounted.  Why do you want to stop them?

Sammy_2
Super Advisor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

Thanks Dennis.

How to I stop users from usiing /net to do soft mount. ? I would much rather they do hard mounts .

good judgement comes from experience and experience comes from bad judgement.
Patrick Wallek
Honored Contributor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

You don't stop users from doing the mounts.  When the user accesses a file system that is set up to be mounted via AUTOFS, it gets mounted.  This is set up by the system administrator.

 

If you want to use hard NFS mounts, you (or the system admin) will have to configure these mount points to be mounted via NFS.  This is normally done by adding them to the /etc/fstab file so that they get mounted when the system boots.

Sammy_2
Super Advisor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

Not sure if users are doing it.  When I /net  to one of the volumes and then I do a bdf, it  automatically mounts whole bunch of volumes under /net. So, bdf count  jumps from like 30 to 45. The additonal 15 is just /net mount points.  Odd. I see that on another hpux 11.11 server, same thing.

good judgement comes from experience and experience comes from bad judgement.
Pete Randall
Outstanding Contributor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

> How to I stop users from usiing /net to do soft mount. ? I would much rather they do hard mounts .

 

A normal user (non-root) can not do mounts.  Maybe this has changed since 11.11, but my question would have to be why do you feel the need to eliminate these auto-mounts?  I would suspect that they are being used for something and eliminating them is going to break some application somewhere.


Pete
Dennis Handly
Acclaimed Contributor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

>Not sure if users are doing it.

 

Then the applications they are using are doing it.

 

> When I /net  to one of the volumes and then I do a bdf, it  automatically mounts whole bunch of volumes under /net.

 

This is exactly what I said.  Using /net is bad.  :-(  (Unless you want all 15 at once. :-)

 

You need to come up with 15+ new automount maps and tell your applications to use those maps instead of /net.

 

>The additional 15 is just /net mount points.  Odd. I see that on another hpux 11.11 server, same thing.

 

Exactly what happens to me, too.

Separate automount maps, good, /net, bad.

Sammy_2
Super Advisor

Re: autofs in hpux 11.11 mounting shared volumes on netapp filer automatically. Why?

Dennis,

If it  happens to you, so I am praying that maybe you have the solution.

The users are not doing (since I rebooted and disabled ssh) and neither is the application. The application does not know anythnig about these mount point on netapp. The app is down. It happens on other HPUX 11.11 server (diffrent app) so I have to say it is the OS. The users dont even know about 10.108.99.30 network.

Immediately After reboot, I did a bdf a few times and saw the mount point in the bottom of my email appear . I umount them and they reappear again a few mins later.

 

Looking at the syslog.log, I see the OS is again looking for certain volumes and cant find it.  That causes login delay .

 

Again, i dont think app is doing it. I think, OS is scanning numerous volumes  on the netapp filer which has nothing to do with app on the server. Not sure why ?

Since it can't find it goes on to next one.

 

Basically, I dont want any /net at all.

Linux  Solairs dont have this issue and they are in similar network. ONly hpux.

 

How can I do that from OS to stop looking for netapp volumes on the network ? I dont want to completely stop nfs client either.

 

Thanks

 

 

 

syslog.log

==========

Sep 16 14:08:42 ojrdhes3 automount[5147]: 10.108.99.30:/vol/Helidata2: server not responding: RPC: Timed out
Sep 16 14:08:42 ojrdhes3 syslogd: unknown host loghost4
Sep 16 14:09:12 ojrdhes3 automount[5147]: 10.108.99.30:/vol/FLASH_DUMP: server not responding: RPC: Timed out
Sep 16 14:09:12 ojrdhes3 syslogd: unknown host loghost4
Sep 16 14:09:42 ojrdhes3 automount[5147]: 10.108.99.30:/vol/IKS_ERQ_QA: server not responding: RPC: Timed out
Sep 16 14:09:42 ojrdhes3 syslogd: unknown host loghost4
Sep 16 14:10:12 ojrdhes3 automount[5147]: 10.108.99.30:/vol/dbiftp_dev: server not responding: RPC: Timed out
Sep 16 14:10:12 ojrdhes3 syslogd: unknown host loghost4

 

 

Automtically mounted these  after a reboot

===============================

10.108.99.30:/vol/WORM_iso_50
                   83886080 53171276 30714804   63% /tmp_mnt/net/10.108.99.30/vol/WORM_iso_50
10.108.99.30:/vol/WORM_iso_10
                   3355444 2096728 1258716   62% /tmp_mnt/net/10.108.99.30/vol/WORM_iso_10
10.108.99.30:/vol/web_enrollment2
                    409600     428  409172    0% /tmp_mnt/net/10.108.99.30/vol/web_enrollment2
10.108.99.30:/vol/web_enrollment_prod2
                    409600    3868  405732    1% /tmp_mnt/net/10.108.99.30/vol/web_enrollment_prod2

Sep 16 14:10:43 ojrdhes3 automount[5147]: 10.108.99.30:/vol/TEMP4TEAMSITE: server not responding: RPC: Timed out

good judgement comes from experience and experience comes from bad judgement.