Hi

I have this problem with a s3ql s3 bucket being used for backups:

  echo "continue, I know what I am doing" | fsck.s3ql 
s3c://s.qstack.advania.com:443/crin2
  Starting fsck of s3c://s.qstack.advania.com:443/crin2/
  Ignoring locally cached metadata (outdated).
  Backend reports that file system is still mounted elsewhere. Either
  the file system has not been unmounted cleanly or the data has not yet
  propagated through the backend. In the later case, waiting for a while
  should fix the problem, in the former case you should try to run fsck
  on the computer where the file system has been mounted most recently.
  You may also continue and use whatever metadata is available in the
  backend. However, in that case YOU MAY LOOSE ALL DATA THAT HAS BEEN
  UPLOADED OR MODIFIED SINCE THE LAST SUCCESSFULL METADATA UPLOAD.
  Moreover, files and directories that you have deleted since then MAY
  REAPPEAR WITH SOME OF THEIR CONTENT LOST.
  Enter "continue, I know what I am doing" to use the outdated data anyway:
  Downloading and decompressing metadata...
  WARNING: Object closed prematurely, can't check MD5, and have to reset 
connection
  > ERROR: Uncaught top-level exception:
  Traceback (most recent call last):
    File "/usr/bin/fsck.s3ql", line 11, in <module>
      load_entry_point('s3ql==2.21', 'console_scripts', 'fsck.s3ql')()
    File "/usr/lib/s3ql/s3ql/fsck.py", line 1257, in main
      db = download_metadata(backend, cachepath + '.db')
    File "/usr/lib/s3ql/s3ql/metadata.py", line 300, in download_metadata
      backend.perform_read(do_read, name)
    File "/usr/lib/s3ql/s3ql/backends/common.py", line 108, in wrapped
      return method(*a, **kw)
    File "/usr/lib/s3ql/s3ql/backends/common.py", line 319, in perform_read
      res = fn(fh)
    File "/usr/lib/s3ql/s3ql/metadata.py", line 297, in do_read
      stream_read_bz2(fh, tmpfh)
    File "/usr/lib/s3ql/s3ql/metadata.py", line 285, in stream_read_bz2
      buf = decompressor.decompress(buf)
  OSError: Invalid data stream

I have been trying to run fsck.s3ql on this bucket for some days now and
I'm not sure what I should try next?

This is with the s3ql that comes with Debian Stretch, there has never
been an attempt to mount this filesystem elsewhere, as far as I'm aware.

All the ebst

Chris

-- 
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop

-- 
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.

Reply via email to