On Mar 09 2016, Riku Bister <[email protected]> wrote:
> Backing up old metadata...
> Uncaught top-level exception:
> Traceback (most recent call last):
> File "/root/s3ql/s3ql-2.17/bin/s3qladm", line 26, in <module>
> s3ql.adm.main(sys.argv[1:])
> File "/root/s3ql/s3ql-2.17/src/s3ql/adm.py", line 94, in main
> options.cachedir))
> File "/root/s3ql/s3ql-2.17/src/s3ql/adm.py", line 303, in upgrade
> dump_and_upload_metadata(backend, db, param)
> File "/root/s3ql/s3ql-2.17/src/s3ql/metadata.py", line 310, in
> dump_and_upload_metadata
> upload_metadata(backend, fh, param)
> File "/root/s3ql/s3ql-2.17/src/s3ql/metadata.py", line 324, in
> upload_metadata
> cycle_metadata(backend)
> File "/root/s3ql/s3ql-2.17/src/s3ql/metadata.py", line 123, in
> cycle_metadata
> cycle_fn("s3ql_metadata_bak_%d" % i, "s3ql_metadata_bak_%d" % (i + 1))
> File "/root/s3ql/s3ql-2.17/src/s3ql/backends/comprenc.py", line 268, in
> copy
> self._copy_or_rename(src, dest, rename=False, metadata=metadata)
> File "/root/s3ql/s3ql-2.17/src/s3ql/backends/comprenc.py", line 278, in
> _copy_or_rename
> (nonce, meta_old) = self._verify_meta(src, meta_raw)
> File "/root/s3ql/s3ql-2.17/src/s3ql/backends/comprenc.py", line 134, in
> _verify_meta
> % (stored_key, key))
> s3ql.backends.common.CorruptedObjectError: Object content does not match
> its key (s3ql_metadata_bak_0 vs s3ql_metadata_bak_1)
This looks rather fishy. Are you sure you did not try any sort of manual
surgery on the backend (like moving around metadata backups)? You would
have gotten the same problem on the next mount.s3ql unmount if you had
not upgraded.
If you did something like that, you can try to get things in order by
removing the s3ql_metadata_bak* files from the storage backend, as well
as the local cached copy of the metadata (.db and .param file) and then
running S3QL 2.17's fsck. But no guarantees.
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.