Re: [ceph-users] Cannot mount Ceph FS

2017-06-29 Thread Riccardo Murri
On 29 June 2017 at 13:58, Jaime Ibar  wrote:
>
> I'd say there is no mds running

This was indeed the issue: the configuration file named the MDS as `mds.0`
which is not allowed (error message was "MDS names may not start with
a numeric digit.")
so the MDS daemon kept "committing suicide" (unnoticed at the start,
since the daemon seems
to start correctly and dies later on).

Thank you all for the help!

Riccardo
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Cannot mount Ceph FS

2017-06-29 Thread Riccardo Murri
On 29 June 2017 at 13:48, John Spray  wrote:
> On Thu, Jun 29, 2017 at 12:26 PM, Riccardo Murri
>  wrote:
>> Hello!
>>
>> I tried to create and mount a filesystem using the instructions at
>>  and
>>  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.

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


Re: [ceph-users] Cannot mount Ceph FS

2017-06-29 Thread John Spray
On Thu, Jun 29, 2017 at 12:53 PM, Riccardo Murri
 wrote:
> On 29 June 2017 at 13:48, John Spray  wrote:
>> On Thu, Jun 29, 2017 at 12:26 PM, Riccardo Murri
>>  wrote:
>>> Hello!
>>>
>>> I tried to create and mount a filesystem using the instructions at
>>>  and
>>>  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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Cannot mount Ceph FS

2017-06-29 Thread John Spray
On Thu, Jun 29, 2017 at 12:26 PM, Riccardo Murri
 wrote:
> Hello!
>
> I tried to create and mount a filesystem using the instructions at
>  and
>  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.

John

>
> I found this `mds cluster_up` command and thought I need to bring the
> MDS cluster up before using FS functions but I get errors there as
> well:
>
> $ sudo ceph mds cluster_up
> unmarked fsmap DOWN
>
> Still, the cluster does not show any health issue:
>
> $ sudo ceph -s
> cluster 00baac7a-0ad4-4ab7-9d5e-fdaf7d122aee
>  health HEALTH_OK
>  monmap e1: 1 mons at {mon001=172.23.140.181:6789/0}
> election epoch 3, quorum 0 mon001
>   fsmap e7: 0/0/1 up
>  osdmap e19: 3 osds: 3 up, 3 in
> flags sortbitwise,require_jewel_osds
>   pgmap v1278: 192 pgs, 3 pools, 0 bytes data, 0 objects
> 9728 MB used, 281 GB / 290 GB avail
>  192 active+clean
>
> Any hints?  What I am doing wrong?
>
> Thanks,
> Riccardo
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Cannot mount Ceph FS

2017-06-29 Thread Jaime Ibar

Hi,

I'd say there is no mds running

$ ceph mds stat
e47262: 1/1/1 up {0=ceph01=up:active}, 2 up:standby

$ ceph -s

[...]

  fsmap e47262: 1/1/1 up {0=ceph01=up:active}, 2 up:standby

[...]

Is mds up and running?

Jaime


On 29/06/17 12:26, Riccardo Murri wrote:

Hello!

I tried to create and mount a filesystem using the instructions at
 and
 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

I found this `mds cluster_up` command and thought I need to bring the
MDS cluster up before using FS functions but I get errors there as
well:

$ sudo ceph mds cluster_up
unmarked fsmap DOWN

Still, the cluster does not show any health issue:

$ sudo ceph -s
 cluster 00baac7a-0ad4-4ab7-9d5e-fdaf7d122aee
  health HEALTH_OK
  monmap e1: 1 mons at {mon001=172.23.140.181:6789/0}
 election epoch 3, quorum 0 mon001
   fsmap e7: 0/0/1 up
  osdmap e19: 3 osds: 3 up, 3 in
 flags sortbitwise,require_jewel_osds
   pgmap v1278: 192 pgs, 3 pools, 0 bytes data, 0 objects
 9728 MB used, 281 GB / 290 GB avail
  192 active+clean

Any hints?  What I am doing wrong?

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



--

Jaime Ibar
High Performance & Research Computing, IS Services
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | ja...@tchpc.tcd.ie
Tel: +353-1-896-3725

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



Re: [ceph-users] Cannot mount Ceph FS

2017-06-29 Thread Burkhard Linke

Hi,


On 06/29/2017 01:26 PM, Riccardo Murri wrote:

Hello!

I tried to create and mount a filesystem using the instructions at
 and
 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

I found this `mds cluster_up` command and thought I need to bring the
MDS cluster up before using FS functions but I get errors there as
well:

$ sudo ceph mds cluster_up
unmarked fsmap DOWN

Still, the cluster does not show any health issue:

$ sudo ceph -s
 cluster 00baac7a-0ad4-4ab7-9d5e-fdaf7d122aee
  health HEALTH_OK
  monmap e1: 1 mons at {mon001=172.23.140.181:6789/0}
 election epoch 3, quorum 0 mon001
   fsmap e7: 0/0/1 up
  osdmap e19: 3 osds: 3 up, 3 in
 flags sortbitwise,require_jewel_osds
   pgmap v1278: 192 pgs, 3 pools, 0 bytes data, 0 objects
 9728 MB used, 281 GB / 290 GB avail
  192 active+clean

Any hints?  What I am doing wrong?


You need a running MDS daemon for CephFS.

Regards,
Burkhard Linke
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Cannot mount Ceph FS

2017-06-29 Thread Riccardo Murri
Hello!

I tried to create and mount a filesystem using the instructions at
 and
 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

I found this `mds cluster_up` command and thought I need to bring the
MDS cluster up before using FS functions but I get errors there as
well:

$ sudo ceph mds cluster_up
unmarked fsmap DOWN

Still, the cluster does not show any health issue:

$ sudo ceph -s
cluster 00baac7a-0ad4-4ab7-9d5e-fdaf7d122aee
 health HEALTH_OK
 monmap e1: 1 mons at {mon001=172.23.140.181:6789/0}
election epoch 3, quorum 0 mon001
  fsmap e7: 0/0/1 up
 osdmap e19: 3 osds: 3 up, 3 in
flags sortbitwise,require_jewel_osds
  pgmap v1278: 192 pgs, 3 pools, 0 bytes data, 0 objects
9728 MB used, 281 GB / 290 GB avail
 192 active+clean

Any hints?  What I am doing wrong?

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