LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-26-2012, 02:23 AM   #1
ubungu
LQ Newbie
 
Registered: Jun 2012
Location: /home/ubungu
Posts: 27

Rep: Reputation: Disabled
Can not mount NFS in Ubuntu with CentOS 6.3


Hi everybody

I'm using ubuntu 12.04.LAN IP is 192.168.1.36

I install Virtual Box. In virtual box I install CentOS 6.3. LAN IP is 192.168.56.102

2 computers can ping success

I want to mount folder in CentOS /home/www/web/uploads to /home/nfs (in Ubuntu)

Ubuntu: root
mkdir /home/nfs
/etc/init.d/nfs-kernel-server start
service portmap start
in /etc/exports I add /home/nfs 192.168.56.102(rw,insecure,no_root_squash)

In CentOS:
mount -t nfs 192.168.1.36:/home/nfs /home/www/web/uploads

Error: mount.nfs: access denied by server while mounting 192.168.1.36:/home/nfs

Please help me solve this problem

Thank you very much

Last edited by ubungu; 07-26-2012 at 03:07 AM.
 
Old 07-27-2012, 10:47 AM   #2
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Try using
Code:
showmount -e 192.168.1.36
From the centos server - -
If not, then from the ubuntu box run:
Code:
exportfs -a
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!! kristo5747 Linux - Newbie 2 08-16-2010 11:57 AM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM
ubuntu nfs prob only mount as ro berrance Linux - Software 2 10-16-2008 09:38 AM

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

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