On 09/03/16 17:48, Nikolaus Rath wrote:

Are you using the right python-llfuse version (1.0)?

I wasn't. I downloaded it and rebuilt and all the tests run fine. However, after upgrading, I cannot write to the filesystem:

Cleaning up local metadata...
Completed fsck of s3://video-plex-may-be/
cliff@plex: /opt/media$ mount.s3ql --allow-other --compress none s3://video-plex-may-be /opt/media/video
Using 8 upload threads.
Autodetected 65480 file descriptors available for cache entries
Using cached metadata.
Setting cache size to 830160 MB
Mounting s3://video-plex-may-be/ at /opt/media/video...
cliff@plex: /opt/media$ cd video/
cliff@plex: /opt/media/video$ mkdir xyz
mkdir: cannot create directory ‘xyz’: Input/output error
cliff@plex: /opt/media/video$ ls -l
ls: cannot open directory .: Transport endpoint is not connected

mount.s3ql contains:

2016-03-09 21:44:53.620 4387:MainThread s3ql.mount.determine_threads: Using 8 upload threads. 2016-03-09 21:44:53.624 4387:MainThread s3ql.mount.main: Autodetected 65480 file descriptors available for cache entries 2016-03-09 21:44:54.579 4387:MainThread s3ql.mount.get_metadata: Using cached metadata. 2016-03-09 21:44:54.694 4387:MainThread s3ql.mount.main: Setting cache size to 830160 MB 2016-03-09 21:44:54.698 4387:MainThread s3ql.mount.main: Mounting s3://video-plex-may-be/ at /opt/media/video... 2016-03-09 21:44:54.716 4393:MainThread s3ql.daemonize.detach_process_context: Daemonizing, new PID is 4394 2016-03-09 21:45:02.894 4394:fuse-worker-20 llfuse.(unknown function): handler raised <class 'apsw.ConstraintError'> exception (ConstraintError: NOT NULL constraint failed: inodes.mtime), terminating main loop. 2016-03-09 21:45:02.916 4394:MainThread s3ql.mount.unmount: Unmounting file system... 2016-03-09 21:45:02.918 4394:MainThread root.excepthook: Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/local/bin/mount.s3ql", line 9, in <module>
    load_entry_point('s3ql==2.17', 'console_scripts', 'mount.s3ql')()
File "/usr/local/lib/python3.4/dist-packages/s3ql-2.17-py3.4-linux-x86_64.egg/s3ql/mount.py", line 213, in main
    llfuse.main(workers)
  File "src/fuse_api.pxi", line 343, in llfuse.main (src/llfuse.c:35968)
File "src/handlers.pxi", line 194, in llfuse.fuse_mkdir (src/llfuse.c:11238) File "src/handlers.pxi", line 195, in llfuse.fuse_mkdir (src/llfuse.c:11175) File "/usr/local/lib/python3.4/dist-packages/s3ql-2.17-py3.4-linux-x86_64.egg/s3ql/fs.py", line 884, in mkdir
    inode = self._create(id_p, name, mode, ctx)
File "/usr/local/lib/python3.4/dist-packages/s3ql-2.17-py3.4-linux-x86_64.egg/s3ql/fs.py", line 1012, in _create
    rdev=rdev, size=size)
File "/usr/local/lib/python3.4/dist-packages/s3ql-2.17-py3.4-linux-x86_64.egg/s3ql/inode_cache.py", line 199, in create_inode
    bindings)
File "/usr/local/lib/python3.4/dist-packages/s3ql-2.17-py3.4-linux-x86_64.egg/s3ql/database.py", line 104, in rowid
    self.conn.cursor().execute(*a, **kw)
  File "src/cursor.c", line 236, in resetcursor
apsw.ConstraintError: ConstraintError: NOT NULL constraint failed: inodes.mtime

Any idea what I've done wrong now? I've checked all the versions. This issue occurs on both file systems.

Regards
Cliff.


--
Cliff Stanford
Office: +44 20 0222 1666      UK Mobile:  +44 7973 616 666
Spain:  +34  952 587 666
http://www.may.be/

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