From Newsgroup: alt.os.linux.debian
If rsync on one ay stalls because of some problem ( you switched off
your laptop while it was tranfering, the space on the receiver fell to
0, ....
Then subsequent days will also stall. Ie, if you find many instances of
rsync sitting there waiting, you need to figure out what the roadblock
is and fix it and kill the whole pileup of versionf of rsync.
This has been true for many years (Ie, I have run into this problems
many years ago). Figure out what is stopping rsync from completion. If
you are using rsnapshop you can look at /var/log/rsnapshot on the
the computer which is running rsnapshot. Do
df
on both machines to see what the state is of the partition memories.
You need to enable logging in rsnapshot
(eg loglevel, logfile, in /etc/rsnapshot.conf)
For example on the backup machine called cable in root crontab
The rsnapshot.conf file tells rsnapshot to save about 5 different
machne's stuff.
#Backups
00 3 * * * if [ -d /backup-22/daily.0 ]; then echo >>/var/log/rsnapshot ; echo daily `date` >>/var/log/rsnapshot.out ; rsnapshot daily 2>>/var/log/rsnapshot.out; if [ "x$?" = "x1" ] ; then mail -s "rsnapshot failed on cable"
unruh@fasicle.ubc.ca </dev/null ; else ( rm /backup-22/daily.0/20* ; touch /backup-22/daily.0/`date +\%F_\%R\%Z`); fi; else mail -s " backup-22 directory not mounted on cable-- cryptmount /backup-22"
unruh@fasicle.ubc.ca </dev/null ; fi
40 2 1,9,17,25 * * if [ -d /backup-22/daily.0 ] ; then rsnapshot weekly 2>>/var/log/rsnapshot.out; fi
20 2 1 * * if [ -d /backup-22/daily.0 ] ; then rsnapshot monthly 2>>/var/log/rsnapshot.out; else mail -s "Monthly rsnapshot on cable failed--/backup-22 not mounted "
unruh@fasicle.ubc.ca; fi
00 2 1 1 * if [ -d /backup-22/daily.0 ]; then rsnapshot yearly 2>>/var/log/rsnapshot.out; else mail -s "Yearly rsnapshot on cable failed-/backup-22 not mounted"
unruh@fasicle.ubc.ca; fi
#Remove lines with lchown from rshapshot log-- too many of them
00 4 * * * grep -v lchown /var/log/rsnapshot>/var/log/rsnapshot1; mv -f /var/log/rsnapshot{1,}
Note that the last line is to remove the infinte number of lines sayinng
lchown was used and dumped into the log file. Since I backup thousands
of files, that would produce thousands of lchown entries.
Yu can also tell rsync to save error messges.
On 2026-06-03, Martin Sch||||n <
martin.schoon@gmail.com> wrote:
Den 2026-06-02 skrev Lawrence DrCOOliveiro <ldo@nz.invalid>:
On 2 Jun 2026 07:58:41 GMT, Martin Sch||||n wrote:
Den 2026-06-01 skrev Lawrence DrCOOliveiro <ldo@nz.invalid>:
On 1 Jun 2026 14:49:42 GMT, Martin Sch||||n wrote:
Now rsync hangs after a short while. According to the messages it
is skipping irregular files (conda something or the other) when it
stalls.
Which files?
.conda/pkgs if memory serves.
Does it work OK if you skip those?
Since the backup worked when using another kernel I have focused on
other things for now. I will return to this one when things calm down.
/Martin
--- Synchronet 3.22a-Linux NewsLink 1.2