Re: MDS injectargs

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

 



Oh, okay... can you run it on a specific host instead of "mds.*"?

I only get the error if I try to run the command on host 1 for host 2:

ceph@host1:~> ceph daemon mds.host2 config show
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
ceph@host1:~> ceph daemon mds.host1 config show | grep mds_cache_size
    "mds_cache_size": "0",



Zitat von Florent B <florent@xxxxxxxxxxx>:

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



--
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




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


  Powered by Linux