LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 03-22-2014, 01:14 PM   #1
killout
LQ Newbie
 
Registered: Nov 2012
Posts: 14

Rep: Reputation: Disabled
How to use automounter for bind?


Hello.
I used to use fstab for nfs mounts, but now want to move them to autofs.

We have rhel and opensuse, and we need to bind directories depending on os, for example
/tools/local on rhel mounted with -bind to /tools/rhel
and
/tools/local on opensuse mounted with -bind to /tools/opensuse

But when I try to do it via autofs it fails on such bind mounting.
In /etc/auto.master
Code:
/-      /etc/auto.smi
In /etc/auto.smi
Code:
/sw             -rw                 192.168.0.192:/sw
/sw/tools/local -rw                 192.168.0.192:/sw/tools/rhel
And I also have tried to
Code:
/sw/tools/local -fstype=bind                 :/sw/tools/rhel
Any ideas how to achieve, that /tools/local contain appropriate content, depending on OS ?

Thanks!

Last edited by killout; 03-22-2014 at 01:16 PM.
 
Old 03-23-2014, 04:47 AM   #2
killout
LQ Newbie
 
Registered: Nov 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Sorry, wrong thread.
Moved it here http://www.linuxquestions.org/questi...81#post5139681
Please, delete this.
 
Old 03-23-2014, 05:17 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
The right course of action would have been to report you own thread/post using the REPORT button in the lower right corner and ask a moderator to move it for you. Anyway, no problem... I'm going to close this one as a duplicate.
 
  


Closed Thread

Tags
autofs, automount



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automounter question pyroman59 Linux - Newbie 2 10-19-2011 09:41 PM
What is your automounter? Linux.tar.gz Linux - Software 32 02-11-2007 10:23 AM
Automounter jshim Red Hat 2 01-17-2007 02:26 PM
subfs automounter ronald-be Linux - Hardware 2 08-22-2004 11:46 AM
CD drive automounter pe2338 Debian 17 08-21-2003 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration