- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FRUSTRATING AutoFS/Automounter problem...
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-06-2005 12:00 PM
01-06-2005 12:00 PM
FRUSTRATING AutoFS/Automounter problem...
I'm having a very frustrating problem with the automounter on one of our servers. It's a rp74xx running 11i, with pretty recent patches (June 2004) and the ENHAUTOFS product loaded.
Here's the deal. We can't get any of our mounts to actually work. Whenever we try to start the automounter (manually), we get:
[/] root@bishop #/usr/sbin/automount -v
automount: mount /software2: Invalid argument
automount: no mounts
automount: no unmounts
We only have the following entries in our /etc/auto_master file:
/- /etc/auto.direct -vers=3,proto=udp
And the /etc/auto.direct is:
/software2 elrito:/software
I *can* successfully perform a:
[/] root@bishop # mount -F nfs elrito:/software /software2
However, automounter is being completely flaky. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 12:09 PM
01-06-2005 12:09 PM
Re: FRUSTRATING AutoFS/Automounter problem...
If you haven't tried using SAM, then you probably
should.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 12:29 PM
01-06-2005 12:29 PM
Re: FRUSTRATING AutoFS/Automounter problem...
Besides, we've got 50 servers to configure this on, and I'd prefer to be able to fix this without resorting to SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 12:56 PM
01-06-2005 12:56 PM
Re: FRUSTRATING AutoFS/Automounter problem...
the warning section of automount(1M) manpages.
My suggestion would be to reboot the system and
try the command again (make sure you are using
proper syntax).
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 01:04 PM
01-06-2005 01:04 PM
Re: FRUSTRATING AutoFS/Automounter problem...
adding this line at last line :
server:/mnt /mnt nfs rw,hard 0 0
Kindly respond
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 01:16 PM
01-06-2005 01:16 PM
Re: FRUSTRATING AutoFS/Automounter problem...
the AUTOFS varieble is set to 1 in "nfsconf" file.
You probably know that, if this is set to 0, the old
flavor of automount will be used instead of the
new "autofs", which is pretty much a dead product.
Ofcourse, you could always mount using NFS by
adding entry in "/etc/fstab" and mounting by
"mount -a".
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 01:12 AM
01-07-2005 01:12 AM
Re: FRUSTRATING AutoFS/Automounter problem...
I have checked, and the following variables are set in /etc/rc.config.d/nfsconf:
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 02:10 AM
01-07-2005 02:10 AM
Re: FRUSTRATING AutoFS/Automounter problem...
what worries me is that SAM complains about /software2 being already mounted. Pls check if some orphaned entry is present in /etc/mnttab.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 02:11 AM
01-07-2005 02:11 AM
Re: FRUSTRATING AutoFS/Automounter problem...
Try this,
# cat /etc/auto_master
/- /etc/auto.direct
# cat /etc/auto.direct
/software2 -vers=3,proto=udp elrito:/software
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 02:14 AM
01-07-2005 02:14 AM
Re: FRUSTRATING AutoFS/Automounter problem...
I did not say that SAM is complaining, it is just showing /software2 as being mounted, which is incorrect. Yes, the automounter is running, but it is not currently actually mounting anything. It's just showing incorrect information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 02:21 AM
01-07-2005 02:21 AM
Re: FRUSTRATING AutoFS/Automounter problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 02:48 AM
01-07-2005 02:48 AM
Re: FRUSTRATING AutoFS/Automounter problem...
I think we've gotten sidetracked here though -- what is causing the "Invalid argument" errors. Those I am certain are the crux of the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 03:13 AM
01-07-2005 03:13 AM
Re: FRUSTRATING AutoFS/Automounter problem...
Just tested your config files on one of our boxes. No problems found so far... so maybe something very basic is wrong on your system?
Run check_patches to get an idea if kernel libs have their expected checksums.
Is the autofsc driver in the kernel?
Sorry... have to leave for week end now. Good luck.
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 03:23 AM
01-07-2005 03:23 AM
Re: FRUSTRATING AutoFS/Automounter problem...
I just checked, and autofsc IS in the kernel, and check_patches does not report any errors.
Any other suggestions, anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 06:32 AM
01-07-2005 06:32 AM
Re: FRUSTRATING AutoFS/Automounter problem...
find exactly what command SAM is using to reach
at the wrong conclusion, you could see sam log
by using following command:
# /usr/sam/bin/samlog_viewer
BTW, did you reboot the system and tried it
again? As the manual section says many thing
can go wrong quickly with automount and I was
wondering if you, while trying out all options, did
do any of those.
- Biswajit