Cross post alert! => posted on gentoo and rsnapshot
Gentoo linux kernel-2.6.14
rsnapshot-1.2.1-r1
rsync-2.6.6-r1
Failure of cp -al doesn't leave enough log info to id what is wrong.
Some kind of failure happened from one day to the next:
Dec 15
/bin/rm -rf /bk/rsnap/hourly.5/
mv /bk/rsnap/hourly.4/ /bk/rsnap/hourly.5/
mv /bk/rsnap/hourly.3/ /bk/rsnap/hourly.4/
mv /bk/rsnap/hourly.2/ /bk/rsnap/hourly.3/
mv /bk/rsnap/hourly.1/ /bk/rsnap/hourly.2/
/bin/cp -al /bk/rsnap/hourly.0/ /bk/rsnap/hourly.1/
/usr/bin/rsync -a --delete --numeric-ids --links --delete-excluded --stats \
--exclude-from=/mnt/pack/rc/rsnap_Reader_exclude /home/ \
/bk/rsnap/hourly.0/reader_home/
[...]
No problems above..
===============================================
Now Dec 16
/bin/rm -rf /bk/rsnap/hourly.5/
mv /bk/rsnap/hourly.4/ /bk/rsnap/hourly.5/
mv /bk/rsnap/hourly.3/ /bk/rsnap/hourly.4/
mv /bk/rsnap/hourly.2/ /bk/rsnap/hourly.3/
mv /bk/rsnap/hourly.1/ /bk/rsnap/hourly.2/
/bin/cp -al /bk/rsnap/hourly.0/ /bk/rsnap/hourly.1/
/bin/cp: target `/bk/rsnap/hourly.1/' is not a directory: No such file or
directory
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot -c /etc/rsnap_Reader.conf hourly
----------------------------------------------------------------------------
ERROR: /bin/cp failed. Perhaps this is not GNU cp?
ERROR: Error! cp_al("/bk/rsnap/hourly.0/", "/bk/rsnap/hourly.1/")
====================================
Well of coures hourly.1 is not present, it was just moved to
hourly.2..
It is gnu cp and running cp -al hourly.0 hourly.1 there does work.
hourly.0 is currently 1.9G, is that big enough to cause a timeout?
I just can't spot a problem in the /bk directory...
I have been doing lots of installing since it is a new install and
being brought up to speed. I can't imagine what would have changed in
gnu cp to cause this. More likely rsnaphot I guess but I see no
traffic here like that.
--
[email protected] mailing list