Hi all:
I am trying to back up one of my system and it has been hanging and
exiting on sig ALRM for the past 6 days. The last working backup was
on 2011-03-22 @ 22:00:33.
If I run:
sudo -u backup /tools/BackupPC/bin/BackupPC_dump -f -vv host
I get a bunch of output (the share being backed up /etc on a centos
5.5. box) which ends with:
attribSet: dir=f%2fetc exists
attribSet(dir=f%2fetc, file=zshrc, size=640, placeholder=1)
Starting file 0 (.), blkCnt=134217728, blkSize=131072, remainder=0
.: size doesn't match (12288 vs 17592185913344)
and that's the end of that. I have had similar hanging issues before
but usully scheduling a full backup or removing a prior backup or two
in the chain will let things work again. However I would like to
actually get this fixed this time around as it seems to be occurring
more often recently (on different backuppc servers and against
different hosts).
If I dump the root attrib file (where /etc starts) for either last
successful or the current (partial) failing backup I see:
'/etc' => {
'uid' => 0,
'mtime' => 1300766985,
'mode' => 16877,
'size' => 12288,
'sizeDiv4GB' => 0,
'type' => 5,
'gid' => 0,
'sizeMod4GB' => 12288
},
so there's the 12288. Multiplying the blkCnt by the blkSize is
17592186044416 so a little larger. ls -lasd on /etc on the host being
backed up shows:
16 drwxr-xr-x 97 root root 12288 Mar 31 14:54 /etc
I am using
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backup -o
ServerAliveInterval=30 $host sudo /usr/bin/strace -o
/var/tmp/strace.rsync.$$ -f -tt -T -s 64 $rsyncPath $argList+';
as the remote command and the last few lines of strace show:
19368 14:59:38.204943 write(1,
"\0\10\0\0\2\0\0\0\236\7\0\0\377\377\377\377"...,
1580) = 1580 <0.000011>
19368 14:59:38.204993 select(2, NULL, [1], [1], {60, 0}) = 1 (out [1],
left {60, 0}) <0.000009>
19368 14:59:38.205032 write(1, "\4\0\0\7\377\377\377\377", 8) = 8
<0.000011>
19368 14:59:38.205069 select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
<59.994504>
19368 15:00:38.199634 select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
<59.994597>
So does anybody have any ideas what is happening here and how to solve
it? I am guessing something being interpreted wierdly in the rsync
data stream?
The rsync client reports:
rsync version 2.6.9 protocol version 29 Copyright (C)
1996-2006 by Andrew Tridgell, Wayne Davison, and others.
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
inplace, IPv6, 64-bit system inums, 64-bit internal inums
with uname -a reporting:
Linux host 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux
--
-- rouilj
John Rouillard System Administrator
Renesys Corporation 603-244-9084 (cell) 603-643-9300 x 111
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|