Sie sind auf Seite 1von 4

I have several data backup tasks setup to backup various shares to a WDMyCloud w

ith rsyncd running.


[list][*]With the exception of 1 task, I think all data backup tasks have comple
ted successfully at least once.
[*]Some tasks seem to almost always complete successfully.
[*]Some tasks seem to fail more often than they succeed; but they do succeed usu
ally on the second attempt.
[*]One task always fails and has yet to complete successfully.[/list]
I need help troubleshooting this further to understand what's might be the root
cause.
[list][*]Is this an issue with rsync on the Synology?
[*]Is this an issue with rsyncd on the WDMyCloud?
[*]Is this purely a networking issue (e.g.: switch is crashing)
[*]Is the sheer amount of data too much for the Synology to process?
[*]Is the sheer amount of data too much for the WDMyCloud to process?
[*]Something else entirely?[/list]
Errors are at the bottom of the post.
Here's what little I [i]think[/i] I know.
These errors suggest the rsync connection has
[code]Jan 09 22:20:39 (21592) [ERROR]: rsync:
er (104)
Jan 09 22:20:39 (21592) [ERROR]: rsync error:
m (code 12) at io.c(849) [receiver=3.0.9]
Jan 09 22:20:39 (21589) [ERROR]: rsync error:
43) at io.c(687) [generator=3.0.9][/code]

been interrupted or terminated:


read error: Connection reset by pe
error in rsync protocol data strea
rsync service is no running (code

I took a look at the rsyncd.log on WDMyCloud and the only errors I'm seeing are:
[code]2016/01/10 03:20:20 [25708] rsync: link_stat "/MyDocuments/@app/SYNOLOGYNA
S_20160109.dss" (in SynologyNAS) failed: No such file or directory (2)
2016/01/10 03:20:27 [25725] rsync: link_stat "/MyDocuments/MyDocuments/Important
/_Syno_BkpMetadata.db" (in SynologyNAS) failed: No such file or directory (2)[/c
ode]
There are no rsync/rsyncd errors in /var/log/messages on WDMyCloud.
When it fails, the rsync daemon is still running on WDMyCloud.
When it fails, restarting rsyncd on WDMyCloud, and starting the task again, does
n't help.
The destination disk on WDMyCloud has penty of space (over 3TB); tha data I'm co
pying is less than 1TB
The WDMyCloud and Synology are on the same switch.
No special setup (no VLANS, no DMZ, no port mirroring, not routing through some
intermediary IDS/IPS system etc.)
Because other data backup tasks are completing successfully, and the rsyncd.log
is getting written to, I do not believe this to be an issue with the rsyncd.conf
on WDMyCloud.
To me, the obvious troubleshooting step would be to run the rsync command on Syn
ology with -vvv leaving everything else the same. However, because of the way S
ynology has things setup, it makes it harder to troubleshoot in my humble opinio
n:
[list][*]Because I setup a schedule, I assumed it was a cron job so I cat'd /etc
/crontab
[*]I found my job based on the schedule

[*]However the cron calls /tmp/synoschedtask --run id=[i]n[/i], where [i]n[/i] i


s the number that corresponds to my data backup task.
[*]I run locate my job via /tmp/synoschedtask --get | more
[*]The actual data backup task is /usr/syno/bin/synobackup --backup [i]n[/i][/li
st]
-------------------------Synology /var/log/messages
[code]Jan 9 22:20:21 SYNOLOGYNAS rsync: share_name_path_get.c:120 Fail to get s
hare by path [/volume1/@tmp]. [0x1400 share_db_get_by_attr_str.c:136]
Jan 9 22:20:39 SYNOLOGYNAS synonetbkp: rsync_wrapper.cpp:704 Failed to execute
rsync command. source=[SynologyNAS@192.168.1.176::SynologyNAS/MyDocuments/@app/@
metadata/MyDocuments/Important/], target=[/volume1/@tmp/21521/MyDocuments/Import
ant], ret=43
Jan 9 22:20:39 SYNOLOGYNAS synonetbkp: netbkp_backup_metadata.cpp:727 Rsync get
MetaDbAppBase() failed.
Jan 9 22:20:40 SYNOLOGYNAS synonetbkp: bkp_backup_metadata.c:22 bkp_backup_meta
data() fail.
Jan 9 22:20:40 SYNOLOGYNAS synonetbkp: netbkp_backup_data.cpp:73 SYNOBkpBackupC
urrentMeta() fail.
Jan 9 22:20:40 SYNOLOGYNAS synonetbkp: backup.cpp:698 SYNOBkpBackupData() faile
d, err = 8
Jan 9 22:20:40 SYNOLOGYNAS synonetbkp: Backup task [Backup My Documents] comple
tes with result [8]. Time spent: [32 sec]. [A M P T] in Byte and Count
Jan 9 22:20:40 SYNOLOGYNAS synonetbkp: size[7925302415, 0, 0, 0] count[13546, 0
, 0, 0] dir[1509, 0, 0, 0] reg[13546, 0, 0, 0][/code]
Synology rsync.error
[code]Jan 09 22:20:13 (21552) [ERROR]: rsync: link_stat "/MyDocuments/@app/SYNOL
OGYNAS_20160109.dss" (in SynologyNAS) failed: No such file or directory (2)
Jan 09 22:20:14 (21552) [ERROR]: rsync error: some files/attrs were not transfer
red (see previous errors) (code 23) at main.c(1783) [Receiver=3.0.9]
Jan 09 22:20:20 (21585) [ERROR]: rsync: link_stat "/MyDocuments/MyDocuments/Impo
rtant/_Syno_BkpMetadata.db" (in SynologyNAS) failed: No such file or directory (
2)
Jan 09 22:20:20 (21585) [ERROR]: rsync error: some files/attrs were not transfer
red (see previous errors) (code 23) at main.c(1783) [Receiver=3.0.9]
Jan 09 22:20:39 (21592) [ERROR]: rsync: read error: Connection reset by peer (10
4)
Jan 09 22:20:39 (21592) [ERROR]: rsync error: error in rsync protocol data strea
m (code 12) at io.c(849) [receiver=3.0.9]
Jan 09 22:20:39 (21589) [ERROR]: rsync error: rsync service is no running (code
43) at io.c(687) [generator=3.0.9][/code]
WDMyCloud rsyncd.log
[code]2016/01/09 22:20:15 [25698] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/09 22:20:15 [25699] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:15 [25699] rsync on SynologyNAS/ from SynologyNAS@synologynas.f
.q.d.n (10.0.1.5)
2016/01/10 03:20:15 [25699] building file list
2016/01/10 03:20:15 [25699] sent 268 bytes received 87 bytes total size 0
2016/01/09 22:20:17 [25700] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/09 22:20:17 [25701] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:18 [25701] rsync on SynologyNAS/ from SynologyNAS@synologynas.f
.q.d.n (10.0.1.5)
2016/01/10 03:20:18 [25701] building file list
2016/01/10 03:20:18 [25701] sent 268 bytes received 87 bytes total size 0

2016/01/09 22:20:18 [25702] connect from synologynas.f.q.d.n (10.0.1.5)


2016/01/10 03:20:18 [25702] rsync on SynologyNAS/MyDocuments/synobkpinfo.db from
SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:18 [25702] building file list
2016/01/10 03:20:18 [25702] sent 118 bytes received 87 bytes total size 3072
2016/01/09 22:20:18 [25703] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:18 [25703] rsync on SynologyNAS/MyDocuments/synobkpinfo.db from
SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:18 [25703] building file list
2016/01/10 03:20:18 [25703] sent 3233 bytes received 106 bytes total size 3072
2016/01/09 22:20:18 [25704] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:19 [25704] rsync to SynologyNAS/MyDocuments/@app/ from Synology
NAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:19 [25704] receiving file list
2016/01/10 03:20:19 [25704] sent 79 bytes received 84 bytes total size 0
2016/01/09 22:20:19 [25706] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:19 [25706] rsync to SynologyNAS/MyDocuments/@app/_Syno_TaskConf
ig from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:19 [25706] receiving file list
2016/01/10 03:20:19 [25706] sent 95 bytes received 554 bytes total size 408
2016/01/09 22:20:20 [25708] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:20 [25708] rsync on SynologyNAS/MyDocuments/@app/SYNOLOGYNAS_20
160109.dss from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:20 [25708] building file list
2016/01/10 03:20:20 [25708] rsync: link_stat "/MyDocuments/@app/SYNOLOGYNAS_2016
0109.dss" (in SynologyNAS) failed: No such file or directory (2)
2016/01/09 22:20:21 [25709] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:21 [25709] rsync to SynologyNAS/MyDocuments/@app/SYNOLOGYNAS_20
160109.dss from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:21 [25709] receiving file list
2016/01/10 03:20:21 [25709] sent 95 bytes received 9704 bytes total size 9558
2016/01/09 22:20:21 [25711] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:21 [25711] rsync on SynologyNAS/MyDocuments/@app/_Syno_ConfbkpI
nfo.db from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:21 [25711] building file list
2016/01/10 03:20:21 [25711] sent 124 bytes received 87 bytes total size 2048
2016/01/09 22:20:21 [25712] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:21 [25712] rsync on SynologyNAS/MyDocuments/@app/_Syno_ConfbkpI
nfo.db from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:21 [25712] building file list
2016/01/10 03:20:21 [25712] sent 2215 bytes received 106 bytes total size 2048
2016/01/09 22:20:22 [25713] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:22 [25713] rsync on SynologyNAS/MyDocuments/@app/SYNOLOGYNAS_20
160109_0.dss from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:22 [25713] building file list
2016/01/10 03:20:22 [25713] sent 128 bytes received 87 bytes total size 9558
2016/01/09 22:20:22 [25714] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:22 [25714] rsync to SynologyNAS/MyDocuments/@app/ from Synology
NAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:22 [25714] receiving file list
2016/01/10 03:20:22 [25714] sent 79 bytes received 143 bytes total size 0
2016/01/09 22:20:22 [25717] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:22 [25717] rsync to SynologyNAS/MyDocuments/@app/_Syno_ConfbkpI
nfo.db from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:22 [25717] receiving file list
2016/01/10 03:20:22 [25717] sent 95 bytes received 2194 bytes total size 2048
2016/01/09 22:20:23 [25719] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:23 [25719] rsync to SynologyNAS/MyDocuments/ from SynologyNAS@s
ynologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:23 [25719] receiving file list

2016/01/10 03:20:23 [25719] sent 87 bytes received 138 bytes total size 0
2016/01/09 22:20:23 [25721] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:23 [25721] rsync on SynologyNAS/MyDocuments/@app/_Syno_NetShare
Archive.db from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:23 [25721] building file list
2016/01/10 03:20:23 [25721] sent 128 bytes received 87 bytes total size 2048
2016/01/09 22:20:23 [25722] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:23 [25722] rsync on SynologyNAS/MyDocuments/@app/_Syno_NetShare
Archive.db from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:23 [25722] building file list
2016/01/10 03:20:23 [25722] sent 2219 bytes received 106 bytes total size 2048
2016/01/09 22:20:24 [25723] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:24 [25723] rsync to SynologyNAS/MyDocuments/MyDocuments/ from S
ynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:24 [25723] receiving file list
2016/01/10 03:20:24 [25723] Important/
2016/01/10 03:20:27 [25723] sent 1589 bytes received 277673 bytes total size 7
925302415
2016/01/09 22:20:27 [25725] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:27 [25725] rsync on SynologyNAS/MyDocuments/MyDocuments/Importa
nt/_Syno_BkpMetadata.db from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:27 [25725] building file list
2016/01/10 03:20:27 [25725] rsync: link_stat "/MyDocuments/MyDocuments/Important
/_Syno_BkpMetadata.db" (in SynologyNAS) failed: No such file or directory (2)
2016/01/09 22:20:27 [25726] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:27 [25726] rsync on SynologyNAS/MyDocuments/@app/@metadata/MyDo
cuments/Important/_Syno_BkpMetadata.db from SynologyNAS@synologynas.f.q.d.n (10.
0.1.5)
2016/01/10 03:20:27 [25726] building file list
2016/01/10 03:20:27 [25726] sent 124 bytes received 87 bytes total size 3072
2016/01/09 22:20:28 [25727] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:28 [25727] rsync on SynologyNAS/MyDocuments/@app/@metadata/MyDo
cuments/Important/ from SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:28 [25727] building file list
2016/01/09 22:20:47 [25747] connect from synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:47 [25747] rsync to SynologyNAS/MyDocuments/synobkpinfo.db from
SynologyNAS@synologynas.f.q.d.n (10.0.1.5)
2016/01/10 03:20:47 [25747] receiving file list
2016/01/10 03:20:47 [25747] sent 95 bytes received 3209 bytes total size 3072[
/code]

Das könnte Ihnen auch gefallen