Also, does anyone know of any patches for the automounter on HP-UX 10.20?
I've got an 11.x system here too. Are there any differences to how this works
on 11.x? I see 9.x is ancient and not going to be Y2K compliant so I won't
bother trying to get it working on that machine.
Thanks for any/all help and responses.
- Dave Wollenweber
Platinum Technology, Inc. - david.wo...@platinum.com
Leave auto_master where it is in /etc, and add entries to it for other
maps. For example, an NIS based indirect map can be added with something
like:
/home auto.home -soft,nosuid,wsize=8192
and a direct map with
/- auto.direct -options
Remember of course to set
automount: nis files
or whatever in /etc/nsswitch.conf
To use a file based map, give the file path in the second column.
Beware that it does some quite odd things with mutiple directory maps,
of the form
fred frodo:/disk/u8:&
If user fred is the first person with a home directory on a remote disk
to log in on a particular morning, that *disk* will be mounted as
/tmp_mnt/home/fred and it will make the apparent soft link
/home/fred -> /tmp_mnt/home/fred/fred
When bill who is on the same disk logs in, he gets
/home/bill -> /tmp_mnt/home/fred/bill
This is all well and good until bill uses the /bin/pwd command, and
calls tech support to ask why his directory is within fred's (groan). I
got fed up of the RTFM calls from (csh) users that I created a script
which they get instead of pwd which masks this behaviour. Repeat after
me: we want bash, we want bash...
>
> Also, does anyone know of any patches for the automounter on HP-UX 10.20?
>
Dunno, we only use the automounter with 11.00, but we use the same maps
with Solaris 2.5.1, Irix 6.5 and Linux 2.0.34 with no problems (apart
from the Irix NFS3 bug :)
Dave
--
The opinions expressed above are my own and do not represent those of
the DERA or any other agent, body or organisation.
David> I'm somewhat new to HP-UX (and have mostly a Solaris background)
David> and I'm not quite understanding how HP does automounter maps.
David> ...
David> HP-UX 10.20 incase that matters which it appears to with HP
It also matters whether you're using 10.20 with ACE or without ACE,
since the automounters are completely different creatures under ACE. It
appears that you're using ACE. In that case, from a management
perspective, there is no difference between Sun's automounter and HP's
automounter. You manage the maps the same way that you'd manage the Sun
maps.
From a functionality perspective, the HP ACE automounter is not usable,
at least in our experience. See my previous post at
http://x8.dejanews.com/getdoc.xp?AN=405667684
My HPs are patched to the hilt with all NFS, NIS and automount patches
that we can find, and I can still consistently pizzle the HP automounter
to the point where a reboot is the only solution. We are forced to use
the amd automounter on our HPs for that reason.
David> Also, does anyone know of any patches for the automounter on
David> HP-UX 10.20?
Yes, there's tons, but none of them do any good. I'd tell you what they
are, but HP's support web site is mind-numbingly slow today (as usual)
and I don't feel like wasting my morning doing a patch search.
Regards,
--
Dave Carrigan (Dave.C...@cnpl.enbridge.com)
Sr. Technical Analyst, Technology Services
Enbridge Pipelines Inc.
David> This is all well and good until bill uses the /bin/pwd command,
David> and calls tech support to ask why his directory is within fred's
David> (groan). I got fed up of the RTFM calls from (csh) users that I
David> created a script which they get instead of pwd which masks this
David> behaviour. Repeat after me: we want bash, we want bash...
automountd (with ACE) doesn't do this; it mounts all directories in
place (i.e. no /tmp_mnt and symlink hacks). Of course, automountd
doesn't actually work, but if it did, this is the behavior you would see
(and do see, on our Sun systems, which are actually delivered with
working software).
>automountd (with ACE) doesn't do this; it mounts all directories in
>place (i.e. no /tmp_mnt and symlink hacks). Of course, automountd
>doesn't actually work, but if it did, this is the behavior you would see
>(and do see, on our Sun systems, which are actually delivered with
>working software).
Well, Sun is partly to blame for that. Rather than rolling their own
NFS PV3 code like, for example, SGI did, HP licensed Sun's code. And
Sun shipped them very buggy code, which they've been debugging for quite
some time. This is the reason for both the late delivery of NFS3 stuff
on HP-UX and its continuing instability (I don't use it, but I keep
hearing about people having problems with it) Apparently HP should have
been smarter and specified that they wanted to license Sun's code along
with all Sun's bug fixes, rather than just the untested 1.0 reference
source :)
As it turns out, HP probably would have gotten NFS3 out faster if they
had just written it themselves, but you can certainly understand why
they would have figured it would be quicker out the door if they
licensed it.
FYI, it works 100% fine to use the pre-ACE automount binary with ACE2
systems. It does all its mounts as NFS2 only, but it allows you to have
your system fully up to date software wise without being forced to run
the more buggy new code. Hopefully the bugs will get sorted out enough
soon that I'll be brave enough to try it on my systems (there may be no
choice after going to 11.0, I can't remember if it shipped with NFS3 in
the first place or not)
--
Douglas Siebert Director of Computing Facilities
douglas...@uiowa.edu Division of Mathematical Sciences, U of Iowa
If at first you don't succeed, destroy all evidence that you tried.
we have the problem with that multiple directory maps under HPUX as mentioned
below:
On an IRIX 6.2 system we have the automount-maps for the homedirectories. On all
IRIX systems we have no problems, but on the HP-UX systems the directories are all
mounted in that strange way. This give us a lot of trouble.
Is there a workaround to avoid this "/home/bill ->
/tmp_mnt/home/fred/bill"-mounting?
thanks
Gregor
David Crooke wrote:
> ...
> Beware that it does some quite odd things with mutiple directory maps,
> of the form
>
> fred frodo:/disk/u8:&
>
> If user fred is the first person with a home directory on a remote disk
> to log in on a particular morning, that *disk* will be mounted as
> /tmp_mnt/home/fred and it will make the apparent soft link
>
> /home/fred -> /tmp_mnt/home/fred/fred
>
> When bill who is on the same disk logs in, he gets
>
> /home/bill -> /tmp_mnt/home/fred/bill
>
> This is all well and good until bill uses the /bin/pwd command, and
> calls tech support to ask why his directory is within fred's (groan). I
> got fed up of the RTFM calls from (csh) users that I created a script
> which they get instead of pwd which masks this behaviour. Repeat after
> me: we want bash, we want bash...
>
> >
> > Also, does anyone know of any patches for the automounter on HP-UX 10.20?
> >
>
> Dunno, we only use the automounter with 11.00, but we use the same maps
> with Solaris 2.5.1, Irix 6.5 and Linux 2.0.34 with no problems (apart
> from the Irix NFS3 bug :)
>
> Dave
>
> --
> The opinions expressed above are my own and do not represent those of
> the DERA or any other agent, body or organisation.
--
Gregor Schulz
SysAdmin
company b at Babelsberg fxCenter Tel (+49 331) 721-6012
August-Bebel-Strasse 26-53 Fax (+49 331) 721-6022
14482 Postdam
mailto:gsc...@companyb.de http://www.companyb.de
..................................................................
Hiermit widerspreche ich der Nutzung oder Uebermittlung meiner
Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung
gemaess Par. 28 Abs. 3 Bundesdatenschutzgesetz
..................................................................
We had this problem too. My understanding of the situation is as
follows:
When we mounted like this:
kakimmel kopt0058:/int1/local_user:&
We would then have the problem you indicated. Using the : tells
the system to mount the physical disk only once and any additional
information on the same disk that is later needed gets accessed
under this initial mount point using what I call a "sub-mount-point"
instead of creating a second one. This means you only have one
mount point to the disk to have the OS deal with.
You can eliminate this problem by setting up the map like this
instead:
kakimmel kopt0058:/int1/local_user/&
Which is what we did, however, you will now have a separate
mount point for each user home for the OS to deal with even
if the multiple users are on the same disk. For us, this
isn't usually a problem because most people have their own
workstations and even workstations that have multiple homes
usually only have one or two people using them at a time so
the multiple mount points to the same disk are not as much of
an issue.
Other than using multiple mount points as indicated above for
the individual directories, we haven't seen any other solution
to the double home mounting problem.
Kim
--
Kim Kimmel
Senior Project Engineer
Delphi Delco Electronics Systems
1 Corporate Center
M.S. CT200
Kokomo, IN 46904
Phone: 1-765-451-0284
FAX: 1-765-451-0174
Internet Address: kaki...@dawg.delcoelect.com
: Is there a workaround to avoid this "/home/bill ->
: /tmp_mnt/home/fred/bill"-mounting?
Ahh.. /tmp_mnt. :P
If I might make a suggestion: install the ACE2 networking patch bundle
from HP. This gives you a well behaved, multithreaded, and System V style
automounter that mounts the filesystems where they're supposed to be
mounted. Fred's homedir will be mounted as /home/fred, and bill's homdir
will be mounted as /home/bill.
-James
--
James Neal (j...@netcare.lucent.com) - CAT in Exile
11399 16th Ct. N. | UNIX Systems Administrator
St. Petersburg, FL | for IBM Global Service
PH/VMail: 813-217-1689 | at Lucent Technologies
FAX: 813-217-1960 | contracting through CDI Information Services.
James> If I might make a suggestion: install the ACE2 networking patch
James> bundle from HP. This gives you a well behaved, multithreaded,
James> and System V style automounter that mounts the filesystems where
James> they're supposed to be mounted. Fred's homedir will be mounted
James> as /home/fred, and bill's homdir will be mounted as /home/bill.
Right on all counts except the part about "well behaved". If you like
rebooting your systems a lot, go ahead and use ACE2 automounter. You can
probably find my other automounter rants in DejaNews, but no solutions
from HP yet (other than admissions that it's "buggy").
regards
Gregor
"Kimberley A. Kimmel" wrote:
> Gregor Schulz wrote:
> >
> > Hallo,
> >
> > we have the problem with that multiple directory maps under HPUX as mentioned
> > below:
> > On an IRIX 6.2 system we have the automount-maps for the homedirectories. On all
> > IRIX systems we have no problems, but on the HP-UX systems the directories are all
> > mounted in that strange way. This give us a lot of trouble.
> > Is there a workaround to avoid this "/home/bill ->
> > /tmp_mnt/home/fred/bill"-mounting?
> >