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.
A bit of background. This PI is a replacement for one which failed, new
Pi, new SD card, and a new disk (the old one wouldn't mount on the PI,
but would on my Ubuntu PC). The script is the same one that I was using
with the old config, and that worked happily for several years.
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)
|