Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an NFS share on an OpenBsd server. When I assess the share from my Ubuntu box I don't seem to have all permission eg write. Also copying a file from the NFS share to the Ubuntu machine can take > 1 hour for a 44mb file. Any suggestions?

I exported the share through /etc/exports:

/home/some_user/downloads -alldirs -maproot=some_user -network=192.168.5.0 -mask=255.255.255.0

And mounted the share the following.

sudo mount 192.168.5.60:/home/some_user/downloads ~/test
share|improve this question
    
How did you export your share? How did you mount it? –  gnud Feb 16 '11 at 10:36
    
Oh, OpenBSD exports r/w by default :P Sorry =) Anyway, that means you can't write because of some permission problem. –  gnud Feb 16 '11 at 12:22
    
I am more concerned with the slow speeds. –  Thomas Feb 16 '11 at 13:04
    
What is the speed of network traffic over other protocols (e.g. scp, http)? –  pjc50 Feb 16 '11 at 15:58
    
As fast as one would imagine over a 10/100 network they both perform good. –  Thomas Feb 16 '11 at 23:28

2 Answers 2

To increase the speed use UDP:

sudo mount -o udp 192.168.5.60:/home/some_user/downloads ~/test

Try using mapall=some_user to see if that solves your permission problem.

share|improve this answer

Increase rsize and wsize on the Ubuntu box (I have put this in /etc/fstab):

server:/dir  /dir  nfs  rw,soft,intr,rsize=8192,wsize=8192  0 0
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.