查看参数用:
ceph daemon osd.0 config get paxos_stash_full_interval
查看osd.0的全部参数:
ceph daemon osd.0 config show
修改参数用:
ceph tell osd.0 injectargs --paxos_stash_full_interval 25
重启服务用:
systemctl restart ceph.target
通过此命令可以查询进程名:
sudo systemctl list-units | grep ceph
利用查到的进程名可以进行重启:
sudo systemctl restart <id>
每次使用cephadm命令,系统都汇报:
Inferring fsid a11f83f0-96fd-11ee-9fb8-ebf793a55198
Inferring config /var/lib/ceph/a11f83f0-96fd-11ee-9fb8-ebf793a55198/mon.node1/config
Using recent ceph image quay.io/ceph/ceph@sha256:c08064dde4bba4e72a1f55d90ca32df9ef5aafab82efe2e0a0722444a5aaacca
这里表明使用了mon.node1的配置文件,并标注了地址