Re: To check RBD cache enabled

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

 



Did you restart the librbd client application after updating the config value?

On Tue, Oct 17, 2017 at 5:29 PM, Josy <josy@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Thanks for the reply.
>
> I added rbd_non_blocking_aio = false in ceph.conf and pushed the admin file
> to all nodes.
>
> -----
> [client]
> admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok
> log file = /var/log/ceph/client.log
> debug rbd = 20
> debug librbd = 20
> rbd_non_blocking_aio = false
> ------
>
>
> However the config show command still shows it as true.
> -----------
> [cephuser@ceph-las-admin-a1 ceph-cluster]$ sudo ceph --admin-daemon
> /var/run/ceph/ceph-mgr.ceph-las-admin-a1.asok config show | grep
> "rbd_non_blocking_aio"
>     "rbd_non_blocking_aio": "true",
> -----------
>
> Did I miss something ?
>
>
> On 18-10-2017 01:22, Jean-Charles Lopez wrote:
>
> Hi
>
> syntax uses the admin socket file : ceph --admin-daemon
> /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok config get rbd_cache
>
> Should be /var/run/ceph/ceph.client.admin.$pid.$cctid.asok if your
> connection is using client.admin to connect to the cluster and your cluster
> name is set to the default of ceph. But obviously can’t know from here the
> PID and the CCTID you will have to identify.
>
> You can actually do a ls /var/run/ceph to find the correct admin socket file
>
> Regards
> JC Lopez
> Senior Technical Instructor, Global Storage Consulting Practice
> Red Hat, Inc.
> jelopez@xxxxxxxxxx
> +1 408-680-6959
>
> On Oct 17, 2017, at 12:50, Josy <josy@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
>
> I am following this article :
>
> http://ceph.com/geen-categorie/ceph-validate-that-the-rbd-cache-is-active/
>
> I have enabled this flag in ceph.conf
>
> [client]
> admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok
> log file = /var/log/ceph/
>
>
> But the command to show the conf is not working :
>
> [cephuser@ceph-las-admin-a1 ceph-cluster]$ sudo ceph --admin-daemon
> /etc/ceph/ceph.client.admin.keyring config show
> admin_socket: exception getting command descriptions: [Errno 111] Connection
> refused
>
> _______________________________________________
> 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
>



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