Warning: Division by zero in /proto/SxM_webui/admin/inc/wixVolume.class on line 408 Resyncing

Greetings.

I am sorry for bad English.

8Tb (Raid5) the storehouse is filled on 95 %. Year worked normally almost.
After refusal of one of disks and replacement by the similar I receive a cyclic problem after device start (look Log and picture, at low).

The disk has changed once again, on native, after tests and formatting (errors on it has not found, long tested program Paragon Hard Disk Manager 2010). But the problem has not disappeared.

Now I correspond on e-mail with technical support, but the decision while is not present, have advised will address here.

There are ideas how to stop this process “Resyncing”, not dumping installation on factory default and not copying all data on other storehouse?

In System Status I see:


Warning: Division by zero in /proto/SxM_webui/admin/inc/wixVolume.class on line 408 Resyncing

Picture: http://s48.radikal.ru/i120/1103/5e/cca5a27102f9.jpg

Config:

NAS Firmware: Version 2.2.91 with MioNet 2.4.0.61 (mionet not use)

System Log:

… Further it is similar

03/21 23:43:59 GuFile03 daemon.warn wixEvent[873]: System Reboot - System will reboot.
03/21 11:15:53 GuFile03 daemon.warn wixEvent[873]: Volume Status - Volume ‘DataVolume’ is resyncing, 210% had completed.
03/21 05:28:00 GuFile03 daemon.warn wixEvent[873]: Volume Status - Volume ‘DataVolume’ is resyncing, 0% had completed.
03/21 05:27:19 GuFile03 daemon.info wixEvent[873]: System Startup - System startup.
03/21 05:27:19 GuFile03 daemon.info wixEvent[873]: Network IP Address - NIC 1 use static IP address 192.168.0.7
03/21 05:27:19 GuFile03 daemon.info wixEvent[873]: Network Link - NIC 1 link is up 1000 Mbps full duplex.
03/21 05:27:16 GuFile03 daemon.warn wixEvent[873]: Network Link - NIC 1 link is down.
03/21 05:27:15 GuFile03 daemon.info wixEvent[873]: HDD Status - HDD 1 is found.
03/21 05:27:12 GuFile03 daemon.info wixEvent[873]: HDD Status - HDD 2 is found.
03/21 05:27:07 GuFile03 daemon.info wixEvent[873]: HDD Status - HDD 3 is found.
03/21 05:27:02 GuFile03 daemon.info wixEvent[873]: HDD Status - HDD 4 is found.
03/21 05:26:57 GuFile03 syslog.info syslogd started: BusyBox v1.1.1
03/21 05:19:45 GuFile03 syslog.info System log daemon exiting.
03/21 05:19:43 GuFile03 daemon.warn wixEvent[885]: System Shutdown - System will be shutdown.
03/20 03:08:06 GuFile03 daemon.warn wixEvent[885]: Volume Status - Volume ‘DataVolume’ is resyncing, 210% had completed.
03/19 21:20:14 GuFile03 daemon.warn wixEvent[885]: Volume Status - Volume ‘DataVolume’ is resyncing, 0% had completed.
03/19 21:19:33 GuFile03 daemon.info wixEvent[885]: System Startup - System startup.
03/19 21:19:33 GuFile03 daemon.warn wixEvent[885]: System Abnormal Shutdown - System had abnormal shutdown last time.
03/19 21:19:33 GuFile03 daemon.info wixEvent[885]: Network IP Address - NIC 1 use static IP address 192.168.0.7
03/19 21:19:33 GuFile03 daemon.info wixEvent[885]: Network Link - NIC 1 link is up 1000 Mbps full duplex.
03/19 21:19:29 GuFile03 daemon.warn wixEvent[885]: Network Link - NIC 1 link is down.
03/19 21:19:28 GuFile03 daemon.info wixEvent[885]: HDD Status - HDD 1 is found.
03/19 21:19:26 GuFile03 daemon.info wixEvent[885]: HDD Status - HDD 2 is found.
03/19 21:19:15 GuFile03 daemon.info wixEvent[885]: HDD Status - HDD 3 is found.
03/19 21:19:10 GuFile03 daemon.info wixEvent[885]: HDD Status - HDD 4 is found.
03/19 21:19:05 GuFile03 syslog.info syslogd started: BusyBox v1.1.1

… Further it is similar

“Division by zero”!?!?!?

Dude, I don’t know what to tell you. Either replace the whole thing or get in touch with WD again… In Mathematics a division by zero is an impossible event  because of the complexity of assigning a value to a / 0 and in programming it means a bad error that usually crashes the program executed…

I know about exceptions “divisions into a zero” at wrong programming.
Percentage calculation (if saw a picture in the last letter there it is visible that an error in 408 line) can cause such errors, for example,

Example (pascal) of error code:

406:…
407: Function Percent (Current, All: Integer):Integer;
408: Begin Result: = Round (100*Current/All); End;
409:…

At All=0 there will be an exception “division into a zero”

It is necessary:

406:…
407: Function Percent (Current, All: Int64):Integer;//Int64 instead of Integer
408: Begin If All=0 then Result: = 0 Else Result: = Round (100*Current/All); End;//Variable check to avoid division into a zero
409:…

More shortly, WD support have advised to address or dump on a guarantee all in factory options.