On Apr 07 2018, Alexandre Gonçalves <[email protected]> wrote:
>> >> You need storage in the --cachedir directory.
>> >>
>> >
>> > I'm not sure what you mean by this. I didn't mention before, but I
>> removed
>> > all the contents from the --cachedir to see if it worked.
>>
>> S3QL is trying to write data into the directory that you specify with
>> --cachedir (defaults to ~/.s3ql/), and getting an out of space
>> error. You need to provide more space in the filesystem that contains
>> this directory.
>>
>
> I moved the --cachedir to another filesystem.
>
> alx@zen:/home/s3qlcache$ sudo fsck.s3ql --authfile
> "/myetc/s3ql/auth/s3ql_authinfo" --cachedir "/home/s3qlcache/" gs://ideiao
> Requesting new access token
[...
> Traceback (most recent call last):
> File "/usr/local/bin/fsck.s3ql", line 11, in <module>
> load_entry_point('s3ql==2.22', 'console_scripts', 'fsck.s3ql')()
> File
> "/usr/local/lib/python3.4/dist-packages/s3ql-2.22-py3.4-linux-x86_64.egg/s3ql/fsck.py",
>
> line 1293, in main
> db.execute('VACUUM')
> File
> "/usr/local/lib/python3.4/dist-packages/s3ql-2.22-py3.4-linux-x86_64.egg/s3ql/database.py",
>
> line 98, in execute
> self.conn.cursor().execute(*a, **kw)
> File "src/cursor.c", line 236, in resetcursor
> apsw.FullError: FullError: database or disk is full
>
> alx@zen:/home/s3qlcache$ df -h
> Filesystem Size Used Avail Use% Mounted on
> [...]
> /dev/mapper/vg_data-homes 2.7T 2.3T 268G 90% /home
> [...]
>
>
> The --cachedir directory /home/s3qlcache has 283G of free storage,
> nevertheless it breaks. Is there a limit on the database size?
I don't think so. What's interesting is that the error happens during
the VACUUM operation, which actually shrinks the database size by
rewriting it completely. I believe it does so my writing into a
completely fresh file.
At this point fsck.s3ql has effectively completed, so if you run it
again it shouldn't pick up any errors. Is that correct?
Also, could you try out to open the db in the sqlite3 command line
utility and execute the VACUUM command there?
Best,
-Nikolaus
--
GPG 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.