Re: bug? cant turn off rbd cache?

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

 



On Thu, Dec 17, 2020 at 7:22 AM Eugen Block <eblock@xxxxxx> 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 <pbrown@xxxxxxxxxx>:
>
> > 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
> > pbrown@xxxxxxxxxx| www.medata.com
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@xxxxxxx
> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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