BackupPC-users

Re: [BackupPC-users] Bad md5sums due to zero size (uncompressed) cpool files - WEIRD BUG

2011-10-06 19:58:45
Subject: Re: [BackupPC-users] Bad md5sums due to zero size (uncompressed) cpool files - WEIRD BUG
From: John Rouillard <rouilj-backuppc AT renesys DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 6 Oct 2011 23:24:37 +0000
On Thu, Oct 06, 2011 at 05:54:05PM +0200, Holger Parplies wrote:
> Try something like
> 
>       BackupPC_verifyPool -s -p
> 
> to scan the whole pool, or
> 
>       BackupPC_verifyPool -s -p -r 0
> 
> to test it on the 0/0/0 - 0/0/f pool subdirectories (-r takes a Perl
> expression evaluating to an array of numbers between 0 and 255, e.g. "0",
> "0 .. 255" (the default), or "0, 1, 10 .. 15, 5"; note the quotes to make your
> shell pass it as a single argument). If you have switched off compression,
> you'll have to add a '-u' (though I'm not sure this test makes much sense in
> that case). You'll want either '-p' (progress) or '-v' (verbose) to see
> anything happening. It *will* take time to traverse the pool, but you can
> safely interrupt the script at any time and use the range parameter to resume
> it later (though not at the exact place) - or just suspend and resume it (^Z).
> 
> You might need to change the 'use lib' statement in line 64 to match your
> distribution.

I ran this with -r 0 and got as a summary:

  39000 files in 16 directories checked, 4 had wrong digests, of these 0
  zero-length.

running it with -r "1,2" now.

-- 
                                -- rouilj

John Rouillard       System Administrator
Renesys Corporation  603-244-9084 (cell)  603-643-9300 x 111

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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>