Sorry, I screwed up... it was an iptables issue.  I thought I had it
permanently off but didn't.
The ceph filesystem mounts just fine.

10.200.98.111:/ on /mnt/ceph type ceph
(name=admin,secret=AQC63/5MEMaTLBAAuiYetlbkHBjj0WNtAjOsQg==)

On Tue, Dec 7, 2010 at 10:55 PM, Brian Chrisman <[email protected]> wrote:
> On Tue, Dec 7, 2010 at 9:32 PM, Sage Weil <[email protected]> wrote:
>> On Wed, 8 Dec 2010, Jeff Wu wrote:
>>> Hi ,i take the followng steps , fail to mount,too.
>>>
>>> ## save auth secret to a file:
>>> $cauthtool --print-key /etc/ceph/keyring.bin > /etc/ceph/secret
>>> chmod 600 /etc/ceph/secret
>>> ## future ,support,read a secret from a file
>>> $ mount -t ceph 172.16.50.10:6789:/foo /mnt/ceph
>>>    -o name=admin,secretfile=secret
>>>
>>> but ,the following steps ,mount ceph is successful.
>>>
>>>
>>> # enable cephx, add a user and secret
>>>     $ mount -t ceph -o name=admin,secret=<secret>
>>>        1.2.3.4:/ /mnt/ceph
>>> $ mount -t ceph 172.16.50.10:6791:/foo /mnt/ceph
>>>     -o name=admin,secret=ÿÿAQArWtdMiI1uDRAAVbNRMeiwsjK+DEMeB7ewLg==ÿÿ
>>
>> The 'secretfile=' option only works if /sbin/mount.ceph is present.  Maybe
>> that didn't get installed by the rpm?  mount.ceph is also what lets you
>> specify a hostname instead of an ip.
>>
>> sage
>
> I have /sbin/mount.ceph there.  I have to imagine that this has
> something to do with the failed connections being reported between the
> mons.
>
> [r...@test10 ~]# /sbin/mount.ceph 10.200.98.111:/ /mnt/ceph -o
> name=admin,secret=AQC63/5MEMaTLBAAuiYetlbkHBjj0WNtAjOsQg==
> mount error 5 = Input/output error
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to