Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Trouble Automounting Nfs Share, Trouble automounting nfs share
post Jul 15 2005, 07:00 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 15-July 05
Member No.: 5,272

I'm having problem getting a nfs share to automount. I can mount it manually with:

sudo mount -t nfs tracy:/share /share

But can't get it to automount on the client. Here are somr relative files from the client:

# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
# 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).
#/misc /etc/auto.misc --timeout=60
#/misc /etc/auto.misc
#/net /etc/
/~ /etc/ --timeout=300,rw,intr

/share -rw

And files from the server:

# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).


Thanks for any help!
Go to the top of the page
+Quote Post
post Jul 15 2005, 01:03 PM
Post #2

Its GNU/

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3

I'm not sure what this /etc/auto.master file is, b ut whenever i setup my system to auto-mount remote nfs mounts, i add something like the following to my /etc/fstab file:

QUOTE /mnt/nfsmount nfs defaults 0 0

You may want to look at some different options other then "defaults" by looking at the fstab manpage.

Corey Quilliam
(former) Administrator

Want to help out Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
+Quote Post
post Jul 16 2005, 07:39 AM
Post #3

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 15-July 05
Member No.: 5,272

Adding it to fstab will only mount on start-up. I can do that. What I'm after is to have autofs mount it only when it's accessed since the server isn't always on (home network). If I can get it to automount then it will save me from have to manually mount it each time I need to access the server (I'm lazy). auto.master is consulted by autofs to set up mount points for automounter. That's were I'm having the trouble - with automount.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th March 2018 - 10:53 AM