LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-23-2011, 08:30 AM   #1
chaitanya1982
LQ Newbie
 
Registered: Apr 2008
Posts: 23

Rep: Reputation: 15
autofs issue


Hi ALL,

I need to do a task in autofs. I will explain a scenario

We have configured our nfs mounts with global autofs file.

/proj/results is getting mounted through autofs which is defined in auto.proj.

Now I need to mount one directory under /proj/results with another filesystem from autofs.

like /proj/results/dev shuld be mount with filere3:/vol/vol10.

is it possible?


auto.proj file looks like as follows:

test1 -rw,hard,intr vixen:/vol/vol8/&
testcases filer2:/vol/vol2/testcases
results_epd filer2:/vol/vol5/epd
xtools filer2:/vol/vol4/xtools
dsv_xhd filer2:/vol/vol7/&
results filer2:/vol/vol5/ipsd


Thanks & regards,
Chaitanya
 
Old 03-24-2011, 08:25 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
It should work ... did you have a problem or haven't you tried yet ?
 
Old 03-25-2011, 12:30 AM   #3
chaitanya1982
LQ Newbie
 
Registered: Apr 2008
Posts: 23

Original Poster
Rep: Reputation: 15
I tried it but it didn't work for me.

The thing is results(/proj/results) directory is also a autofs entry. under /proj/results I need one directory dev and shuld be mounted with another file system by autofs.

It shuld like as follows:


[root@xhd-itadmin1 results]# df -h .
Filesystem Size Used Avail Use% Mounted on
xhd-filer2:/vol/vol5 2.0T 1.7T 391G 81% /proj/results
[root@xhd-itadmin1 results]# cd dev/
[root@xhd-itadmin1 dev]# df -h .
Filesystem Size Used Avail Use% Mounted on
xhd-filer2:/vol/vol10/dev
1.8T 1.4T 406G 78% /proj/results/dev
[root@xhd-itadmin1 dev]#


Thanks & Regards,
Chaitanya
 
Old 03-25-2011, 12:51 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
See if a multi-mount map will work - see 'man 5 autofs'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
autofs under / Micro420 Red Hat 9 03-04-2010 05:00 PM
NFS + Autofs mounting issue vm_devadas SUSE / openSUSE 2 12-21-2007 06:25 AM
Noob question: AutoFS and NFS Share Issue: Group mounts gerhardb Linux - Networking 0 03-20-2007 03:09 PM
autofs issue UltraSoul Linux - Software 2 10-24-2006 11:49 PM
autofs issue babk17c Linux - Networking 0 03-26-2004 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:31 PM.

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