[ceph-users] chown -R on every osd activating

Paul Emmerich paul.emmerich at croit.io
Tue Mar 5 02:04:16 PST 2019


On Tue, Mar 5, 2019 at 10:51 AM Manuel Lausch <manuel.lausch at 1und1.de> wrote:
> Now after rebooting a host I see there is a chown -R ceph:ceph running
> on each OSD before the OSD daemon starts.
>
> This takes a lot of time (-> millions of objects per OSD) and I think
> this is unneccessary on each startup. In my opinion chowning was a case
> with the update from hammer to jewel.
>
> I found this commit:
> https://github.com/ceph/ceph/commit/100f2613a4659b3bd4e550250a41593860118010
>
> Is this intentional or is there a check missing if chown is
> realy neccessary?

This is clearly a bug; it should either have the recursive=False
parameter set or explicitly chown the necessary files.
I think it should be the former.

Please open an issue at http://tracker.ceph.com/

-- 
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

>
> Regards
> Manuel
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


More information about the ceph-users mailing list