mounting nfs directory using autofs
Steven J. Brown
sbrown3 at optonline.net
Mon Mar 21 05:01:58 UTC 2005
Ankush Grover wrote:
>On Sun, 20 Mar 2005 22:30:43 -0500, Steven J. Brown
><sbrown3 at optonline.net> wrote:
>
>
>>I'm trying to use autofs in its simplest possible form, following
>>examples in Red Hat's documentation, to mount an nfs directory from my
>>desktop pc to my notebook. Everything seems to be in place because I
>>can mount the nfs export manually (at the command line or with
>>/etc/fstab) with no problem. I want to do this because I connect my
>>notebook to three different networks (or sometimes I don't connect to a
>>network) and on startup, the notebook seems to take forever looking for
>>the networks (to mount smbfs/nfs/ncpfs directories) that arent' there.
>>I'm hoping that autofs will reduce boot time. To get started, I tried a
>>simple one. Here's how I've set it up:
>>
>>Server (Desktop PC):
>>/etc/exports:
>>/home/sbrown 192.168.2.3(rw,sync)
>>
>>Notebook:
>>/etc/auto.master:
>>/misc /etc/auto.misc
>>
>>/etc/hosts:
>>192.168.2.4 dadlx
>>
>>/etc/auto.misc:
>>dad -rw,soft,intr,rsize=8192,wsize=8192 dadlx:/home/sbrown
>>
>>
>>
>
>
>you have written dad in this line where it is dadlx
>
> dad -rw,soft,intr,rsize=8192,wsize=8192 dadlx:/home/sbrown
>
>you can replace dad with * .
>
>* -rw,soft,intr,rsize=8192,wsize=8192 dadlx:/home/sbrown
>
>I think that should solve ur problem.
>
>
>Regards
>
>Ankush
>
>
>
The '*' doesn't seem to be working. Anything else you can think of?
--
Steven J. Brown
sbrown3 at optonline.net
516/812-8338
home:mozilla/firefox:linux
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=0&t=70>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050321/e2fb5335/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get.gif
Type: image/gif
Size: 1786 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050321/e2fb5335/attachment-0001.gif>
More information about the fedora-list
mailing list