I'm really hoping this is a silly, but the code I've been using to call
s3ql.fsck has been pretty stable for the last three or so S3QL versions.
Any thoughts please? I've got a crashed filesystem and short of downgrading
back to 2.19 to see if that might fix the problem I'm not sure where to
head.
I could also delete the local database and try pulling down the most recent
backup from the repository, but that's a last resort. On the other hand, a
zero length params file doesn't look at all good, does it.
# TMPDIR=/var/autofs/misc/cache/tmp HOME=/root fsck.s3ql --version
--cachedir=/var/autofs/misc/cache/s3ql
swiftks://auth.cloud.ovh.net/TARGET:Container/
S3QL 2.20
# TMPDIR=/var/autofs/misc/cache/tmp HOME=/root fsck.s3ql --debug
--cachedir=/var/autofs/misc/cache/s3ql
swiftks://auth.cloud.ovh.net/TARGET:Container/
Starting fsck of swiftks://auth.cloud.ovh.net/TARGET:Container/
ERROR: Uncaught top-level exception:
Traceback (most recent call last):
File "/usr/lib/s3ql/s3ql/common.py", line 564, in thaw_basic_mapping
d = literal_eval(buf.decode('utf-8'))
File "/usr/lib/python3.5/ast.py", line 46, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python3.5/ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 0
^
SyntaxError: unexpected EOF while parsing
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/fsck.s3ql", line 9, in <module>
load_entry_point('s3ql==2.20', 'console_scripts', 'fsck.s3ql')()
File "/usr/lib/s3ql/s3ql/fsck.py", line 1166, in main
param = load_params(cachepath)
File "/usr/lib/s3ql/s3ql/common.py", line 616, in load_params
return thaw_basic_mapping(fh.read())
File "/usr/lib/s3ql/s3ql/common.py", line 566, in thaw_basic_mapping
raise ThawError()
s3ql.common.ThawError: Malformed serialization data
# cd /var/autofs/misc/cache/s3ql && ls -l *Container*
-rw------- 1 root root 71798784 Sep 24 16:27
swiftks:=2F=2Fauth.cloud.ovh.net=2FTARGET:Container=2F.db
-rw-r--r-- 1 root root 0 Sep 24 20:15 swiftks:=2F=2Fauth.cloud.ovh.
net=2FTARGET:Container=2F.params
Thanks
Chris
--
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.