To summarize this discussion:

There are two ways to change the configuration:
1. ceph config * is for permanently changing settings
2. ceph injectargs is for temporarily changing a setting until the
next restart of that daemon

* ceph config get or --show-config shows the defaults/permanent
settings, but not anything that was temporarily overriden by
injectargs
* run "ceph daemon type.id config diff" to set what a specific daemon
is currently running with (and where it got that value from)


Paul

-- 
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

On Tue, Apr 9, 2019 at 9:00 PM solarflow99 <solarflo...@gmail.com> wrote:
>
> I noticed when changing some settings, they appear to stay the same, for 
> example when trying to set this higher:
>
> ceph tell 'osd.*' injectargs '--osd-recovery-max-active 4'
>
> It gives the usual warning about may need to restart, but it still has the 
> old value:
>
> # ceph --show-config | grep osd_recovery_max_active
> osd_recovery_max_active = 3
>
>
> restarting the OSDs seems fairly intrusive for every configuration change.
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to