Hi Nikolaus! Thanks for your answer. I can't compare md5sums of a source and an original, because the original S3QL filesystem was removed completely (it was couple of months ago...), and I'm not able to restore it. So, I cant calculate md5sums of source files anymore... I mean to use S3QL's metadata as source of information (e.g. hash sums) which can be used for checking integrity of the files.
I've copied S3QL's database from the cachedir (thank for you suggestion in another thread) and trying to use it's information. I've supposed that I can get a hash (sha256) of data files from table "blocks" using SQL-query "select id, lower(hex(hash)) from blocks;". But, when I've tried to compare block hashes from the database to hashes of the data files, I've found that completely all hashes are different. Could it be because the filesystem is encrypted? If yes, could you please point me, how to compare hashes in such situation? On Monday, June 20, 2016 at 3:37:55 AM UTC+3, Nikolaus Rath wrote: > > On Jun 19 2016, Nikolaus Rath <[email protected] <javascript:>> wrote: > > On Jun 18 2016, Ilya <[email protected] <javascript:>> wrote: > >> Hello! > >> > >> I've transferred S3QL (files from local:// mount point) from one host > to > >> another, > >> and I've suspected that some files has been corrupted during the > transfer. > >> > >> Now, how can I check integrity of the data files? > > > > Compare md5sums of original and copy and compare. > > *Calculate* and compare, obviously - sorry. > > Best, > -Nikolaus > > -- > GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F > Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > »Time flies like an arrow, fruit flies like a Banana.« > -- You received this message because you are subscribed to the Google Groups "s3ql" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
