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?
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??
but then
# rbd config global set global cache false
rbd: not rbd option: cache
Very frustrating.
----- Original Message -----
From: "Jason Dillaman" <jdillama(a)redhat.com>
To: "Eugen Block" <eblock(a)nde.ag>
Cc: "ceph-users" <ceph-users(a)ceph.io>
Sent: Thursday, December 17, 2020 5:09:17 AM
Subject: [ceph-users] Re: bug? cant turn off rbd cache?
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.