Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th September 2012, 00:09
denmaddog denmaddog is offline
Junior Member
 
Join Date: Feb 2011
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default mounting NFS share with autofs CentOS

I have set up NFS export on one CentOS server like this:
cat /etc/exports
/shared 192.168.122.0/24(rw,no_root_squash)
nfs and rpcbind services are started

On client side I can mount this share manualy with:
mount -t nfs 192.168.122.136:/shared /shared
When mounted like this I can write to that mount, but when setting autofs to mount this share when I try to write to /shared folder I got:

[root@master shared]# touch testy
touch: cannot touch `testy': Permission denied
[root@master shared]#

on client I have:
cat /etc/auto.master
/shared /etc/auto.misc

cat /etc/auto.misc
shared -rw 192.168.122.136:/shared


Please help, I have to resolve this in order to take RHCE exam


Zeljko
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
autofs, exports, mount, nfs

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS is no longer work after reboot the server. holykim Server Operation 6 27th July 2012 23:15
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 20:07
Centos server cannot share internet dalitso Server Operation 4 12th July 2010 15:58
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22
CentOS Xen local NFS mount? unclecameron HOWTO-Related Questions 8 7th February 2008 18:47


All times are GMT +2. The time now is 18:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.