Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-09-2011, 10:49 AM
|
#1
|
Member
Registered: Dec 2007
Posts: 146
Rep:
|
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 ?
|
|
|
09-14-2011, 04:31 AM
|
#2
|
Member
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719
Rep: 
|
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
|
|
|
|
09-15-2011, 07:08 AM
|
#3
|
Member
Registered: Dec 2007
Posts: 146
Original Poster
Rep:
|
Sorry don't understand ... what do you mean with ' line up' ?
|
|
|
09-16-2011, 04:17 AM
|
#4
|
Member
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719
Rep: 
|
The naming conventions ( Case is different ) are different in different entries.
|
|
|
09-16-2011, 05:49 AM
|
#5
|
Member
Registered: Dec 2007
Posts: 146
Original Poster
Rep:
|
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.
|
|
|
09-17-2011, 05:55 AM
|
#6
|
Member
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719
Rep: 
|
 Great !
|
|
|
All times are GMT -5. The time now is 06:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|