The danger with mds.* and osd.* in commands is that the * is attempted to be expanded by the command line before passing it to the command. That is to say that if you have a file or folder called mds.anything, then you're passing mds.anything to the command instead of mds.*. What you can do to mitigate that is run it with mds.\* to make sure that the command line doesn't mess up the wildcard character.
On Wed, Jan 17, 2018 at 7:30 AM Eugen Block <eblock@xxxxxx> wrote:
Ah, I think I got it:
ceph@host1:~> ceph tell mds.* config set mds_cache_memory_limit 2048000000
[...]
mds.host2: Set mds_cache_memory_limit to 2048000000
[...]
mds.host1: Set mds_cache_memory_limit to 2048000000
:-)
Zitat von Florent B <florent@xxxxxxxxxxx>:
> Of course, specifying mds.NAME is working (without *), but there's no
> way to do it on all MDS at the same time ?
>
>
> On 17/01/2018 12:54, Florent B wrote:
>> That's what I did, I run it on the active MDS server.
>>
>> I run 12.2.2 version.
>>
>>
>> On 17/01/2018 12:53, Eugen Block wrote:
>>> Can you try it on one of your MDS servers? It should work there.
>>>
>>> Zitat von Florent B <florent@xxxxxxxxxxx>:
>>>
>>>> Hi,
>>>>
>>>> Thank you but I got :
>>>>
>>>> admin_socket: exception getting command descriptions: [Errno 2] No
>>>> such file or directory
>>>>
>>>>
>>>> On 17/01/2018 12:47, Eugen Block wrote:
>>>>> Hi,
>>>>>
>>>>> try it with
>>>>>
>>>>> ceph daemon mds.* config set mds_cache_size 0
>>>>>
>>>>> Regards,
>>>>> Eugen
>>>>>
>>>>>
>>>>> Zitat von Florent B <florent@xxxxxxxxxxx>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I would like to reset "mds_cache_size" to its default value (0 in
>>>>>> Luminous).
>>>>>>
>>>>>> So I do :
>>>>>>
>>>>>> ceph tell mds.* injectargs '--mds_cache_size 0'
>>>>>>
>>>>>> I also tried :
>>>>>>
>>>>>> ceph tell mds.* injectargs '--mds_cache_size = 0'
>>>>>>
>>>>>> ceph tell mds.* injectargs '--mds_cache_size=0'
>>>>>>
>>>>>> But I always have errors like these for each MDS :
>>>>>>
>>>>>> 2018-01-17 12:39:06.134654 7fdc557fa700 0 client.475461118
>>>>>> ms_handle_reset on 10.111.0.3:6800/2482597610
>>>>>> Error EPERM: problem getting command descriptions from mds.host3
>>>>>> mds.host3: problem getting command descriptions from mds.host3
>>>>>>
>>>>>> My client.admin keyring is :
>>>>>>
>>>>>> client.admin
>>>>>> key: XXXXXXXXXXXXX
>>>>>> auid: 0
>>>>>> caps: [mds] allow
>>>>>> caps: [mgr] allow *
>>>>>> caps: [mon] allow *
>>>>>> caps: [osd] allow *
>>>>>>
>>>>>> How can I change this value without restarting services ?
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> Florent
>>>>>>
>>>>>> _______________________________________________
>>>>>> ceph-users mailing list
>>>>>> ceph-users@xxxxxxxxxxxxxx
>>>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>>>
>>>>>
>>>> _______________________________________________
>>>> ceph-users mailing list
>>>> ceph-users@xxxxxxxxxxxxxx
>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@xxxxxxxxxxxxxx
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : eblock@xxxxxx
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com