All of lore.kernel.org
 help / color / mirror / Atom feed
* Mounting
@ 2011-04-14 23:44 Zenon Panoussis
  2011-04-15  0:00 ` Mounting Tommi Virtanen
  0 siblings, 1 reply; 5+ messages in thread
From: Zenon Panoussis @ 2011-04-14 23:44 UTC (permalink / raw)
  To: ceph-devel


I'm facing yet another one of "those problems", more likely caused by
lack of knowledge and/or documentation than by anything else.

# mount.ceph 192.168.178.100:6789:/ /vol
mount error 22 = Invalid argument

# dmesg -c
libceph: no secret set (for auth_x protocol)
libceph: error -22 on auth protocol 2 init

It looks very much like http://marc.info/?l=ceph-devel&m=130072087704874&w=2 .
Yes, I have enabled cephx, but I have no clue how to tell the client what key
to use. I tried

# cauthtool -l /etc/ceph/admin.keyring
# mount.ceph 192.168.178.100:6789:/ /vol -v -o name=<auid>,secret=<key>

but all I got was

ceph: Unknown mount option name
ceph: Unknown mount option secret
mount error 1 = Operation not permitted

Yet, 'man mount.ceph' says

name	string, used with authx, Default: guest
secret	string, used with authx

Commenting out "auth supported = cephx" gets rid of the problem and
lets the store be mounted, but it's a workaround, not a solution.

Any ideas? This is ceph-0.26 with vanilla kernel 2.6.38.2.

Z



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

end of thread, other threads:[~2011-04-15 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 23:44 Mounting Zenon Panoussis
2011-04-15  0:00 ` Mounting Tommi Virtanen
2011-04-15  0:43   ` Mounting Zenon Panoussis
2011-04-15  3:40     ` Mounting Sage Weil
2011-04-15 12:59       ` Mounting Zenon Panoussis

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.