- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- autoFS and the "-D" option
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
06-17-2002 11:21 AM
06-17-2002 11:21 AM
autoFS and the "-D" option
at my site i am using automounter to mount my NFS shares. it works like charm on other platforms like Solaris and Linux, but on the HPUX i have this problem:
I am using a variable to define my architecture of the machine,
which is called "ARCH", and then i do something like this
$automounter_prog -Dhp
on HP i can do it only with the old automounter, which is obsolete.
the new autofs does not support the "-D" feature, and have something different which has static var. names (which i cant remember now), and ARCH is not one of them.
do you know a way i can make it work with the new automounter?
10x,
Noam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2002 11:27 AM
06-17-2002 11:27 AM
Re: autoFS and the "-D" option
in /etc/rc.config.d/nfsconf, set AUTOFS=0
Which will invoke the OLD automounter.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2002 11:46 AM
06-17-2002 11:46 AM
Re: autoFS and the "-D" option
I'm already working with that, but its a BAD automounter.
it works mainly from user-space, instead of kernel-space. it has this annoying "/tmp_mnt".
and before all
ITS OBSOLETE!!!!
it will be gone in the next hpux release or something.
I am looking for a way to work with the new automounter.
Noam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2002 12:01 PM
06-17-2002 12:01 PM
Re: autoFS and the "-D" option
Have you tried exporting the variables before executing automounter?
export ARCH="hp"
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:11 AM
06-18-2002 03:11 AM
Re: autoFS and the "-D" option
You're right, there is no -D option with autofs. Can you do anything with the variable substitution available within the map file?
Quote from "man automount":
--------------------
Variable Substitution
Client specific variables can be used within an automount map. For
instance, if $HOST appeared within a map, automount would expand it to
its current value for the client's host name. Supported variables are:
HOST The output of uname -n. The host name. For example
"rowboat"
OSNAME The output of uname -s. The OS name. For example "HP-UX"
OSREL The output of uname -r. The OS release name. For example
"B.11.0"
OSVERS The output of uname -v. The OS version. For example "C"
If a reference needs to be protected from affixed characters, you can
surround the variable name with '{}' (curly braces).
--------------------
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 05:06 AM
06-18-2002 05:06 AM
Re: autoFS and the "-D" option
If you have loads of memory you could increase dbc_max_pct to get more buffer space on the NFS server to get as much of the NFS filesystem in memory.
Just a thought
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 02:23 AM
06-20-2002 02:23 AM
Re: autoFS and the "-D" option
First of all thanks for all your replies.
like I always said "HP engineers must live on Mars, otherwise how can you
explain that they invented the wheel themselves?"
Back to the subject, it IS possible to do what I wanted, it's just a
little tricky.
There is the configuration file for the automounter:
/etc/rc.config.d/nfsconf
on the buttom of it you can enable the new autoFS (autofs=1, if i recall
correctly)
and then there are two more lines,
AUTOMOUNT_OPTIONS=
AUTOMOUNTD_OPTIONS=
(i hope i wrote it in the right order)
I guess the automount is in the userspace, and the automountd is in the
kernel space.
the catch is if you give to the first line the parameter "-D=hp" it will
shout on you that its not supported any more.
if you will do the same thing with the second line, it will just work
like charm.
I was probably misleaded by the error message I got, as you can
understand.
good day,
Noam