- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Simple Autofs question.
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
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
01-29-2003 11:55 AM
01-29-2003 11:55 AM
HP-UX 11.00 on host and client.
nsfconf file AUTOFS=1
AUTOMOUNT=0
/usr/ud/HARRIS in export file on host and exportfs -a ran.
auto-master on client looks like
/net -hosts -nosuid
/- /etc/auto_direct
auto-direct on client looks like
/ASPEN_SCHED2 -nosuid aspen:/usr/ud/HARRIS
Question the mountpoint ASPEN_SCHED2 does that have to exist or does it make it
Yes, I have read the man pages and HP info notes, I have problems reading and understanding things in depth. I like to work from small and add on or have really good examples to follow and take apart
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 12:15 PM
01-29-2003 12:15 PM
Re: Simple Autofs question.
I also umounted the hard mount for /ASPEN_HARRIS prior to doing this and commented it out of the /etc/fstab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 12:20 PM
01-29-2003 12:20 PM
SolutionYou will need to set AUTOMOUNT=1 if you intend to use AUTOFS. Stop and start /sbin/init.d/nfs.client after the change.
You do not need to create /ASPEN_SCHED2 directory. Once the client is restarted, it will created. And once you cd to it, it will get mounted.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 02:02 PM
01-29-2003 02:02 PM
Re: Simple Autofs question.
cd /
mkdir ASPEN_SCHED2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 02:15 PM
01-29-2003 02:15 PM
Re: Simple Autofs question.
/etc/rc.config.d directory - check the following files
nfsconf
- Make sure SERVER=1
- CLIENT=1 is optional
namesvrs
Check nis domain (are you using NIS?) - If so, good, what is the NIS domain.
If not - then make sure the hosts files reference each other as nodenames, specifically so that the client sees the server as "aspen" and not aspen.domain.region.
So far so good.
Now - on the server run
/sbin/init.d/nfs.server stop;/sbin/init.d/nfs.server start -
on the client run
/sbin/init.d/nfs.client stop; /sbin/init.d/nfs.client start
This will restart everything for you.
If you answered that you have a nis domain above, then reference /etc/nsswitch.conf and make sure it is set up appropriately
automount: files nis
or
automount: files [notfound=CONTINUE] nis
Good Luck