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

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

 



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

[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