rsync overflow in read_varint() how i fix this?


Recommended Posts

i have a script to copy music from my array to 2 mobile drives..  but when i run it..  i get an read_varint() error.. how i fix that?  i have about 200k+ of files  around 4TB  of music and music videos.

 


Copying Virtual DJ Folder To Drive 1
Overflow in read_varint()
rsync error: error in rsync protocol data stream (code 12) at io.c(1747) [sender=3.2.3]
rsync error: received SIGUSR1 (code 19) at main.c(1592) [Receiver=3.2.3]

Copying Music To Drive 2

Copying Virtual DJ Folder To Drive 2
Overflow in read_varint()
rsync error: error in rsync protocol data stream (code 12) at io.c(1747) [sender=3.2.3]
rsync error: received SIGUSR1 (code 19) at main.c(1592) [Receiver=3.2.3]
Script Finished Aug 13, 2021 23:05.45

 

my code is 

#!/bin/bash




# Copying Music To Drive 1
#---------------------------------------
echo ""
echo "Copying Music To Drive 1"
rsync --protect-args -avu --stats --numeric-ids --progress -e '/mnt/user/Music/Music' '/mnt/disks/Music Drive 1' >> /boot/logs/cronlogs/Music_Drive_1.log


# Copying Virtual DJ Folder To Drive 1
#---------------------------------------
echo ""
echo "Copying Virtual DJ Folder To Drive 1"
rsync --protect-args -avu --stats --numeric-ids --progress -e '/mnt/user/Music/VirtualDJ' '/mnt/disks/Music Drive 1' >> /boot/logs/cronlogs/Music_Drive_1VirtualFolder.log



# Copying Music To Drive 2
#---------------------------------------
echo ""
echo "Copying Music To Drive 2"
rsync --protect-args -avu --stats --numeric-ids --progress -e '/mnt/user/Music/Music' '/mnt/disks/Music Drive 2' >> /boot/logs/cronlogs/Music_Drive_2.log


# Copying Virtual DJ Folder To Drive 2
#---------------------------------------
echo ""
echo "Copying Virtual DJ Folder To Drive 2"
rsync --protect-args -avu --stats --numeric-ids --progress -e '/mnt/user/Music/VirtualDJ' '/mnt/disks/Music Drive 2' >> /boot/logs/cronlogs/Music_Drive_2VirtualFolder.log

 

 

is there a setting i have set wrong..  is it too big for rsync to work really.. it was working before  but now i get that error 

Edited by comet424
Link to comment

i took out the >> log file

figured maybe it stop but it didnt..  when i viewed the log file  it gave this at the end

so for now i using Krusader to copy the files.. but rather use rsync so  i dont get errors of out of disk space that krusader gives


Number of files: 9,258 (reg: 2,529, dir: 6,729)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 22,748,666,656 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 326,441
Total bytes received: 1,096,969

sent 326,441 bytes received 1,096,969 bytes 569,364.00 bytes/sec
total size is 22,748,666,656 speedup is 15,981.81

Copying Virtual DJ Folder To Drive 2
Overflow in read_varint()
rsync error: error in rsync protocol data stream (code 12) at io.c(1747) [sender=3.2.3]
rsync error: received SIGUSR1 (code 19) at main.c(1592) [Receiver=3.2.3]
Script Finished Aug 13, 2021 23:42.14

 

Edited by comet424
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.