- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem with autofs on RedHat ES 4.0 Upgr 4
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
Discussions
Discussions
Forums
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
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
тАО04-26-2007 08:37 PM
тАО04-26-2007 08:37 PM
Problem with autofs on RedHat ES 4.0 Upgr 4
I have problem when I want to set autofs on RH ES 4.0 upgr 4.
I export filesystem form HP-UX machine (HP-UX 11.23 IA) for RH machines.
I have on RH mounted FS /usr/sap. OK. In directory /usr/sap I have folder trans. And I want to mount with autofs on that folder filesytsem from hp-ux machines -/usr/sap.trans. W
On machine RH I set on /etc/auto.master line like this:
/usr/sap /etc/auto.trans --timeout=60
and in auto.trans I set:
trans -rw hpix:/usr/sap/trans
and when I restart autofs I have in /var/log/messages information:
Apr 26 16:17:47 xsx autofs: automount startup failed
Apr 26 16:20:02 xsx autofs: automount shutdown succeeded
Apr 26 16:20:02 xsx automount[11939]: mount_autofs: already mounted
Apr 26 16:20:02 xsx automount[11939]: /usr/sap: mount failed!
Apr 26 16:20:02 xsx autofs: automount startup failed
Additionally when i mount this FA manually evrything is ok - but I want to use autofs with timeout 60 second.
Best regards
seboizm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 09:48 PM
тАО04-26-2007 09:48 PM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
You can use some think like below in master map file:
/- /etc/auto.trans
and in auto.trans:
/usr/sap/trans -rw hpix:/usr/sap/trans
And then restart autofs with required timeout value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 10:02 PM
тАО04-26-2007 10:02 PM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 11:19 PM
тАО04-26-2007 11:19 PM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
I use map type /~ etc. on my nfs automounter in systems Tru64 and HP-UX i try first map like that on linux but not workink properly. I try this now and give answer if this workin or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 11:32 PM
тАО04-26-2007 11:32 PM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
[root@xdc init.d]# ./autofs stop
Stopping automount: [ OK ]
[root@xdc init.d]# ./autofs start
Starting automount:
failed to load map: "/usr/sbin/automount --timeout=60 /~ fi[FAILED]auto.trans"
Amazing because i don't have parameter timeout in auto.master, my file auto.master
/~ /etc/auto.trans
and auto.trans
/usr/sap/trans -rw des:/usr/sap/trans
what's wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 12:16 AM
тАО04-27-2007 12:16 AM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
Apr 27 14:13:54 rod automount[23977]: bad map format: found indirect, expected direct exiting
Apr 27 14:13:54 rod autofs: automount startup failed
Best regards
seboizm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 12:24 AM
тАО04-27-2007 12:24 AM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
it should be /-
That means replace ~(tilde) with -(hypen)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 12:32 AM
тАО04-27-2007 12:32 AM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
[root@rinit.d]# ./autofs restart
Stopping automount: [ OK ]
Starting automount: No Mountpoints Defined [ OK ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 12:53 AM
тАО04-27-2007 12:53 AM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
I don't know maybe this version have bugs?
what do you think. Give me some advice in that situation.
Best regards
seboizm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 04:43 PM
тАО04-27-2007 04:43 PM
Re: Problem with autofs on RedHat ES 4.0 Upgr 4
$ cat auto.master
/- /etc/auto.trans
$ cat /etc/auto.trans
/usr/sap/trans -rw server:/usr/sap/trans
I will check on my linux box, let's see what happens.
Please check whether autofs is using correct mastermap and directmap files once.
/etc/sysconfig/autofs
BTW you can mail this behaviour to autofs@linux.kernel.org