Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-26-2012, 02:23 AM   #1
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

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

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,insecure,no_root_squash)

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

Error: mount.nfs: access denied by server while mounting

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
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

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


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
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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration