mount cach file error

30 views
Skip to first unread message

dassio

unread,
Aug 11, 2012, 10:30:38 PM8/11/12
to s3...@googlegroups.com
when i try to mount a bucket , i got the following error.

Using 1 upload threads (memory limited).
Using cached metadata.
Uncaught top-level exception. Traceback (most recent call last):
  File '/usr/bin/mount.s3ql', line 9, in <module>()
    load_entry_point('s3ql==1.11.1', 'console_scripts', 'mount.s3ql')()
  Current bindings:
    load_entry_point = <function load_entry_point>

  File '/usr/lib64/python2.7/site-packages/s3ql-1.11.1-py2.7-linux-x86_64.egg/s3ql/mount.py', line 110, in main(args=['s3://dassio-owncloud', '/home/danny/amazons3/buckets/owncloud'])
    options.cachesize * 1024, options.max_cache_entries)
  Current bindings:
    options = Namespace(allow_other=False, allow_root=False, a...'s3://dassio-owncloud', threads=1, upstart=False)
    options.cachesize = 102400 (local)
    options.max_cache_entries = 768 (local)

  File '/usr/lib64/python2.7/site-packages/s3ql-1.11.1-py2.7-linux-x86_64.egg/s3ql/block_cache.py', line 231, in __init__(self=<s3ql.block_cache.BlockCache object>, backend_pool=<s3ql.backends.common.BackendPool object>, db=<s3ql.database.Connection object>, cachedir='/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache', max_size=104857600, max_entries=768)
    os.mkdir(self.path)
  Current bindings:
    os = <module 'os' from '/usr/lib64/python2.7/os.pyc'> (global)
    os.mkdir = <built-in function mkdir> (local)
    self = <s3ql.block_cache.BlockCache object>
    self.path = '/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache' (local)

Exception: OSError: [Errno 22] Invalid argument: '/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache'
  args = (22, 'Invalid argument')
  errno = 22
  filename = '/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache'
  message = ''
  strerror = 'Invalid argument'

any ideas?

Nikolaus Rath

unread,
Aug 11, 2012, 10:44:59 PM8/11/12
to s3...@googlegroups.com
On 08/11/2012 10:30 PM, dassio wrote:
> when i try to mount a bucket , i got the following error.
>
[...]
>
> Exception: OSError: [Errno 22] Invalid argument:
> '/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache'
> args = (22, 'Invalid argument')
> errno = 22
> filename = '/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache'
> message = ''
> strerror = 'Invalid argument'
>
> any ideas?

What happens if you run "mkdir
/home/danny/.s3ql/s3:=2F=2Fdassio-owncloud-cache"?


Best,


-Nikolaus

--
»Time flies like an arrow, fruit flies like a Banana.«

PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
Reply all
Reply to author
Forward
0 new messages