RSYNC doesn't work

Discussion on remote replication.
Post Reply
adesnoyer
New here
Posts: 5
Joined: Mon Apr 27, 2015 6:47 pm

RSYNC doesn't work

Post by adesnoyer »

Hello everybody,


I defined a replication task between 2 TS870 using the rsync feature, but when I press the button "test", it stays on the step 9, and I get a timeout error
after a while.

I defined the same replication, but between the same NAS and a Windows server 2008 box wich is running a "rsync like" (deltacopy), and it workks perfectly !

Any Idea why 2 Qnapp devices refuses to communicate ? :?: :?:
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: RSYNC doesn't work

Post by Don »

No idea. Maybe if you supplied some information like backup settings on both systems. Firmware versions? Network configurations? Using SSH? You have provided no useful information except that it doesn't work.
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
adesnoyer
New here
Posts: 5
Joined: Mon Apr 27, 2015 6:47 pm

Re: RSYNC doesn't work

Post by adesnoyer »

Some more informaton :

My firmware is 4.13 on both NAS
I don't use SSH
adesnoyer
New here
Posts: 5
Joined: Mon Apr 27, 2015 6:47 pm

Re: RSYNC doesn't work

Post by adesnoyer »

An other information : The Windows server running "deltacopy" wich is working perfectly is attached on the same switch than the NAS.

also the connexion works, and the Rsync Daemon is listening :

[~] # ping 192.168.130.19 ( my remote NAS)
PING 192.168.130.19 (192.168.130.19): 56 data bytes
64 bytes from 192.168.130.19: icmp_seq=0 ttl=62 time=1.4 ms
64 bytes from 192.168.130.19: icmp_seq=1 ttl=62 time=1.5 ms
64 bytes from 192.168.130.19: icmp_seq=2 ttl=62 time=1.4 ms
64 bytes from 192.168.130.19: icmp_seq=3 ttl=62 time=1.4 ms
64 bytes from 192.168.130.19: icmp_seq=4 ttl=62 time=1.5 ms
^C
--- 192.168.130.19 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.4/1.4/1.5 ms
[~] # telnet 192.168.130.19 873
@RSYNCD: 30.0 --> the rsync daemon is reachable
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: RSYNC doesn't work

Post by pwilson »

Don wrote:No idea. Maybe if you supplied some information like backup settings on both systems. Firmware versions? Network configurations? Using SSH? You have provided no useful information except that it doesn't work.
adesnoyer wrote:Some more informaton :

My firmware is 4.13 on both NAS
I don't use SSH
Pretty hard to troubleshoot any Linux system without SSH. It might help you to troubleshoot this issue if you learned how to use it. Check out Suso Support document: SSH Tutorial for Windows.

Have you downloaded PuTTY yet?

Lets start with a minor SSH project for you. Please access your NAS via SSH, login as "admin" and run:

Code: Select all

echo "NAS Model:      $(getsysinfo model)"
echo "Firmware:       $(getcfg system version) Build $(getcfg system 'Build Number')"
echo "System Name:    $(/bin/hostname)"
echo "Workgroup:      $(getcfg system workgroup)"
echo "NAS IP address: $(ifconfig $(getcfg network 'Default GW Device') | grep addr: | awk '{ print $2 }' | cut -d: -f2)"
echo " "
echo "Default Gateway Device: $(getcfg network 'Default GW Device')"
echo " "
ifconfig $(getcfg network 'Default GW Device') | grep -v HWaddr
echo " "
#done
Please cut&paste the output of these commands back to this message thread.

Do the System Log or RSync Log provide any useful troubleshooting output to work with?

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
adesnoyer
New here
Posts: 5
Joined: Mon Apr 27, 2015 6:47 pm

Re: RSYNC doesn't work

Post by adesnoyer »

Thank you for your help

Don't worry, I've no problem with ssh, I work on Unix and Linux since 20 years 8)

This is the stdout :

NAS Model: TS-870U-RP
Firmware: 4.1.3 Build 20150408
System Name: JP-NAS01
Workgroup: WORKGROUP
NAS IP address: 192.168.134.200

Default Gateway Device: bond0

inet addr:192.168.134.200 Bcast:192.168.134.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:748920405 errors:1 dropped:726743 overruns:0 frame:1
TX packets:391795500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1029928931111 (959.1 GiB) TX bytes:104951306923 (97.7 GiB)


The only message I get from the rsync log is "[sender] io timeout after 60 seconds -- exiting"

And it's not a network problem because meanwhile I can ping the remote NAS without any paket loss....
P3R
Guru
Posts: 13192
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: RSYNC doesn't work

Post by P3R »

adesnoyer wrote:RX packets:748920405 errors:1 dropped:726743 overruns:0 frame:1
The drops suggests you have some kind of connection issue.

If you tell the forum more about what network configuration is in use on both systems and what is in the path between them, maybe someone can assist?
And it's not a network problem because meanwhile I can ping the remote NAS without any paket loss....
Different traffic patterns could very well lead to different results. Ping is useful to verify a connection is possible, it doesn't say much about the performance and quality (unless extremely bad) of the path.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
adesnoyer
New here
Posts: 5
Joined: Mon Apr 27, 2015 6:47 pm

Re: RSYNC doesn't work

Post by adesnoyer »

I did some other tests

1) ftp using command line in a ssh connexion between NAS1 to an filezilla ftp server running on a windows server
connected on the same switch than the NAS2, so the network path is the same.

Guess what It worksperfectly ! :

[/share/test] # ftp 192.168.130.61
Connected to 192.168.130.61.
220-FileZilla Server version 0.9.41 beta
220-written by Tim Kosse (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/
Name (192.168.130.61:admin): backup
331 Password required for backup
Password:
230 Logged on
Remote system type is UNIX.
ftp> put xxx
local: xxx remote: xxx
200 Port command successful
150 Opening data channel for file transfer.
226 Transfer OK
516553879 bytes sent in 112.30 secs (4492.1 kB/s)
ftp>

apparently only the connexions between my two QNAPP NAS doesn't work. it drives me mad :!: :!: :!:
P3R
Guru
Posts: 13192
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: RSYNC doesn't work

Post by P3R »

This time not only different traffic, but also to a different node=different path over the still secret infrastructure... :wink:

You will remain all alone in your troubleshooting unless you provide the community with some useful information about the exact configuration you have there. I can't promise we will provide a solution but so far you're not giving anybody a chance to try and help you.

If you feel uncomfortable with revealing the information here then maybe you could contact Qnap support instead. But beware, I think they will ask the same questions.

Good luck!
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
Post Reply

Return to “Remote Replication/ Disaster Recovery”