LinuxQuestions.org
Visit Jeremy's Blog.
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-27-2010, 06:14 AM   #1
deepu.sarma
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Rep: Reputation: 0
nfs server configured but not mounting


Hi every body,


I have configured an nfs server like this

#vi /etc/exports
/var/ftp/pub *.dell.com(rw,sync)

& configured yum server

from client yum update is working but by using nfs method if i am trying to mount i am getting this message
mount 192.168.0.254:/var/ftp/pub failed,reason given by serverermission denied
 
Old 12-27-2010, 06:42 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by deepu.sarma View Post
Hi every body,


I have configured an nfs server like this

#vi /etc/exports
/var/ftp/pub *.dell.com(rw,sync)

& configured yum server

from client yum update is working but by using nfs method if i am trying to mount i am getting this message
mount 192.168.0.254:/var/ftp/pub failed,reason given by serverermission denied
Check the permission of this folder /var/ftp/pub

Code:
#ls -ld /var/ftp/pub
Ensure adequate permission is given to it to make it accessible.
 
Old 12-27-2010, 10:31 AM   #3
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269

Rep: Reputation: 54
The /etc/exports looks wrong to me, the general format is:

/path/to/export subnet(options)

so in your guess I would guess you want something like:

/var/ftp/pub 192.168.0.0/24 (rw,sync)

then run the exportfs command with appropriate flags to reread the config file. What your /etc/exports is doing is allowing only hosts from dell.com to connect to your NFS share, which I kind of doubt was the intention.

Now the piece about yum seems out of place to me since yum is used to install software, and is done via ftp/http and has nothing to do with an NFS share. What you would want to do to mount the share is something like:

mount hostname:/var/ftp/pub /nfs
 
  


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
Mounting NFS Shares from Windows Storage Server on another Linux Server ddenton Linux - Server 3 07-14-2009 10:29 AM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM
mount.nfs: access denied by server while mounting mokrunka Linux - Networking 4 10-07-2008 12:53 AM
Need help with NFS mounting to a Win2k server. noone Linux - Networking 5 10-24-2004 01:56 PM

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

All times are GMT -5. The time now is 06:54 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
Open Source Consulting | Domain Registration