** I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386* guest system.
The host system is CentOS 5.4 x86_64.
*I set up the NFS server correctly and
rpcinfo is also ok* inside the guest system show.
The problem is, I can't connect to, or see the open
port from the outside. I use the Host-Only* network setup with VirtualBox
3.1.0,
the ip address in the guest system is 192.168.56.101 . and the host system ip address is 192.168.7.67
When I mount the directory from the guest system via NFS, the result is the following :
"mount : 192.168.56.101:/xx* failed , reason given by server:Permission denied"
*I hope
one of you can give me a hint in which direction I should continue my
efforts.
Thanks in advance,,,
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 04:16 AM
onay
NFS mount problem
On Mon, Apr 26, 2010 at 10:15 AM, sync <jiannma@gmail.com> wrote:
> Hi,guys:
>
> ** I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386* guest
> system. The host system is CentOS 5.4 x86_64.
> *I set up the NFS server correctly and rpcinfo is also ok* inside the guest
> system show.
>
> The problem is, I can't connect to, or see the open port from the outside. I
> use the Host-Only* network setup with VirtualBox 3.1.0,
> the ip address in the guest system is 192.168.56.101 . and the host system
> ip address is 192.168.7.67
>
> When I mount the directory from the guest system via NFS, the result is the
> following :
> "mount : 192.168.56.101:/xx* failed , reason given by server:Permission
> denied"
>
> *I hope one of you can give me a hint in which direction I should continue
> my efforts.
>
> Thanks in advance,,,
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
If you already can ping the nfs server, then you should check this:
1. nfsd service
2. open port on iptables
3. /etc/host.allow or /etc/host.deny
You can check share folder from nfs client with command:
showmount -e ip.nfs.server
If the folder appears, then you can start to mount that otherwise you
should check your /etc/exports again.
CMIIW.
--
If knowledge belong to the world,
why don't you give me some?
----------------------------------------------
http://dudulz.wordpress.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 05:25 AM
sync
NFS mount problem
Thanks for your reply~
I think my problem could be is* how to create the iptables that could let the NFS server access into the host system.
The guest system is CentOS 5.3 i386 . The ip address is* 192.168.56.101* with the eth0 interface
And the host system is CentOS 5.4 x86_64, its ip address is 192.168.7.67 and its route information is the following :
root@xxx: route -n
192.168.7.0* xx* xx* xx eth0
192.168.56.0* xx* xx xxx* vboxnet0
I* run* this iptable rule in the guest system which configured the NFS server,
Then :
when I run "showmount -e* 192.168.56.101" and the directory appears,
but run the "mount -t nfs* 192.168.56.101:/xxx** /media"* in the terminal ,
the output is still that message:
"mount : 192.168.56.101:/xx* failed , reason given by server:Permission
denied"
So is it my iptables rule wrong? Or how to write the correct the rule ?
Thanks in advance~.
On Mon, Apr 26, 2010 at 12:16 PM, onay <ronald.santosa@gmail.com> wrote:
On Mon, Apr 26, 2010 at 10:15 AM, sync <jiannma@gmail.com> wrote:
> Hi,guys:
>
> ** I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386* guest
> system. The host system is CentOS 5.4 x86_64.
> *I set up the NFS server correctly and rpcinfo is also ok* inside the guest
> system show.
>
> The problem is, I can't connect to, or see the open port from the outside. I
> use the Host-Only* network setup with VirtualBox 3.1.0,
> the ip address in the guest system is 192.168.56.101 . and the host system
> ip address is 192.168.7.67
>
> When I mount the directory from the guest system via NFS, the result is the
> following :
> "mount : 192.168.56.101:/xx* failed , reason given by server:Permission
> denied"
>
> *I hope one of you can give me a hint in which direction I should continue
> my efforts.
>
> Thanks in advance,,,
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
If you already can ping the nfs server, then you should check this:
1. nfsd service
2. open port on iptables
3. /etc/host.allow or /etc/host.deny
You can check share folder from nfs client with command:
showmount -e ip.nfs.server
If the folder appears, then you can start to mount that otherwise you
should check your /etc/exports again.
CMIIW.
--
If knowledge belong to the world,
why don't you give me some?
----------------------------------------------
*http://dudulz.wordpress.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 10:21 AM
James Pearson
NFS mount problem
sync wrote:
> Hi,guys:
>
> I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386 guest
> system. The host system is CentOS 5.4 x86_64.
> I set up the NFS server correctly and rpcinfo is also ok inside the guest
> system show.
>
> The problem is, I can't connect to, or see the open port from the outside. I
> use the Host-Only network setup with VirtualBox 3.1.0,
> the ip address in the guest system is 192.168.56.101 . and the host system
> ip address is 192.168.7.67
>
> When I mount the directory from the guest system via NFS, the result is the
> following :
> "mount : 192.168.56.101:/xx failed , reason given by server:Permission
> denied"
>
> I hope one of you can give me a hint in which direction I should continue
> my efforts.
What is the contents of /etc/exports on the server?
James Pearson
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 10:37 AM
sync
NFS mount problem
The contents of* /etc/exports on the server is the following :
/home/test** 192.168.7.67(rw)
Is there anything error ?
On Mon, Apr 26, 2010 at 6:21 PM, James Pearson <james-p@moving-picture.com> wrote:
sync wrote:
> Hi,guys:
>
> * *I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386 *guest
> system. The host system is CentOS 5.4 x86_64.
> *I set up the NFS server correctly and rpcinfo is also ok *inside the guest
> system show.
>
> The problem is, I can't connect to, or see the open port from the outside. I
> use the Host-Only *network setup with VirtualBox 3.1.0,
> the ip address in the guest system is 192.168.56.101 . and the host system
> ip address is 192.168.7.67
>
> When I mount the directory from the guest system via NFS, the result is the
> following :
> "mount : 192.168.56.101:/xx *failed , reason given by server:Permission
> denied"
>
> *I hope one of you can give me a hint in which direction I should continue
> my efforts.
What is the contents of /etc/exports on the server?
James Pearson
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 10:48 AM
"Marcelo M. Garcia"
NFS mount problem
sync wrote:
> The contents of /etc/exports on the server is the following :
>
> /home/test 192.168.7.67(rw)
>
> Is there anything error ?
>
Hi
First, do not top-post[1].
In general you can find more information in /var/log/messages.
You "watch" with
# (as root) tail -f /var/log/messages
and from another window, try to mount.
Regards
mg.
[1]
Please do not top post to the mailing list when replying to a post. (See
the Quoting Style link above, and use the Interleaved text method,
deleting non-applicable text as required. If you need to reply to a
message, and you do not need to post in interleaved mode, please bottom
post instead of top posting.
http://www.centos.org/modules/tinycontent/index.php?id=16
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 11:11 AM
James Pearson
NFS mount problem
sync wrote:
> The contents of /etc/exports on the server is the following :
>
> /home/test 192.168.7.67(rw)
>
> Is there anything error ?
I assume you have run something 'export -avr' since changing this file -
or restarted the nfs server processes on the server?
You could try changing that line to:
/home/test *(rw)
then re-run 'export -avr' and try the mount again
James Pearson
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 11:59 AM
kalinix
NFS mount problem
On Mon, 2010-04-26 at 18:37 +0800, sync wrote:
The contents of* /etc/exports on the server is the following :
/home/test** 192.168.7.67(rw)
Is there anything error ?
Not very familiar with virtual box (I prefer vmware or kvm) but shouldn't you export to your vboxnet0 ip, which I presume is either 192.168.56.1 or 192.168.56.2?
Also, your iptables rule on the virtual machine is right now:
As he had feared, his orders had been forgotten and everyone had brought the potato salad.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-26-2010, 04:46 PM
Jason Brown
NFS mount problem
You need to edit the ports in /etc/sysconfig/nfs to make them static before enabling IPTABLES.* Once that is done you need to open not only those ports but also tcp:udp 111 and tcp:udp 2049.
On Mon, Apr 26, 2010 at 7:59 AM, kalinix <calin.kalinix.cosma@gmail.com> wrote:
On Mon, 2010-04-26 at 18:37 +0800, sync wrote:
The contents of* /etc/exports on the server is the following :
/home/test** 192.168.7.67(rw)
Is there anything error ?
Not very familiar with virtual box (I prefer vmware or kvm) but shouldn't you export to your vboxnet0 ip, which I presume is either 192.168.56.1 or 192.168.56.2?
Also, your iptables rule on the virtual machine is right now:
As he had feared, his orders had been forgotten and everyone had brought the potato salad.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-27-2010, 02:32 AM
sync
NFS mount problem
On Mon, Apr 26, 2010 at 7:11 PM, James Pearson <james-p@moving-picture.com> wrote:
sync wrote:
> The contents of */etc/exports on the server is the following :
>
> /home/test * 192.168.7.67(rw)
>
> Is there anything error ?
I assume you have run something 'export -avr' since changing this file -
or restarted the nfs server processes on the server?
You could try changing that line to:
/home/test **(rw)
then re-run 'export -avr' and try the mount again
*Yeah ~
*When I change that line in the /etc/exports on the guest system which installed the NFS server* like that :
/home/test* *(rw)
then I run the "mount -t nfs 192.168.56.101:/home/test /media" on the host system* , it will be ok ~
But when I change these message:
/home/test* 192.167.7.67(rw)
The result is not ok ~
So what is the problem with it ?
James Pearson
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos