OpenVZ Forum


Home » General » Support » *SOLVED* NFS problems
Re: NFS problems [message #5555 is a reply to message #5124] Wed, 23 August 2006 13:15 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello, Commy,
I've done some experiments with user-space nfsd.

Quote:

The first problem is, that I obviously can not export directories within the VE. I use the nfs-user-server (as the kernel-server seems not to work in a VE) and when I am exporting a directory based within the VE, I always get a "permission denied" error, when trying to mount that directory from a client.


The problem is that rpc.mountd, rpc.nfsd check for mounted nfs partion on server using major number of device. For simfs major also (like nfs) equals zero - so while checking this they think that nfs is mounted already and don't grant access.
The workaround here is to run rpc.mountd and rpc.nfsd with -r option:
# rpc.mountd -r
# rpc.nfsd -r

Quote:

... but Backup fails at 2 GB ...

user-nfsd implements NFSv2 and this standart version limits size of files to 2 GB! =)
So just use unfs3 (http://unfs3.sourceforge.net/) user-space server, that implements NFSv3.

Good luck! =)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem intsalling ovzkernel-2.6.8-022stab078.14.i686.rpm
Next Topic: *SOLVED* Gentoo Template Woes
Goto Forum:
  


Current Time: Wed Aug 28 13:22:17 GMT 2024

Total time taken to generate the page: 0.03232 seconds