On Thu, Dec 17, 2020 at 7:22 AM Eugen Block <ebl...@nde.ag> wrote:
>
> Hi,
>
> > [client]
> > rbd cache = false
> > rbd cache writethrough until flush = false
>
> this is the rbd client's config, not the global MON config you're
> reading here:
>
> > # ceph --admin-daemon `find /var/run/ceph -name 'ceph-mon*'` config
> > show |grep rbd_cache
> >     "rbd_cache": "true",
>
> If you want to change the global "rbd_cache" setting you have to
> change that in the [global] (or maybe [mon]) section.
> But I'm not sure which effect this will have.

If you want to change global (librbd) settings, please use "rbd config
global set ..." (which is just a wrapper around "ceph config set
global ..."). The conf files only apply to the single host where they
exist.

> Regards,
> Eugen
>
>
> Zitat von Philip  Brown <pbr...@medata.com>:
>
> > Oops.. sent this to the "wrong" list previously. (lists.ceph.com)
> > Lets try the proper one this time :-/
> >
> > not sure if this an actual bug or I'm doing something else wrong.
> > but in Octopus, I have on the master node
> >
> >
> > # ceph --version
> > ceph version 15.2.7 (88e41c6c49beb18add4fdb6b4326ca466d931db8)
> > octopus (stable)
> > # tail -3 /etc/ceph/ceph.conf
> > [client]
> > rbd cache = false
> > rbd cache writethrough until flush = false
> >
> >
> > but I have restarted ALL nodes.. and yet rbd cache is still on.
> >
> > # ceph --admin-daemon `find /var/run/ceph -name 'ceph-mon*'` config
> > show |grep rbd_cache
> >     "rbd_cache": "true",
> >
> >
> > What else am I supposed to do???
> >
> >
> >
> >
> > --
> > Philip Brown| Sr. Linux System Administrator | Medata, Inc.
> > 5 Peters Canyon Rd Suite 250
> > Irvine CA 92606
> > Office 714.918.1310| Fax 714.918.1325
> > pbr...@medata.com| www.medata.com
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@ceph.io
> > To unsubscribe send an email to ceph-users-le...@ceph.io
>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to