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 11:21 AM Philip Brown <pbrown@xxxxxxxxxx> wrote:
>
> I guess I left out in my examples, where I tried rbd_cache as well, and failed
>
> # rbd config global set rbd_cache  false
> rbd: invalid config entity: rbd_cache (must be global, client or client.<id>)

But that's not a valid command -- you attempted to provide the
configuration key name for the entity (as the error message is telling
you).

$ rbd config global set global rbd_cache false
... or ...
$ rbd config global set client rbd_cache false
... or ...
$ rbd config global set client.host_a rbd_cache false

>
>
> So, while i am happy to file a documentation pull request.. I still need to find the specific command line that actually *works*, for the "rbd config" variant, etc.
>
>
>
> ----- Original Message -----
> From: "Jason Dillaman" <jdillama@xxxxxxxxxx>
> To: "Philip Brown" <pbrown@xxxxxxxxxx>
> Cc: "ceph-users" <ceph-users@xxxxxxx>
> Sent: Thursday, December 17, 2020 7:48:22 AM
> Subject: Re:  Re: bug? cant turn off rbd cache?
>
> On Thu, Dec 17, 2020 at 10:41 AM Philip Brown <pbrown@xxxxxxxxxx> wrote:
> >
> > Huhhh...
> >
> > Its unfortunate that every google search i did for turning off rbd cache, specified "put it in the [client] section".
> > Doh.
> >
> > Maybe this would make a good candidate to update the ceph rbd docs?
>
> As an open source project, I highly encourage you to give back in any
> way you can [1].
>
> > Speaking of which.. what is the *exact* syntax for that command please?
> > None of the below work:
> >
> >  rbd config global set rbd_cache  false
> >  rbd config global set rbd cache  false
> >  rbd config global set conf_rbd_cache  false
> >  rbd config global set rbd cache  false
> >  rbd config global set global cache  false
> >
> > and the error messages are not helpful. for example,
> >
> > # rbd config global set  cache  false
> > rbd: invalid config entity: cache (must be global, client or client.<id>)
> >
> >
> > ??? I already specified global??
>
> ... because a global configuration override can apply to all entities,
> to all clients, or to specific clients (hence the examples for the
> entity parameter).
>
> > but then
> >
> > # rbd config global set global cache  false
> > rbd: not rbd option: cache
>
> ... the configuration option is "rbd_cache" as documented here [2].
>
> >
> >
> > Very frustrating.
> >
> >
> >
>


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