Disconnection during long transfers?

Disconnection during long transfers?

Postby Cubytus » Tue Feb 02, 2016 2:00 am

Hi there,

just noticed an annoying behavior. During a multi-gigabyte transfer, it happened more than once that the NAS ejects itself, but stays available when attempting connection.

What is strange is, the transfer isn't interrupted, but keeps going and succeeds.

I first thought about the overheat protection kicking in, but the drive stays on, and the temperature reading stays below the treshold.

How to find what's causing these disconnections?
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Disconnection during long transfers?

Postby Jocko » Tue Feb 02, 2016 5:36 pm

Hi Cubytus,

I assume that you connect to nas by an afp access.

So you can read its log file (/var/log/afpd.log) to search if there are some reported errors.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disconnection during long transfers?

Postby Cubytus » Sat Feb 06, 2016 9:45 pm

Unfortunately, there's no such log file.

Code: Select all
/var/log # ls
cups  httpd  lastlog  messages  samba  wtmp
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Disconnection during long transfers?

Postby Jocko » Sun Feb 07, 2016 9:19 am

Indeed you do not have a log file as log level is too low (warn).

So edit the file /usr/etc/afp.conf and change
Code: Select all
log level = default:warm
by setting a higher level instead of warn.
value can be: note, info, debug, debug6, debug7, debug8, debug9, maxdebug.

I believe with info or debug level you should have information.

Then restart afp daemon
Code: Select all
killall afpd
/usr/sbin/afpd
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Disconnection during long transfers?

Postby Cubytus » Sat Mar 12, 2016 8:05 am

Ok, I am now attempting to move a large, 15GB file to fvdw, then I will try from fvdw…

So far it seemed to be working, at a decent 45MiB/s. Any way to get even more speed from this network HDD?

Since the bug didn't reproduce, I don't know what would have gone wrong.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Disconnection during long transfers?

Postby Jocko » Sat Mar 12, 2016 9:24 am

Hi Cubytus,

I forgot to say two things:
- At each time, you start afpd server from the web-interface (or change settings on share or user account) or reboot the nas, conf file will be overwritten. So you need to edit it again to set an higher log level.
-read/write speed via afp server can be strongly degraded with this log level (for example with maxdedug level)
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 21 guests