Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-29-2009, 03:24 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
Help with automount options

I would like to mount to a NFS filer. Normally, I would issue to below command:

# mount IPaddress:/vol/exports/docs /db/files -o context="system_ubject_r:httpd_sys_content_rw_t:s0"

I want to automount it. Added an entry in /etc/auto.master file.
/snapr /etc/auto.nfs --timeout=0

Not sure about the syntax needed in the /etc/auto.nfs file. Please help. I tried entering the following, but still no luck.

files -rw,bg,nointr,rsize=32768,wsize=32768,tcp,async,vers=3,timeo=600,retrans=,context="system_ubject_r: httpd_sys_content_rw_t:s0" IPaddress:/vol/exports/docs

When I tried to automount, cd to /db/files ... system cannot find this directory.

Please help. Thanks in advance.

Last edited by mike2008; 09-04-2009 at 01:51 PM.
Old 07-31-2009, 03:31 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Whats in your /etc/auto.master

Old 07-31-2009, 03:34 AM   #3
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
can you mount the NFS share manually from the remote host.
Old 08-02-2009, 08:40 AM   #4
LQ Newbie
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, I can mount it manually.


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
/mnt/auto/usr/sbin/automount: Ambiguous or unknown options. Failure on /mnt/auto pgb205 Linux - Distributions 5 03-05-2009 12:30 AM
CentOS 5.2 Automount isos in fstab \other methods that work?automount iso Frankly3D Linux - General 6 07-13-2008 01:34 PM
How to change automount options in KDE4? shreks Fedora 0 06-11-2008 11:48 AM
Modifying mount options (ro/rw etc.) during automount via udev kamal.n2 Linux - Laptop and Netbook 8 12-14-2006 03:19 PM
USB automount options JetJock Debian 1 06-16-2005 12:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration