LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2011, 10:49 AM   #1
zkab
Member
 
Registered: Dec 2007
Posts: 136

Rep: Reputation: 16
autofs don't work


I installed Linux Mint (Katya 64-bit) on a new computer and it doesn't automount (autofs) my NFS shares.
Have another computer running Fedora and it works OK ... actually copies all auto.* from Fedora to Katya.
Here is what I have:
1) auto.master
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/nfs /etc/auto.nfs
/cifs /etc/auto.cifs
2) auto.nfs
Arkiv_X -fstype=nfs,rw,hard,intr,rsize=65536,wsize=65536 arkiv-x:/home
Arkiv_Disk -fstype=nfs,rw,hard,intr,rsize=65536,wsize=65536 arkiv-x:/Arkiv_Disk/home
NSLU2 -fstype=nfs,rw,hard,intr,rsize=65536,wsize=65536 NSLU2:/home/raivo/
NSLU2_Disk_2 -fstype=nfs,rw,hard,intr,rsize=65536,wsize=65536 NSLU2:/disk_2
3) The service autofs runs OK
sudo service autofs restart
autofs start/running, process 3477
4) When I mount NFS shares via fstab (as a test) it works OK ... so there is no problem with the NFS server ... the Fedora computer can access the shares without no problems.
My fstab in Katya:
arkiv-x:/home /nfs nfs rw,hard,intr,rsize=65536,wsize=65536 0 0

Why can't I get autofs working in Katya ?
 
Old 09-14-2011, 04:31 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 105Reputation: 105
Lightbulb

Just a shot in the dark but these don't line up.

Quote:
arkiv-x:/home /nfs nfs rw,hard,intr,rsize=65536,wsize=65536 0 0


vs.


Arkiv_X -fstype=nfs,rw,hard,intr,rsize=65536,wsize=65536 arkiv-x:/home

 
Old 09-15-2011, 07:08 AM   #3
zkab
Member
 
Registered: Dec 2007
Posts: 136

Original Poster
Rep: Reputation: 16
Sorry don't understand ... what do you mean with ' line up' ?
 
Old 09-16-2011, 04:17 AM   #4
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 105Reputation: 105
Lightbulb

The naming conventions ( Case is different ) are different in different entries.
 
Old 09-16-2011, 05:49 AM   #5
zkab
Member
 
Registered: Dec 2007
Posts: 136

Original Poster
Rep: Reputation: 16
Arkiv_X is the mount point in /nfs/ and arkiv-x is the name of the NFS server. You can check https://help.ubuntu.com/community/Autofs.
BTW ... the problem solved by adding --ghost in the auto.master

/nfs /etc/auto.nfs --ghost
/cifs /etc/auto.cifs --ghost

Thanks for your input.
 
Old 09-17-2011, 05:55 AM   #6
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 105Reputation: 105
Great !
 
  


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
[SOLVED] Audio work/don't work on Slackware 13.1 MarcosPauloBR Slackware 12 04-30-2011 07:42 AM
autofs do not work vjhuntz Linux - General 11 06-27-2007 10:26 PM
autofs in sid doesn't work! Skyblaze Debian 2 02-27-2005 12:53 PM
Linux autofs: can it work without NIS? kbshaq Linux - Networking 1 02-16-2005 08:52 PM
Suse dontīt boot X; donīt ask for root passwd, YAST donīt work... carrie Linux - Newbie 4 10-08-2004 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:35 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