/ceph-osd-prestart.sh does use the configuration

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

 



I'm using a rpm build directly from ceph, ceph-osd-16.2.1-0.el8.x86_64

I tweaked the configuration with a custom cluster name and custom installation dir

In the unit, there is the configuration:
ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i

And this script check the osd path with an hard coded value:
data="/var/lib/ceph/osd/${cluster:-ceph}-$id"

It doesn't use the key from the configuration file. But using ceph-conf would have solve the problem:

$ CEPH_CONF=/data/ceph/conf/ngceph.conf CLUSTER=ngceph ceph-conf --name osd.1 --show-config-value osd_data
/data/ceph/data/osd/ceph.1

_______________________________________________
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