- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 10.20 : NIS & automount problem
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
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-21-2002 02:50 AM
06-21-2002 02:50 AM
I have a NIS master running on Solaris 8 (Sparc). I also have a number of NIS slaves running on Solaris (Intel).
I have set up a large number of clients which run various flavours of Solaris which work fine. I also have a large number of clients running HPUX 11.00 which run fine. Home directories etc. are all automounted OK, as are other NIS maps. I am happy with the master and slave set-up.
However, I have tow HPUX 10.20 clients who can bind to slaves and see the NIS maps. What they cannot do is to mount them, most notably users' home directories.
If I stop and start the /sbin/init.d/nfs.client on one of the 10.20 servers, here is what I get :
# ./nfs.client start
starting NFS CLIENT networking
starting up the portmapper
portmap already started, using pid: 606
starting up the BIO daemons
/usr/sbin/biod 4
Reading in /etc/exports
starting up the Status Monitor daemon
rpc.statd already started, using pid: 4110
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 4116
starting up the AutoFS daemon
/usr/sbin/automountd -T
Running the AutoFS command interface
/usr/sbin/automount
automount: mount /user: No such device
automount: mount /xfn: No such device
automount: mount /net: No such device
mounting remote NFS file systems ...
The three maps referenced(/user, /xfn and /net) are all in the /etc/auto_master file on the NIS master. All clients mount these Ok except for HPUX 10.20. Why is this ?
Any help/suggestions greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:01 AM
06-21-2002 03:01 AM
Re: HPUX 10.20 : NIS & automount problem
o My first stab is that are you SURE nothing else is mounted on /user, /xfn & /net...
o Can you mount them just using straight NFS.
o Hows the network....
supply the bdf, auto_master & auto_user,xfn & net maps please. are the auto_user... maps under NIS?
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:55 AM
06-21-2002 03:55 AM
Re: HPUX 10.20 : NIS & automount problem
The auto_user and other maps are all under NIS. There is nothing local that I want to mount.
Here is the bdf :
Filesystem kbytes used avail %used Mounted on
/dev/root 83733 22621 52738 30% /
/dev/vg00/lvol1 47829 43469 0 100% /stand
/dev/vg00/lvol7 491869 372303 70379 84% /var
/dev/vg00/lvol6 446741 313927 88139 78% /usr
/dev/vg01/lvol3 99669 62368 27334 70% /users
/dev/vg00/lvol5 30597 18965 8572 69% /tmp
/dev/vg01/lvol2 800811 189172 531557 26% /rdbms
/dev/vg00/lvol4 1196821 607825 469313 56% /opt
/dev/vg04/lvol2 498645 63859 384921 14% /maint
/dev/vg00/lvol9 378965 252044 89024 74% /home
/dev/vg02/lvol1 4007201 1912391 1694089 53% /development
/dev/vg05/lvol1 3005449 180701 2524203 7% /data2
/dev/vg04/lvol1 3005449 614937 2089967 23% /data1
/dev/vg03/lvol1 3907177 657684 2858775 19% /ckp_jnl
/dev/vg04/lvol3 498645 89695 359085 20% /cdr
/dev/vg01/lvol4 718037 643112 3121 100% /apps
As you can see, nothing remote.
Here is the "mount" :
/ on /dev/root defaults on Fri Jun 14 03:10:43 2002
/stand on /dev/vg00/lvol1 defaults on Fri Jun 14 03:10:45 2002
/var on /dev/vg00/lvol7 defaults on Fri Jun 14 03:10:53 2002
/usr on /dev/vg00/lvol6 defaults on Fri Jun 14 03:10:53 2002
/users on /dev/vg01/lvol3 defaults on Fri Jun 14 03:10:53 2002
/tmp on /dev/vg00/lvol5 defaults on Fri Jun 14 03:10:53 2002
/rdbms on /dev/vg01/lvol2 defaults on Fri Jun 14 03:10:53 2002
/opt on /dev/vg00/lvol4 defaults on Fri Jun 14 03:10:53 2002
/maint on /dev/vg04/lvol2 defaults on Fri Jun 14 03:10:53 2002
/home on /dev/vg00/lvol9 defaults on Fri Jun 14 03:10:54 2002
/development on /dev/vg02/lvol1 defaults on Fri Jun 14 03:10:54 2002
/data2 on /dev/vg05/lvol1 defaults on Fri Jun 14 03:10:54 2002
/data1 on /dev/vg04/lvol1 defaults on Fri Jun 14 03:10:54 2002
/ckp_jnl on /dev/vg03/lvol1 defaults on Fri Jun 14 03:10:54 2002
/cdr on /dev/vg04/lvol3 defaults on Fri Jun 14 03:10:54 2002
/apps on /dev/vg01/lvol4 defaults on Fri Jun 14 03:10:54 2002
/pure on stamford:/pure ro on Fri Jun 21 06:47:41 2002
/components on stamford:/components ro on Fri Jun 21 06:47:41 2002
There are a few NFS mounts there, but they are done via the /etc/fstab file , not NIS, and work OK.
Here is the auto.master map (from the client) :
ypcat auto.master
auto_user -nobrowse
-xfn
-hosts -nosuid,nobrowse
and here is the auto.user map :
ypcat auto.user
oak:/user/brennanr
oak:/user/houghj
I can see that the automount cannot mount the NIS map directories. However, the client can see and display all NIS maps.
What can you see ?
Thanks for any replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 04:30 AM
06-21-2002 04:30 AM
Re: HPUX 10.20 : NIS & automount problem
mount oak:/user/brennar /users/brennar
mount oak:/user/houghj /users/houghj
If this is the case then you might need to re-name /users to /user or do you already have a /user
Whilst this is not part of the question I usually do this
# cat /etc/auto_master
.. (headder stuff)
/users auto_user
# cat /etc/auto_user
* oak:/user/&
This mounts ALL dirs on oak on
BUT you will not be able to do this because you have /dev/vg01/lvol3 mounted there... Just a thought.
If the above does not help, or is just plain wibble then I think it could be
o Patches
o HP-UX 10.20 might not support this method of mounting (as your other machines do). Instead of using NIS for auto_.., try using files for auto_master & auto_users etc)
o Did you NFS mount oak:... successfully?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 04:39 AM
06-21-2002 04:39 AM
Solutionfirst you need to clarify if this is an automount problem or a simple mount problem.
Please try manually mounting these file systems from the 10.20 clients as root and as the user. If you succeed then the problem is in fact related to automount but if not then its a mount problem until this has been checked you may be wasting time looking at the automount.
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 05:16 AM
06-21-2002 05:16 AM
Re: HPUX 10.20 : NIS & automount problem
is the auto_master file in any way handeled/distributed by the NIS master server or is it specific to each client ?? if it is NIS originated you might have to see if the map is readable from the client and conatins the correct data, use the ypcat command to do so (see manpage).
If it is a local file then still it depends on user permission etc... wether you can mount and read data , is the mounting done as root or as a user ? there is some difference as the HP-UX implementation considers Rooot user as nothing at all , it guid is -2 so the exports might happen with annon=65534 and root=clientname set on the nfsservers
last but not leasat , name resolving could play a roll , also here NIS could come in to play , can you easily resolve the names of the NFS servers , if not and this is NIS related , then do a ypcat on the hostfile from the NIs server on the client and cHeck the ypbinding ....
thaths some small steps , woith more info we could perhaps continue this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:34 AM
06-21-2002 06:34 AM
Re: HPUX 10.20 : NIS & automount problem
Good Luck
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 09:06 PM
06-21-2002 09:06 PM
Re: HPUX 10.20 : NIS & automount problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 04:20 AM
06-25-2002 04:20 AM
Re: HPUX 10.20 : NIS & automount problem
To the person who directed me to a patronising web page about etiquette etc., I refer you in turn to the Oxford English Dictionary. Look up the word "trust"-it will do you good. I have not been back for a number of days due to a bereavement in my family. This is actually none of your business, but I am telling you anyway in the hope that you will not offend other people in the same way as you have me.
To everyone else,
I have tried a number of things as suggested and have now narrowed it down to an automounter problem. If I run "/usr/sbin/automount" it complains about /user & /net, which are the two NIS maps it gets from the auto.master map. I have copied over /usr/newconfig/etc/rc.config.d/nfsconf to /etc/rc.config.d/nfsconf and stopped and restarted the NFS client and server, but am still getting the same error. I have verified it can be mounted manually.
Any other suggestions ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 04:39 AM
06-25-2002 04:39 AM
Re: HPUX 10.20 : NIS & automount problem
A quick search for "NFS automountautofs" gave
phne_22877 - NFS/NIS General release/perf. patch
phne_22288 - NFS/NIS Gen Rel/perf patch
phco_22268 - Cumu SAM/ObAM patch
phne_15159 - nsswitch.conf patch for automounter
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2002 06:06 AM
06-26-2002 06:06 AM
Re: HPUX 10.20 : NIS & automount problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 11:12 PM
04-18-2007 11:12 PM
Re: HPUX 10.20 : NIS & automount problem
I have received hp server from onsite.
So project purpose i have added entry in the /etc/fstab for mounting
after sometimes old entry will displayed on mount points.
How can i resolv this.
Thanks,
Srini.