LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2013, 04:12 AM   #1
nokia3310
LQ Newbie
 
Registered: May 2013
Posts: 18

Rep: Reputation: Disabled
How to mount nfs using automounter(autofs)


I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do

What i did


$cat /etc/auto.master
Code:
/home/vm1/Desktop    /etc/auto.nfs
$cat /etc/auto.nfs
Code:
nfs-bind     -fstype=nfs    192.168.1.34:/home/vm1/Desktop/nfs
And yes autofs is running and is reloaded

Code:
[root@vm1 ~]# service autofs status
automount (pid  3534) is running...
[root@vm1 ~]# service autofs reload
Reloading maps
Is that the correct way to do that? If yes then why is it that its not working...nothing got mounted..nothing
 
Old 05-02-2013, 05:22 AM   #2
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
did you see your nfs-bind directory in desktop folder

Last edited by jitendra.sharma; 05-02-2013 at 05:36 AM.
 
  


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
Multiple NFS mount using autofs luxaterna Linux - Newbie 4 04-21-2013 09:14 PM
Autofs+NFS repeated mount attempts guna_pmk Linux - Server 3 04-07-2011 05:17 AM
NFS mount over ssh using autofs ciphyre Linux - Server 0 11-25-2008 02:08 PM
Manual NFS Mount works / AutoFS will not! gerhardb Red Hat 0 03-21-2007 01:05 PM
nfs mount with fstab vs autofs rrich100 Linux - Networking 2 11-13-2003 11:21 PM


All times are GMT -5. The time now is 04:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration