cfuse and ceph.conf
Hi!
As I understand with -m key cfuse should not require ceph.conf.
But:
root@st8:~# cfuse -m 10.5.51.230:6789 /stor01 common_init: unable to open config file. root@st8:~#
Workaround:
root@st8:~# cfuse -c /dev/null -m 10.5.51.230:6789 /stor01 failed to open log file '/var/log/ceph/client.admin.log': error 2: No such file or directory ** WARNING: Ceph is still under development. Any feedback can be directed ** ** at [email protected] or http://ceph.newdream.net/. ** cfuse[2944]: starting ceph client cfuse[2944]: starting fuse root@st8:~# ls -al /stor01/ total 1 drwxr-xr-x 1 root root 0 2011-06-01 00:22 . drwxr-xr-x 1 root root 0 2011-05-31 01:27 bbb root@st8:~#
WBR,
Fyodor.
P.S. BTW, where ".." directory?P.P.S. I'm starting to feel myself like QA.
Quoted 1 line · Fyodor Ustinov
As I understand with -m key cfuse should not require ceph.conf.
It does need a config, to even know whether it should attempt cryptographic authentication or not (and where to find the key, etc).
It could be changed to do things more like the kernel client, but as is, it always requires a config file.
Quoted 1 line
root@st8:~# cfuse -c /dev/null -m 10.5.51.230:6789 /stor01
...
Quoted 7 lines
root@st8:~# ls -al /stor01/ total 1 drwxr-xr-x 1 root root 0 2011-06-01 00:22 . drwxr-xr-x 1 root root 0 2011-05-31 01:27 bbb root@st8:~#
P.S. BTW, where ".." directory?
Oh, heh, that's interesting.
It seems "." and ".." are optional, according to POSIX:
Signature · 1 line
:(){ :|:&};:Quoted 17 lines · Tommi Virtanen
Quoted 1 line · Fyodor Ustinov
As I understand with -m key cfuse should not require ceph.conf.
It does need a config, to even know whether it should attempt cryptographic authentication or not (and where to find the key, etc).
It could be changed to do things more like the kernel client, but as is, it always requires a config file.
Quoted 1 line
root@st8:~# cfuse -c /dev/null -m 10.5.51.230:6789 /stor01...
Quoted 6 lines
root@st8:~# ls -al /stor01/ total 1 drwxr-xr-x 1 root root 0 2011-06-01 00:22 . drwxr-xr-x 1 root root 0 2011-05-31 01:27 bbb root@st8:~#
Quoted 7 lines
Quoted 1 line
P.S. BTW, where ".." directory?Oh, heh, that's interesting.
It seems "." and ".." are optional, according to POSIX:
I couldn't figure out how to make a (correct) .. when writing the original fuse glue layer way back when.
Hmm, it looks like sshfs generates one, so it's at lesat possible. It's probably simple enough to fix.
sage