OpenVZ Forum


Home » General » Support » Problem with NFS under Debian-vps
Problem with NFS under Debian-vps [message #15788] Mon, 13 August 2007 10:46 Go to next message
Anonymous Coward
Hi friends.

I have a new problem Razz.

Now I try to make a nfs for my debian svr.

What did i install?
nfs-common
portmap
nfs-user-server


Whatat did i do?
edit /etc/exports
/nfs_pub 172.16.3.51/255.255.255.0(rw)

then i restarted the service. /etc/init.d/nfs-user-server

the result of rpcinfo -p was this.
program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100005    1   udp    735  mountd
    100005    2   udp    735  mountd
    100005    1   tcp    738  mountd
    100005    2   tcp    738  mountd
    100024    1   udp    762  status
    100024    1   tcp    765  status


Then when i try to mount on the client i get this error.
vps-cliente:/mnt# mount -t nfs 172.16.3.57:/nfs_pub/ /mnt/nfs
mount: 172.16.3.57:/nfs_pub/ failed, reason given by server: Permission denied


¿any solution?
Re: Problem with NFS under Debian-vps [message #15804 is a reply to message #15788] Tue, 14 August 2007 05:21 Go to previous messageGo to next message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
could you try (as a temporary solution) "all allow" in /etc/exports:

# /etc/exports: NFS file systems being exported. See exports(5).
/nfs_pub *(rw)

I think that the problem is around this. By the way, what is your client IP?
Re: Problem with NFS under Debian-vps [message #15807 is a reply to message #15788] Tue, 14 August 2007 09:33 Go to previous messageGo to next message
Anonymous Coward
thx for the reply, but this tip didnt fix my problem.

My temporaly solution is:
rpc.nfsd -r
rpc.mountd -r
portmap

If this don't work

But i'll need this NFS system to make a Remote home for nx users.
And when y mount this as /home. It's unable to loggin in the nxserver :S

Re: Problem with NFS under Debian-vps [message #15863 is a reply to message #15807] Wed, 15 August 2007 06:49 Go to previous messageGo to next message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
I do not understand what you are doing. Whether NFS works after that or not?

Have you checked that IP traffic (UDP or TCP according to you settings) comes to your NFS server?
Re: Problem with NFS under Debian-vps [message #15931 is a reply to message #15807] Thu, 16 August 2007 07:33 Go to previous message
Anonymous Coward
generico wrote on Tue, 14 August 2007 05:33

thx for the reply, but this tip didnt fix my problem.

My temporaly solution is:
rpc.nfsd -r
rpc.mountd -r
portmap




sorry Very Happy
This is my temporaly solution, running this commands, i can mount the NFS directory.

But now i have a "new" problem. When I try to mount "/home" in NFS. I can't loggin in my NXserver.

Server1 -> openLDAP + NFS (openvz)
Server2 -> NXSERVER (xen "i cant run an nxserver on openvz yet") here i mount /home in NFS )


ClientX -> connect to NXserver with users in ldap and /home in NFS.
Previous Topic: CentOS 5 x86_64 template metadata or precreated template?
Next Topic: change inode_soft_limit
Goto Forum:
  


Current Time: Sun Jul 14 22:44:16 GMT 2024

Total time taken to generate the page: 0.02313 seconds