In message , Richard Kettlewell
writes
>Adrian writes:
>
>> I have a Pi3B which has a SSD mounted on it. When I try to rsync
>> parts of the SD card to another PI (with a disc mounted on it), it
>> will work for a short period of time (4 days - one rsync/day), then
>> fails. When it fails, it syncs some files, then hangs. The session
>> eventually stops when the SSH link times out. If umount then mount
>> the SSD, things are back to normal. Access to the SSD seems to be OK.
>>
>> What I'm running is :
>>
>> rsync -av --delete
>>
>>--exclude={/run,/tmp,/proc,/dev,/sys,/var/swap,/var/backups,/var/cache,
>>/media}
>> / : 2>&1 > /tmp/rsync.log
>>
>> Unmounting and remounting the SSD before the rsync operation seems to
>> be a bodge to get around this problem, but I haven't been able to find
>> any suggestions online as to what the problem might be.
>
>Have a look at rsync’s stderr (i.e. whatever the original stdout of that
>command was) and at the kernel log.
>
That is the odd bit. When run as a cron job, the log file
(/tmp/rsync.log) shows the first few files being sent, and that is all.
If I run the command from the command line, I don't get any errors from
rsync, all I get is a message about the SSH link timing out (sorry, I
don't have a copy of the message).
/var/log/syslog shows the cron job starting, but there is nothing there
to suggest that it failed.
Thanks
Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|