LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-07-2007, 01:55 AM   #1
athreyavc
Member
 
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Rep: Reputation: 15
NFS and Automount


Hi All,

I am facing a strange problem here ,

I have a Netapp nfs share

/vol/vol2/autofs

I want to automount the share on a Linux (CentOS 5 ) machine

My /etc/auto.master

/autohome /etc/auto.mnt

and auto.mnt is

autofs -fstype=nfs,rw nfsserver:/vol/vol1/autofs

I have started the portmapper and autofs on the Linux box

if I try to access the /autohome i can cd to it but I can not create any file

No NIS here ,

Am i doing some wrong config here ?

Kindly Help

Regards,

Athreya
 
Old 12-08-2007, 02:29 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
What's the permissions on the remote filesystem? You have it rw in the mount command so client side should be ok.
 
Old 12-09-2007, 10:30 PM   #3
athreyavc
Member
 
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Original Poster
Rep: Reputation: 15
The Client has the root permission on the share.

I start the autofs service , Do I need to run the mount command again ,

Thanks for the reply ,

Regards,

Athreya VC
 
Old 12-09-2007, 11:33 PM   #4
athreyavc
Member
 
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Original Poster
Rep: Reputation: 15
Hi Trickykid,

One more observation here

If I manually mount them , everything works fine.

But autofs not works ,

Is the permissions wrong,

Regards,

Athreya VC
 
Old 12-10-2007, 06:11 AM   #5
athreyavc
Member
 
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Original Poster
Rep: Reputation: 15
Hi Trickykid,

I did everything form the scratch again ,

and it worked for me

In the /etc/auto.master

/mnt /etc/auto.autofs -rw, intr --timeout=600

Here the /mnt is on client and here the automount will create its mount point

/etc/auto.autofs is the place where the actual mapping is present

In the /etc/auto.autofs

Test -rw,soft,intr,wsize=(value),rsize=(value) nfsserver:<share name>

“Test” will get created by the automounter automatically.

# service autofs start


I can see the mount with the mount command

Hope this is correct

Thanks and Regards,

Athreya VC
 
  


Reply


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
automount nfs HA myutopia Linux - Networking 0 11-28-2006 11:06 AM
About NFS automount mahabooba Solaris / OpenSolaris 9 06-30-2006 12:31 AM
nfs automount issue after reboot chickie Linux - Enterprise 2 01-10-2006 03:37 PM
automount nfs and smb al_erola Linux - Networking 2 04-27-2003 11:33 AM
NFS - Automount / Security Issues gene_gEnie Linux - Networking 0 02-08-2002 03:05 PM

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

All times are GMT -5. The time now is 10:33 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration