Le 16/06/2017 à 06:25, Craig Barratt via BackupPC-users a écrit :
Daniel,

It looks like it is reading a V3 file, and the file size from the attributes is bigger than how much data it read from the file. This is probably due to some sort of disk data corruption.

That'd be odd, as I have the same error for all of my hosts (and the pool is only ~6 months old, running v3.3.2 until now, on ext4, no power outage or anything else)


At line 722 of /usr/share/BackupPC/lib/BackupPC/Lib.pm there is this code:

    $md5->add(substr($$dataRef, $seekPosn, 131072));

You could try replacing that with this:

    $md5->add(substr($$dataRef, $seekPosn, 131072)) if (
    length($$dataRef) >= $seekPosn );


It's now running, but I'm not sure yet what is being done. Will try to report when it's finished. How can I check everything went fine ?

++
--

Logo FWS

        *Daniel Berteaud*

FIREWALL-SERVICES SAS.
Société de Services en Logiciels Libres
Tel : 05 56 64 15 32 <tel:0556641532>
Visio : http://vroom.fws.fr/dani
/www.firewall-services.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to