All of lore.kernel.org
 help / color / mirror / Atom feed
* cfuse and ceph.conf
@ 2011-05-31 21:44 Fyodor Ustinov
  2011-05-31 23:11 ` Tommi Virtanen
  0 siblings, 1 reply; 3+ messages in thread
From: Fyodor Ustinov @ 2011-05-31 21:44 UTC (permalink / raw)
  To: ceph-devel

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 ceph-devel@vger.kernel.org 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cfuse and ceph.conf
  2011-05-31 21:44 cfuse and ceph.conf Fyodor Ustinov
@ 2011-05-31 23:11 ` Tommi Virtanen
  2011-06-01  4:18   ` Sage Weil
  0 siblings, 1 reply; 3+ messages in thread
From: Tommi Virtanen @ 2011-05-31 23:11 UTC (permalink / raw)
  To: Fyodor Ustinov; +Cc: ceph-devel

On Wed, Jun 01, 2011 at 12:44:30AM +0300, Fyodor Ustinov wrote:
> 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.

> root@st8:~# cfuse -c /dev/null -m 10.5.51.230:6789 /stor01
...
> 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:

http://sourceforge.net/mailarchive/forum.php?thread_name=E1O3s82-0008BY-MW%40pomaz-ex.szeredi.hu&forum_name=fuse-devel

-- 
:(){ :|:&};:

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cfuse and ceph.conf
  2011-05-31 23:11 ` Tommi Virtanen
@ 2011-06-01  4:18   ` Sage Weil
  0 siblings, 0 replies; 3+ messages in thread
From: Sage Weil @ 2011-06-01  4:18 UTC (permalink / raw)
  To: Tommi Virtanen; +Cc: Fyodor Ustinov, ceph-devel

On Tue, 31 May 2011, Tommi Virtanen wrote:
> On Wed, Jun 01, 2011 at 12:44:30AM +0300, Fyodor Ustinov wrote:
> > 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.
> 
> > root@st8:~# cfuse -c /dev/null -m 10.5.51.230:6789 /stor01
> ...
> > 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:
> 
> http://sourceforge.net/mailarchive/forum.php?thread_name=E1O3s82-0008BY-MW%40pomaz-ex.szeredi.hu&forum_name=fuse-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-01  4:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 21:44 cfuse and ceph.conf Fyodor Ustinov
2011-05-31 23:11 ` Tommi Virtanen
2011-06-01  4:18   ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.