BackupPC-users

Re: [BackupPC-users] Bizarre form of cpool corruption.

2010-12-07 13:18:06
Subject: Re: [BackupPC-users] Bizarre form of cpool corruption.
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 07 Dec 2010 13:16:32 -0500
Robin Lee Powell wrote at about 23:46:11 -0800 on Monday, December 6, 2010:
 > On Mon, Dec 06, 2010 at 11:33:15PM -0800, Craig Barratt wrote:
 > > Robin,
 > > 
 > > > Nope; I'm a big tab completion user, so I would have seen it.  ;)
 > > > 
 > > > $ ls -li /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc*
 > > > 255523133 -rw-r----- 3 backuppc backuppc 27 Nov 22 19:33 
 > > > /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc
 > > 
 > > Hmmm.  I'm not familiar with Jeffrey's zLib code.  What happens
 > > when you compute the digest of this pool file?  Ie:
 > > 
 > >     perl /tmp/bpctest.pl 
 > > /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc
 > 
 > $     perl /tmp/bpctest.pl 
 > /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc
 > 15c0e4b08058ef3704b8fc24887e2bcc  
 > /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc
 > 
 > > Here is another script that computes the BackupPC digest.  You
 > > might need to modify the library paths.
 > 
 > $ sudo -u backuppc perl /tmp/bpctest2.pl 
 > /backups/pc/foo--tm50-e00145--tm50-s00339---shared/47/f%2f/fshared/ffoo/fpurchase_order_assets/fbatch_7813/f7105620_done.txt
 > 15c0e4b08058ef3704b8fc24887e2bcc 
 > /backups/pc/foo--tm50-e00145--tm50-s00339---shared/47/f%2f/fshared/ffoo/fpurchase_order_assets/fbatch_7813/f7105620_done.txt
 > 
 > So, yeah, that's really it.  They're both really there, and that's
 > the right md5sum, and both the pool file and the original file have
 > more than 1 hardlink count, and there's no inode match.
 > 

Robin, can you just clarify the context.
Did this apparent pool corruption only occur after running
BackupPC_tarPCCopy or did it occur in the course of "normal" backuppc
running.

Because if the second then I can think of only 2 ways that you would
have pc files with more than one link but not in the pool:
1. File system corruption
2. Something buggy with BackupPC_nightly
Because files in the pc directory only get multiple links after being
linked to the pool and files only unlinked from the pool using
BackupPC_nightly (Craig, please correct me if I am wrong here)

If the first, then presumably something is going wrong with either
BackupPC_tarPCCopy or how it's applied...



------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>