LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-29-2007, 04:22 AM   #1
athreyavc
Member
 
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Rep: Reputation: 15
Automount Netapp NFS shares on Linux with AUTOFS


Hi All,

We have a NFS share provided via Netapp Filer /vol/Testvol

I want to use autofs to mount that on a Linux System RHEL 3

I have configure the /etc/auto.master like this,

/mnt /etc/auto.misc

then the /etc/auto.misc

TestVol -fstype=nfs,-rw,nosuid filerID:/vol/Testvol

So as per the config the share should get mounted on /mnt/Testvol right ?

when I restart the autofs service no error comes but, nothing gets mounted
if I give mount then

I see instead of /mnt/TestVol, /mnt is mounted on the Share and

ls /mnt is EMPTY!!, Then I try to create a directory , But I get the permission denied errors ,

Please help me on this

Regards,

 
Old 10-30-2007, 05:27 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Never had much luck in the auto stuff. I would make the directory manually. Then add a line to fstab to the share but set it to noauto for the mount since networking will not be up before the /etc/fstab is run. Then in the /etc/rc.local add the mount command to manually mount the NFS like a normal mount. Use the full path to the mount command also. Last you may have to set permissions for the user to use.

Brian
 
Old 10-30-2007, 05:34 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You might get some help here on autofs. http://nfs.sourceforge.net/

Brian
 
  


Reply



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
NFS + netapp filer + redhat 8 = rpc timed out..why?? iclies Linux - Networking 2 05-26-2006 06:17 PM
Autofs and automount socks Linux - Software 0 07-20-2004 12:28 PM
samba & autofs (automount) acb67 Linux - Networking 4 06-10-2004 10:57 AM
Setting up automount with autofs smattbac Slackware 0 10-12-2003 08:51 AM
nfs + redhat linux 8 + netapp filer.. rpc : timed out ???? iclies Linux - Newbie 0 05-12-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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