Re: ceph tell setting ignored?

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

 



Hi Nicola,

Maybe 'config diff' can be of use to you

ceph tell osd.2 config diff

It should tell you every value that is not 'default' and where the value(s) came from (File, mon, override).

Wout

-----Oorspronkelijk bericht-----
Van: Nicola Mori <mori@xxxxxxxxxx> 
Verzonden: Wednesday, 5 October 2022 12:33
Aan: ceph-users@xxxxxxx
Onderwerp:  Re: ceph tell setting ignored?

But how can I check if the applied temporary value has been correctly set? Maybe I'm doing something wrong, but this:

# ceph tell osd.2 config set osd_max_backfills 8 {
     "success": "osd_max_backfills = '8' "
}
# ceph tell osd.2 config get osd_max_backfills {
     "osd_max_backfills": "1000"
}

makes little sense to me.
On 05/10/22 12:13, Anthony D'Atri wrote:
> Injection modifies the running state of the specified daemons.  It does not modify the central config database (saved / persistent state). Injected values will go away when the daemon restarts.
> 
>> On Oct 5, 2022, at 6:10 AM, Nicola Mori <mori@xxxxxxxxxx> wrote:
>>
>> Dear Ceph users,
>>
>> I am trying to tune my cluster's recovery and backfill. On the web I found that I can set related tunables by e.g.:
>>
>> ceph tell osd.* injectargs --osd-recovery-sleep-hdd=0.0 
>> --osd-max-backfills=8 --osd-recovery-max-active=8 
>> --osd-recovery-max-single-start=4
>>
>> but I cannot find a way to be sure that the settings have been correctly applied and are being honored. Actually, when querying OSD settings I get e.g.:
>>
>> # ceph config show osd.0 | grep osd_max_backfill
>> osd_max_backfills                                1000 override
>>
>> This does not change even if I try to set just a single property for a single osd:
>>
>> # ceph tell osd.0 injectargs --osd-max-backfills=8 {} 
>> osd_max_backfills = '8' osd_recovery_max_active = '1000'
>> # ceph config show osd.0 | grep osd_max_backfills
>> osd_max_backfills                                1000 override
>>
>> Am I overlooking or doing something wrong?
>> Thanks,
>>
>> Nicola
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an 
>> email to ceph-users-leave@xxxxxxx

--
Nicola Mori, Ph.D.
INFN sezione di Firenze
Via Bruno Rossi 1, 50019 Sesto F.no (Italy)
+390554572660
mori@xxxxxxxxxx
_______________________________________________
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