Re: installation: where do I start debugging this error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 7, 2010 at 9:32 PM, Sage Weil <sage@xxxxxxxxxxxx> 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.

[root@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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux