HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS and Automount problems
Operating System - HP-UX
1834010
Members
2085
Online
110063
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
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
11-04-2002 01:22 AM
11-04-2002 01:22 AM
NIS and Automount problems
Hello,
I am using HP-UX 11.00 system, and using NIS and Automount for network services. Recently I want to add one direct map to auto.master file on the NIS server. I already have one direct map file "auto.direct". Now I want to add another direct map file "auto.disks'. On the NIS server, I already modified "ypmake", "Makefile", and "ypinit" file to build auto.disks map file. and Run ypmake from NIS server, everything seems works smoothly, and I can get auto.disks file contents from NIS clients when I run "ypcat auto.disks". So I just modified auto_master file on the NIS server like this"
/- auto.direct -hard,rsize=8192,wsize=8192
/- auto.disks -hard,rsize=8192,wsize=8192
and then run "ypmake". But when I run "ypcat auto.direct" no matter from NIS server or NIS clients, there is only one line like this:
auto.direct -hard,rsize=8192,wsize=8192
If I change fiel auto_master file like this:
/- auto.disks -hard,rsize=8192,wsize=8192
/- auto.direct -hard,rsize=8192,wsize=8192
There is only one line like this:
auto.disks -hard,rsize=8192,wsize=8192
I don't know why there is only one line can be available from NIS server. If everyone know this, please give me one reply.
Thanks in advance!
Annie
I am using HP-UX 11.00 system, and using NIS and Automount for network services. Recently I want to add one direct map to auto.master file on the NIS server. I already have one direct map file "auto.direct". Now I want to add another direct map file "auto.disks'. On the NIS server, I already modified "ypmake", "Makefile", and "ypinit" file to build auto.disks map file. and Run ypmake from NIS server, everything seems works smoothly, and I can get auto.disks file contents from NIS clients when I run "ypcat auto.disks". So I just modified auto_master file on the NIS server like this"
/- auto.direct -hard,rsize=8192,wsize=8192
/- auto.disks -hard,rsize=8192,wsize=8192
and then run "ypmake". But when I run "ypcat auto.direct" no matter from NIS server or NIS clients, there is only one line like this:
auto.direct -hard,rsize=8192,wsize=8192
If I change fiel auto_master file like this:
/- auto.disks -hard,rsize=8192,wsize=8192
/- auto.direct -hard,rsize=8192,wsize=8192
There is only one line like this:
auto.disks -hard,rsize=8192,wsize=8192
I don't know why there is only one line can be available from NIS server. If everyone know this, please give me one reply.
Thanks in advance!
Annie
Annie
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 11:37 AM
11-04-2002 11:37 AM
Re: NIS and Automount problems
/- refers to a mount point for the automounter to mount to as a client. You can only mount /- from one source, so it your server is only accepting the first mount point. To add additional exported file systems, you should add a new mounts in the auto_master file or add the new exported directories to your auto.direct.
Good Luck.
Steve
Good Luck.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 12:01 PM
11-04-2002 12:01 PM
Re: NIS and Automount problems
I think the problem is with your thinking of the "/-" notation and what it means.
/- means everything that you dont have in an indirect map of. Since it means "everything else", it can not go to another "everything else".
To defeat this, use different locations. I use specifically:
/net /etc/auto.home
/apps /etc/auto.apps
/- /etc/auto.direct
Regards,
Shannon
/- means everything that you dont have in an indirect map of. Since it means "everything else", it can not go to another "everything else".
To defeat this, use different locations. I use specifically:
/net /etc/auto.home
/apps /etc/auto.apps
/- /etc/auto.direct
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 12:01 PM
11-04-2002 12:01 PM
Re: NIS and Automount problems
Apart from Shannon's suggestion you can also include all your direct mounts in a single file. This is how I've seen it done usually (for direct mounts). First your /etc/auto_master file would have something like this ..
/- /etc/auto.direct direct
/net -hosts -soft special
Then you would build your /etc/auto.direct where yout put all the entries of the intended FS mapping. For example ..
/opt/myapps -ro serverA:/opt/apps
/opt/apps -ro serverB:/opt/vendor/apps
Basically only use one direct mount file where it has all the direct map entries in it.
/- /etc/auto.direct direct
/net -hosts -soft special
Then you would build your /etc/auto.direct where yout put all the entries of the intended FS mapping. For example ..
/opt/myapps -ro serverA:/opt/apps
/opt/apps -ro serverB:/opt/vendor/apps
Basically only use one direct mount file where it has all the direct map entries in it.
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