Re: Cannot mount Ceph FS

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

 



On Thu, Jun 29, 2017 at 12:53 PM, Riccardo Murri
<riccardo.murri@xxxxxxxxx> wrote:
> On 29 June 2017 at 13:48, John Spray <jspray@xxxxxxxxxx> wrote:
>> On Thu, Jun 29, 2017 at 12:26 PM, Riccardo Murri
>> <riccardo.murri@xxxxxxxxx> wrote:
>>> Hello!
>>>
>>> I tried to create and mount a filesystem using the instructions at
>>> <http://docs.ceph.com/docs/master/cephfs/createfs/> and
>>> <http://docs.ceph.com/docs/master/cephfs/kernel> but I am getting
>>> errors:
>>>
>>> $ sudo ceph fs new cephfs cephfs_metadata cephfs_data
>>> new fs with metadata pool 1 and data pool 2
>>> $ sudo ceph mds stat
>>> e6: 0/0/1 up
>>> $ sudo mount -t ceph mds001:/ /mnt -o
>>> name=admin,secretfile=/etc/ceph/client.admin.secret
>>> mount error 110 = Connection timed out
>>
>> Unless mds001 happens to also be a mon node, that's the problem -- the
>> addresses in the mount command are supposed to be the mons.
>
> Sorry, I copy+paste'd the wrong line.  Yes, I tried with `mon001` as well.
> It fails eventually (takes much longer) with error 5.

In that case you're probably using an old kernel.  Sufficiently old
kernels will not work with new ceph clusters.  Check if it works with
ceph-fuse.

John

>
> Thanks,
> Riccardo
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux