Trouble with nfs

Re: Trouble with nfs

Postby Jocko » Mon Nov 28, 2011 10:48 pm

Well, the test is not good.

After 23 min, I lost the NFS remote share. :x

Tonight, I'm going to do a test by stopping the maximum service...

---Edit---

If I do a "reread export file" (whitout stopping NFS server and restarting), The backup begins again !)

Second loss of the NFS remote share. and do a simple "reread export file"seems not be sufficient I have to also click on the button "start NFS server"
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Trouble with nfs

Postby fvdw » Tue Nov 29, 2011 7:42 pm

mmm..not so nice. Seems it loose connection for whatever reason

The only thing that I didn't recompile was the portmap binary, I just an old one form previous version, I will compile that as well this evening and see if this is the cause of the problem
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Trouble with nfs

Postby fvdw » Tue Nov 29, 2011 8:12 pm

I managed to compile portmap, and nfs server is now running for 25 minutes....(spd8020 server, nwsp2 client)
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Trouble with nfs

Postby fvdw » Tue Nov 29, 2011 8:40 pm

running for 1 hour now...
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Trouble with nfs

Postby fvdw » Tue Nov 29, 2011 8:44 pm

@jocko

seems the problem is solved
attached the new portmap binary, it must be installed in /usr/sbin replacing the existing one in that directory

can you test it on your nwsp1/nwsp2
Ps the binary must be installed on both devices (at least that is what i did on my spd8020 and nwsp2)

needles to say to stop nfs server first (on both) before installing and make sure portmap is not running

portmap-29nov11.zip
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Trouble with nfs

Postby Jocko » Tue Nov 29, 2011 10:10 pm

Ok FVDW,

I just beginning the test (size : 3TB, 10300 files)...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Trouble with nfs

Postby fvdw » Tue Nov 29, 2011 10:14 pm

Jocko wrote:Ok FVDW,

I just beginning the test (size : 3TB, 10300 files)...



3TB :shock: :shock: :D

think the problem is solved I can also mount nfs share easily in windows 7. In the past it was always sometimes yes sometimes no.
Should have thought about it earlier. Only use binaries that are compiled by ourselves :roll:
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Trouble with nfs

Postby Jocko » Wed Nov 30, 2011 8:18 am

Oops, of course, is 3GB which are used for making backup

Sorry, that has not solved the problem: same behavior (checked twice) :? :?
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Trouble with nfs

Postby fvdw » Wed Nov 30, 2011 5:00 pm

very strange I have run backups for over two hours and all went fine without interruption. Also starting a new one after finishing one was no problem.
I used the spd8020 as server and the nwsp2 as client. On both I replaced the portmap binary in /usr/sbin
Replacing the old one.
I also tries with windows7 nfs client to write and read files from both the nwsp2 and spd8020 and also that worked now ok. I see a significant improvement and in fact have no problems any more.
Why would it be different on the nwsp1 ?

ps I run the 2.6.39.4 kernel on the nwsp2

I will start it once more this evening
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Trouble with nfs

Postby fvdw » Wed Nov 30, 2011 6:58 pm

I started it up again about 1.5 hour afgain and started two times a backup of 12 GB each, so total 24 GB

It works as it should :)

In the screenshoot you can see the spd8020 (ip:192.168.1.190) acting as server , the NFS server has had CPU time of 48 minutes (of the the 1.5 hour it was running , which matches quite well with the 60% CPU load.

The nwsp2 is running on ip:192.168.1.197 and you can see rsync cpu time of the the last backup

So as said no problems anymore on my systems, wonder why the nwsp1 has a problem :?:

nfs-test.JPG
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 9 guests