LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS Mount Problem (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-mount-problem-4175422870/)

sunveer 08-19-2012 05:51 AM

NFS Mount Problem
 
I have setup a physical machine and a virtual machine (libvirt) withe network interface NAT .

I have disabled firewall and selinux for the time being.

My /etc/exports file on physical machine is :
Code:

/home    *(rw,no_root_squash,sync)
On the virtual machine, I can successfully ping physical machine and showmount -e IP command gives proper results.

But the command
Code:

mount -t nfs IP:/home /mnt
gives error : "mount.nfs: access denied by server while mounting IP:/home "

My Physical machine IP is : 172.24.0.2
and Virtual Machine IP is : 192.168.1.12

zQUEz 08-19-2012 07:00 AM

Are you getting nfs denied log entries on the physical server?
On the virtual server are you logged in as root (uid=1) when you try the mount?

sunveer 08-19-2012 07:31 AM

Quote:

Originally Posted by zQUEz (Post 4758192)
Are you getting nfs denied log entries on the physical server?
On the virtual server are you logged in as root (uid=1) when you try the mount?

I don't have access to the physical server right now, so I don't know about logs.

Yes, I am logged in as root on the virtual server to mount.


All times are GMT -5. The time now is 09:35 PM.