[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug to report (loss of data)



On Tue, Jul 05, 2011 at 12:53:30PM -0500, Harry Putnam wrote:
> So I did that:
> 
>   tarsnap -c -f m2-ImagesMusic-11.06.30_083216 @@m2-ImagesMusic
>   tarsnap: Error reading archive m2-ImagesMusic: Pathname in pax header
>   can't be converted to current locale.
> 
>                                        Total size  Compressed size
> All archives                          47451647043      36380066594
>   (unique data)                       34288390760      27769701053
> This archive                            432979189        386430105
> New data                                   105045            73442
> tarsnap: Error exit delayed from previous errors.

The last line and the previous error show this operation didn't complete
successfully. Additionally, the "This archive" line shows the total size
of the new archive is significantly smaller than you were expecting.

You should have stopped here.

> And followed with the rest of the procedure .. deleting the original.
> 
> reader > tarsnap -d -f m2-ImagesMusic
>                                        Total size  Compressed size
> All archives                            436276474        387794739
>   (unique data)                         404428538        359735628
> This archive                          47015370569      35992271855
> Deleted data                          33883962222      27409965425
> -------        ---------       ---=---       ---------      -------- 
> 
> But now the renamed archive is way smaller than the original:
> 
> reader > tarsnap --print-stats -f m2-ImagesMusic-11.06.30_083216
>                                        Total size  Compressed size
> All archives                            436276474        387794739
>   (unique data)                         404428538        359735628
> m2-ImagesMusic-11.06.30_083216          432979189        386430105
>   (unique data)                         401151733        358381728
> 
> So its dropped from the original:    47015370569   
>                               to:      432979189
> 
> Hopefully I'm just not understanding what the numbers mean.

No, you understand fine. The "rename" (actually, it was a copy) failed
and you then deleted the original. So you will have lost any data in the
original archive that wasn't in the copy.

Now, why this error occured in the first place I don't know. I don't
understand what the error means. Hopefully Colin, or someone else, can
clear that up.

Tim.

-- 
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984