- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- AutoFS - cp command issue
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-20-2006 04:55 AM
01-20-2006 04:55 AM
I have been running the Enhanced AutoFS
product under HP-UX 11.11, patched to PHNE_33498.
There seems to be an issue with copying files
to an automounted directory when the copy target has not already been mounted.
The copy operation fails; with target not found, unless the directory is first listed by 'ls'.
Trace of 'automountd' shows the 'cp' command
generating NFS lookups on the directory - but no subsequent mount request.
Since my maps are indirect, all directories
are browseable before mounting, but switching
this facility off did not change things..
AutoFS bug or misconfiguration ? Any
suggestions or opinions would be welcome.
David.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 07:47 PM
01-20-2006 07:47 PM
Re: AutoFS - cp command issue
Please provide a detailed set of your AutoFS maps and a step-by-step set of duplication instructions and I'll try this on my 11.11 system running Enhanced AutoFS.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 11:12 PM
01-22-2006 11:12 PM
Re: AutoFS - cp command issue
Here are my automount maps and
some commands that access targets from
the net map; including the wildcard case.
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 10:32 AM
01-23-2006 10:32 AM
SolutionWell, this was an interesting one. It took me a while to get to the bottom of it (or at least what I think is the bottom).
I first tried this set of reproduction steps on my 11i v2 system and confirmed that things work properly on that system.
I then tried the same maps/commands on my 11.11 system and reproduced the failure you reported. This really surprised me as I couldn't imagine shipping the Enhanced AutoFS with such a glaring defect.
I then tried another 11.11 system that didn't have the Enhanced AutoFS installed (it is using the old ONC 1.2 AutoFS) and found that system didn't reproduce the problem. I then installed the latest Enhanced AutoFS on the working 11.11 system to see if it would cause it to start failing. To my surprise, that system continued to work properly even with the newer AutoFS installed.
So now I had two 11.11 systems with the same version of Enhanced AutoFS installed - one that reproduced the problem and one that wouldn't.
I checked to see if the "working" system had any patches installed that would change the cp(1) binary. It did - PHCO_32276. I downloaded and installed this patch on the "failing" system and suddenly it became a "working" system.
My recommendation is to install PHCO_32276 on your 11.11 system and see if this resolves your AutoFS problem.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 06:43 PM
01-23-2006 06:43 PM
Re: AutoFS - cp command issue
This is a known issue and the patch mentioned is the fix for it. We had the similar issues some time back and were fixed with the mentioned patch number.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 10:57 PM
01-23-2006 10:57 PM
Re: AutoFS - cp command issue
PHCO_32276 has fixed my problem.
Though,after reading the patch documentation, I'm
still unclear as to the reasons
for cp's unexpected behaviour with Enhanced AutoFS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 11:33 PM
01-24-2006 11:33 PM